Compare commits

..

6 Commits

Author SHA1 Message Date
Sravan Balaji
f4f5234990 Remove flameshot from autostart (switching to swappy) 2024-09-28 20:07:46 -04:00
Sravan Balaji
fb69bfbff2 Remove swhks from autostart (use systemd user service instead) 2024-09-28 19:34:00 -04:00
Sravan Balaji
8f3371bbbc Add term and menu keybindings back 2024-09-28 19:15:36 -04:00
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
Sravan Balaji
5b32793886 Add swhkd startup processes to autostart 2024-09-28 15:28:28 -04:00
4 changed files with 8 additions and 31 deletions

View File

@@ -36,7 +36,6 @@
- [[#commands][Commands]] - [[#commands][Commands]]
- [[#buttons][Buttons]] - [[#buttons][Buttons]]
- [[#waybar][Waybar]] - [[#waybar][Waybar]]
- [[#launch-script][Launch Script]]
- [[#start-configuration][Start Configuration]] - [[#start-configuration][Start Configuration]]
- [[#bar][Bar]] - [[#bar][Bar]]
- [[#configuration-1][Configuration]] - [[#configuration-1][Configuration]]
@@ -267,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
@@ -279,6 +278,7 @@ static const Env envs[] = {
static const char *const autostart[] = { static const char *const autostart[] = {
/* Display / Compositor Setup */ /* Display / Compositor Setup */
"/usr/bin/shikane", NULL, "/usr/bin/shikane", NULL,
"/usr/bin/waybar", "-c", "/home/sravan/.config/dwl/waybar/config.jsonc", "-s", "/home/sravan/.config/dwl/waybar/style.css", NULL,
"/usr/bin/bash", "/home/sravan/.azotebg", NULL, "/usr/bin/bash", "/home/sravan/.azotebg", NULL,
"/usr/bin/gammastep", "-x", NULL, "/usr/bin/gammastep", "-x", NULL,
/* Background Processes */ /* Background Processes */
@@ -293,8 +293,6 @@ static const char *const autostart[] = {
"/usr/bin/nm-applet", NULL, "/usr/bin/nm-applet", NULL,
"/usr/bin/kdeconnect-indicator", NULL, "/usr/bin/kdeconnect-indicator", NULL,
"/usr/bin/udiskie", "-a", "-n", "-s", NULL, "/usr/bin/udiskie", "-a", "-n", "-s", NULL,
/* Status Bar */
"/usr/bin/sh", "-c", "/home/sravan/.config/dwl/waybar/launch.sh", NULL,
/* GUI Applications */ /* GUI Applications */
"/usr/bin/nextcloud", NULL, "/usr/bin/nextcloud", NULL,
"/usr/bin/syncthing-gtk", NULL, "/usr/bin/syncthing-gtk", NULL,
@@ -519,18 +517,6 @@ static const Button buttons[] = {
* Waybar * Waybar
** Launch Script
#+BEGIN_SRC shell :shebang #!/usr/bin/env bash :tangle waybar/launch.sh
killall waybar
sleep 5
/usr/bin/waybar \
-c $HOME/.config/dwl/waybar/config.jsonc \
-s $HOME/.config/dwl/waybar/style.css &
#+END_SRC
** Start Configuration ** Start Configuration
#+BEGIN_SRC jsonc :tangle waybar/config.jsonc #+BEGIN_SRC jsonc :tangle waybar/config.jsonc
@@ -810,5 +796,5 @@ dwl-rebuild:
# Run waybar with dwl configuration # Run waybar with dwl configuration
dwl-launch-waybar: dwl-launch-waybar:
./waybar/launch.sh /usr/bin/waybar -c /home/sravan/.config/dwl/waybar/config.jsonc -s /home/sravan/.config/dwl/waybar/style.css
#+END_SRC #+END_SRC

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
@@ -49,6 +49,7 @@ static const Env envs[] = {
static const char *const autostart[] = { static const char *const autostart[] = {
/* Display / Compositor Setup */ /* Display / Compositor Setup */
"/usr/bin/shikane", NULL, "/usr/bin/shikane", NULL,
"/usr/bin/waybar", "-c", "/home/sravan/.config/dwl/waybar/config.jsonc", "-s", "/home/sravan/.config/dwl/waybar/style.css", NULL,
"/usr/bin/bash", "/home/sravan/.azotebg", NULL, "/usr/bin/bash", "/home/sravan/.azotebg", NULL,
"/usr/bin/gammastep", "-x", NULL, "/usr/bin/gammastep", "-x", NULL,
/* Background Processes */ /* Background Processes */
@@ -63,8 +64,6 @@ static const char *const autostart[] = {
"/usr/bin/nm-applet", NULL, "/usr/bin/nm-applet", NULL,
"/usr/bin/kdeconnect-indicator", NULL, "/usr/bin/kdeconnect-indicator", NULL,
"/usr/bin/udiskie", "-a", "-n", "-s", NULL, "/usr/bin/udiskie", "-a", "-n", "-s", NULL,
/* Status Bar */
"/usr/bin/sh", "-c", "/home/sravan/.config/dwl/waybar/launch.sh", NULL,
/* GUI Applications */ /* GUI Applications */
"/usr/bin/nextcloud", NULL, "/usr/bin/nextcloud", NULL,
"/usr/bin/syncthing-gtk", NULL, "/usr/bin/syncthing-gtk", NULL,

View File

@@ -10,4 +10,4 @@ dwl-rebuild:
# Run waybar with dwl configuration # Run waybar with dwl configuration
dwl-launch-waybar: dwl-launch-waybar:
./waybar/launch.sh /usr/bin/waybar -c /home/sravan/.config/dwl/waybar/config.jsonc -s /home/sravan/.config/dwl/waybar/style.css

View File

@@ -1,8 +0,0 @@
#!/usr/bin/env bash
killall waybar
sleep 5
/usr/bin/waybar \
-c $HOME/.config/dwl/waybar/config.jsonc \
-s $HOME/.config/dwl/waybar/style.css &