Adjust waybar startup

- Create a launch script for waybar
- Use waybar launch script in autostart array
- Add a sleep between killing existing waybars
  launching new instance so it hopefully works
  reboot
- Adjust justfile to use launch script
This commit is contained in:
Sravan Balaji
2024-09-29 09:57:52 -04:00
parent 0a0a8f788f
commit 85892f3517
4 changed files with 27 additions and 4 deletions

View File

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