diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2024-10-29 21:40:35 +0100 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2025-02-28 13:18:48 +0100 |
commit | 5b3f70ce04701e7ac6f30746a27f31961eaef3fc (patch) | |
tree | 03b5e8c17f26b665152ea217c571cb2c571a92ba | |
parent | e58c6606e34c03e0cfc8b48c7581202b4b09ebc9 (diff) | |
download | dwm-5b3f70ce04701e7ac6f30746a27f31961eaef3fc.tar.gz |
config.h: discard deprecated x11 commands
-rw-r--r-- | config.h | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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 } }, |