diff options
| -rw-r--r-- | .xinitrc | 17 | ||||
| -rwxr-xr-x | dwm/config.h | 2 | ||||
| -rwxr-xr-x | dwm/dwm | bin | 72928 -> 73000 bytes | |||
| -rw-r--r-- | dwm/dwm.o | bin | 58976 -> 59200 bytes |
4 files changed, 2 insertions, 17 deletions
diff --git a/.xinitrc b/.xinitrc deleted file mode 100644 index a0ba73b..0000000 --- a/.xinitrc +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -while true -do - status_name="`date` `uptime | sed 's/.*,//'`" - - # Set the status - xsetroot -name "$status_name" - - sleep 1 -done & -nvidia-settings -l -feh --bg-fill /home/cori/Pictures/mountain-landscape-5120x2880-24317.jpg -xset -dpms -xset s off - -exec dwm diff --git a/dwm/config.h b/dwm/config.h index 39b91b5..5b9f1c1 100755 --- a/dwm/config.h +++ b/dwm/config.h @@ -66,6 +66,7 @@ static const char *xlockmodes[] = { "spiral", "space", "helix", "grav" }; static const char *lockcmd[] = { "xlock", "-mode", NULL, NULL }; static const char *brightnessupcmd[] = { "brightnessctl", "s", "+10%", NULL }; static const char *brightnessdowncmd[] = { "brightnessctl", "s", "10%-", NULL }; +static const char *playpausecmd[] = { "playerctl", "play-pause", NULL }; static const Key keys[] = { /* modifier key function argument */ @@ -106,6 +107,7 @@ static const Key keys[] = { { MODKEY|ShiftMask, XK_q, quit, {0} }, { 0, XF86XK_MonBrightnessUp, spawn, {.v = brightnessupcmd } }, { 0, XF86XK_MonBrightnessDown, spawn, {.v = brightnessdowncmd } }, + { 0, XF86XK_AudioPlay, spawn, {.v = playpausecmd } }, }; /* button definitions */ Binary files differBinary files differ |
