pinwheel: Don't restart waybar from hyprlands monitor manager

As it breaks the manager script, which breaks `waybar` and the script
This commit is contained in:
Alexander Heldt
2024-07-17 10:51:26 +02:00
parent 522b8318be
commit a71809394a

View File

@@ -174,7 +174,7 @@ in
after = [ "graphical-session.target" ]; after = [ "graphical-session.target" ];
path = [ path = [
pkgs.procps # to include `pkill` pkgs.coreutils # to include `cat`
pkgs.waybar pkgs.waybar
pkgs.hyprland pkgs.hyprland
pkgs.socat pkgs.socat
@@ -196,9 +196,6 @@ in
in in
'' ''
update() { update() {
# waybar is buggy and duplicates workspaces somtimes
$(pkill waybar; waybar & disown)
HDMI_STATUS=$(cat /sys/class/drm/card1-HDMI-A-1/status) HDMI_STATUS=$(cat /sys/class/drm/card1-HDMI-A-1/status)
INTERNAL_WIDTH=1920 INTERNAL_WIDTH=1920