From 8ebb0bb4e92fcb5ab63650053d2a467613050ec2 Mon Sep 17 00:00:00 2001 From: Alexander Heldt Date: Fri, 12 Jul 2024 10:10:36 +0200 Subject: [PATCH] pinwheel: Add `waybar` to PATH and start it in subshell To avoid having the monitor managing script fail due to waybar errors --- hosts/pinwheel/modules/hyprland/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hosts/pinwheel/modules/hyprland/default.nix b/hosts/pinwheel/modules/hyprland/default.nix index 9387782..4c4fbb7 100644 --- a/hosts/pinwheel/modules/hyprland/default.nix +++ b/hosts/pinwheel/modules/hyprland/default.nix @@ -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)