aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2024-10-29 21:40:35 +0100
committerRomain Gonçalves <me@rgoncalves.se>2024-10-29 21:40:35 +0100
commit552b24e6641a342aa347b6fb4994c5c2c08f2615 (patch)
tree85a41ca604a2616377b07104d05670096b56113e
parent0efbb7dc4be93b16a6db754ce34f1c268074e6b2 (diff)
downloaddwm-552b24e6641a342aa347b6fb4994c5c2c08f2615.tar.gz
config.h: discard deprecated x11 commandsHEADtrunk
-rw-r--r--config.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/config.h b/config.h
index 919a098..26efacd 100644
--- a/config.h
+++ b/config.h
@@ -73,8 +73,7 @@ static const char *audio_prev_cmd[] = { ".bin/ag-audio", "prev", NULL };
static const char *audio_play_cmd[] = { ".bin/ag-audio", "play", NULL };
static const char *light_increase_cmd[] = { ".bin/ag-light", "inc", NULL };
static const char *light_decrease_cmd[] = { ".bin/ag-light", "dec", NULL };
-static const char *xorg_config_cmd[] = { ".bin/x11-config", NULL };
-static const char *xorg_screen_cmd[] = { ".bin/x11-screen", NULL };
+static const char *dock_cmd[] = { ".bin/dock", NULL };
static const char *lock_suspend_cmd[] = { ".bin/ag-lock", "-s", NULL };
static const char *lock_cmd[] = { ".bin/ag-lock", NULL };
@@ -118,8 +117,7 @@ static Key keys[] = {
{ MODKEY|ShiftMask, XK_Left, spawn, {.v = audio_prev_cmd } },
{ MODKEY|ShiftMask, XK_Down, spawn, {.v = audio_play_cmd } },
/* commands */
- { MODKEY|ShiftMask, XK_F8, spawn, {.v = xorg_config_cmd } },
- { MODKEY|ShiftMask, XK_F9, spawn, {.v = xorg_screen_cmd } },
+ { MODKEY|ShiftMask, XK_F11, spawn, {.v = dock_cmd } },
{ MODKEY|ShiftMask, XK_F12, spawn, {.v = lock_suspend_cmd } },
{ MODKEY, XK_F12, spawn, {.v = lock_cmd } },
{ MODKEY, XK_Return, spawn, {.v = termcmd } },
remember that computers suck.