From 552b24e6641a342aa347b6fb4994c5c2c08f2615 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Tue, 29 Oct 2024 21:40:35 +0100 Subject: config.h: discard deprecated x11 commands --- config.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'config.h') 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 } }, -- cgit v1.2.3