pinwheel: Add waybar to PATH and start it in subshell
To avoid having the monitor managing script fail due to waybar errors
This commit is contained in:
@@ -175,6 +175,7 @@ in
|
||||
|
||||
path = [
|
||||
pkgs.procps # to include `pkill`
|
||||
pkgs.waybar
|
||||
pkgs.hyprland
|
||||
pkgs.socat
|
||||
pkgs.jq
|
||||
@@ -196,7 +197,7 @@ in
|
||||
''
|
||||
update() {
|
||||
# waybar is buggy and duplicates workspaces somtimes
|
||||
pkill waybar && waybar & disown
|
||||
$(pkill waybar; waybar & disown)
|
||||
|
||||
HDMI_STATUS=$(cat /sys/class/drm/card1-HDMI-A-1/status)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user