From f2a2a2e7802eed97a9089301d425fcb09cf65596 Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Wed, 24 Sep 2025 12:41:18 +0200 Subject: [PATCH] feat(hyprland): fix waybar not working. --- modules/linux/home-manager/hyprland.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/linux/home-manager/hyprland.nix b/modules/linux/home-manager/hyprland.nix index 88157b6..764bcc5 100644 --- a/modules/linux/home-manager/hyprland.nix +++ b/modules/linux/home-manager/hyprland.nix @@ -132,10 +132,10 @@ in { exec = [ # Fix laptop monitor getting turned on while my external monitor connected "hyprctl monitors | grep 'HDMI' && hyprctl keyword monitor 'eDP-1, disable'" + "pkill waybar; waybar" # Kill waybar and start new instance because everytime hyprland restarts breaks waybar ]; exec-once = [ - "waybar" # Start waybar on start "wl-paste --type text --watch cliphist store" # Stores only text data "wl-paste --type image --watch cliphist store" # Stores only image data "keepassxc" # Startup my password manager