From 591c0946cffbb63e0378c6e9e227d3e81d9f2edb Mon Sep 17 00:00:00 2001 From: Sravan Balaji Date: Sat, 28 Sep 2024 18:06:39 -0400 Subject: [PATCH] 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) --- README.org | 5 ++--- config.h | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/README.org b/README.org index 0f95cf2..d477c6c 100644 --- a/README.org +++ b/README.org @@ -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 diff --git a/config.h b/config.h index 16dd28b..8db19ee 100644 --- a/config.h +++ b/config.h @@ -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