swhkd Keybindings / Autostart Changes

- Remove swhkd from autostart
  (needs to run as root via systemd service)
- Comment out menu and term keybindings (using swhkd instead)
This commit is contained in:
Sravan Balaji
2024-09-28 18:06:39 -04:00
parent 5b32793886
commit 591c0946cf
2 changed files with 4 additions and 6 deletions

View File

@@ -283,7 +283,6 @@ static const char *const autostart[] = {
"/usr/bin/gammastep", "-x", NULL,
/* Background Processes */
"/usr/bin/swhks", NULL,
"/usr/bin/swhkd", NULL,
"/usr/libexec/polkit-gnome-authentication-agent-1", NULL,
"/usr/bin/kdeconnectd", "--replace", NULL,
"/usr/bin/bash", "/home/sravan/.scripts/dunst.sh", "--on", NULL,
@@ -442,8 +441,8 @@ static const char *menucmd[] = { "rofi", "-show", "combi", NULL };
static const Key keys[] = {
/* Note that Shift changes certain key codes: c -> C, 2 -> at, etc. */
/* modifier key function argument */
{ MODKEY, XKB_KEY_p, spawn, {.v = menucmd} },
{ MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_Return, spawn, {.v = termcmd} },
/* { MODKEY, XKB_KEY_p, spawn, {.v = menucmd} },
{ MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_Return, spawn, {.v = termcmd} }, */
#if IPC_PATCH
{ MODKEY, XKB_KEY_b, togglebar, {0} },
#endif // IPC_PATCH

View File

@@ -54,7 +54,6 @@ static const char *const autostart[] = {
"/usr/bin/gammastep", "-x", NULL,
/* Background Processes */
"/usr/bin/swhks", NULL,
"/usr/bin/swhkd", NULL,
"/usr/libexec/polkit-gnome-authentication-agent-1", NULL,
"/usr/bin/kdeconnectd", "--replace", NULL,
"/usr/bin/bash", "/home/sravan/.scripts/dunst.sh", "--on", NULL,
@@ -185,8 +184,8 @@ static const char *menucmd[] = { "rofi", "-show", "combi", NULL };
static const Key keys[] = {
/* Note that Shift changes certain key codes: c -> C, 2 -> at, etc. */
/* modifier key function argument */
{ MODKEY, XKB_KEY_p, spawn, {.v = menucmd} },
{ MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_Return, spawn, {.v = termcmd} },
/* { MODKEY, XKB_KEY_p, spawn, {.v = menucmd} },
{ MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_Return, spawn, {.v = termcmd} }, */
#if IPC_PATCH
{ MODKEY, XKB_KEY_b, togglebar, {0} },
#endif // IPC_PATCH