Compare commits

...

2 Commits

Author SHA1 Message Date
Sravan Balaji
3609061178 Spoof dwl as sway in env var so flameshot works 2024-09-28 18:26:48 -04:00
Sravan Balaji
591c0946cf 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)
2024-09-28 18:09:02 -04:00
2 changed files with 6 additions and 8 deletions

View File

@@ -266,7 +266,7 @@ static const Env envs[] = {
{ "BROWSER", "vivaldi-stable" }, { "BROWSER", "vivaldi-stable" },
{ "QT_QPA_PLATFORMTHEME", "qt6ct" }, { "QT_QPA_PLATFORMTHEME", "qt6ct" },
{ "_JAVA_AWT_WM_NONREPARENTING", "1" }, { "_JAVA_AWT_WM_NONREPARENTING", "1" },
{ "XDG_CURRENT_DESKTOP", "wlroots" }, { "XDG_CURRENT_DESKTOP", "sway" },
}; };
#endif // SETUPENV_PATCH #endif // SETUPENV_PATCH
#+END_SRC #+END_SRC
@@ -283,7 +283,6 @@ static const char *const autostart[] = {
"/usr/bin/gammastep", "-x", NULL, "/usr/bin/gammastep", "-x", NULL,
/* Background Processes */ /* Background Processes */
"/usr/bin/swhks", NULL, "/usr/bin/swhks", NULL,
"/usr/bin/swhkd", NULL,
"/usr/libexec/polkit-gnome-authentication-agent-1", NULL, "/usr/libexec/polkit-gnome-authentication-agent-1", NULL,
"/usr/bin/kdeconnectd", "--replace", NULL, "/usr/bin/kdeconnectd", "--replace", NULL,
"/usr/bin/bash", "/home/sravan/.scripts/dunst.sh", "--on", 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[] = { static const Key keys[] = {
/* Note that Shift changes certain key codes: c -> C, 2 -> at, etc. */ /* Note that Shift changes certain key codes: c -> C, 2 -> at, etc. */
/* modifier key function argument */ /* modifier key function argument */
{ MODKEY, XKB_KEY_p, spawn, {.v = menucmd} }, /* { MODKEY, XKB_KEY_p, spawn, {.v = menucmd} },
{ MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_Return, spawn, {.v = termcmd} }, { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_Return, spawn, {.v = termcmd} }, */
#if IPC_PATCH #if IPC_PATCH
{ MODKEY, XKB_KEY_b, togglebar, {0} }, { MODKEY, XKB_KEY_b, togglebar, {0} },
#endif // IPC_PATCH #endif // IPC_PATCH

View File

@@ -41,7 +41,7 @@ static const Env envs[] = {
{ "BROWSER", "vivaldi-stable" }, { "BROWSER", "vivaldi-stable" },
{ "QT_QPA_PLATFORMTHEME", "qt6ct" }, { "QT_QPA_PLATFORMTHEME", "qt6ct" },
{ "_JAVA_AWT_WM_NONREPARENTING", "1" }, { "_JAVA_AWT_WM_NONREPARENTING", "1" },
{ "XDG_CURRENT_DESKTOP", "wlroots" }, { "XDG_CURRENT_DESKTOP", "sway" },
}; };
#endif // SETUPENV_PATCH #endif // SETUPENV_PATCH
@@ -54,7 +54,6 @@ static const char *const autostart[] = {
"/usr/bin/gammastep", "-x", NULL, "/usr/bin/gammastep", "-x", NULL,
/* Background Processes */ /* Background Processes */
"/usr/bin/swhks", NULL, "/usr/bin/swhks", NULL,
"/usr/bin/swhkd", NULL,
"/usr/libexec/polkit-gnome-authentication-agent-1", NULL, "/usr/libexec/polkit-gnome-authentication-agent-1", NULL,
"/usr/bin/kdeconnectd", "--replace", NULL, "/usr/bin/kdeconnectd", "--replace", NULL,
"/usr/bin/bash", "/home/sravan/.scripts/dunst.sh", "--on", 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[] = { static const Key keys[] = {
/* Note that Shift changes certain key codes: c -> C, 2 -> at, etc. */ /* Note that Shift changes certain key codes: c -> C, 2 -> at, etc. */
/* modifier key function argument */ /* modifier key function argument */
{ MODKEY, XKB_KEY_p, spawn, {.v = menucmd} }, /* { MODKEY, XKB_KEY_p, spawn, {.v = menucmd} },
{ MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_Return, spawn, {.v = termcmd} }, { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_Return, spawn, {.v = termcmd} }, */
#if IPC_PATCH #if IPC_PATCH
{ MODKEY, XKB_KEY_b, togglebar, {0} }, { MODKEY, XKB_KEY_b, togglebar, {0} },
#endif // IPC_PATCH #endif // IPC_PATCH