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

8
waybar/launch.sh Executable file
View File

@@ -0,0 +1,8 @@
#!/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 &