From a71809394a342b9b046379dabdc793885918d5c1 Mon Sep 17 00:00:00 2001 From: Alexander Heldt Date: Wed, 17 Jul 2024 10:51:26 +0200 Subject: [PATCH] pinwheel: Don't restart `waybar` from `hyprland`s monitor manager As it breaks the manager script, which breaks `waybar` and the script --- hosts/pinwheel/modules/hyprland/default.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/hosts/pinwheel/modules/hyprland/default.nix b/hosts/pinwheel/modules/hyprland/default.nix index 4c4fbb7..8ffe192 100644 --- a/hosts/pinwheel/modules/hyprland/default.nix +++ b/hosts/pinwheel/modules/hyprland/default.nix @@ -174,7 +174,7 @@ in after = [ "graphical-session.target" ]; path = [ - pkgs.procps # to include `pkill` + pkgs.coreutils # to include `cat` pkgs.waybar pkgs.hyprland pkgs.socat @@ -196,9 +196,6 @@ in in '' update() { - # waybar is buggy and duplicates workspaces somtimes - $(pkill waybar; waybar & disown) - HDMI_STATUS=$(cat /sys/class/drm/card1-HDMI-A-1/status) INTERNAL_WIDTH=1920