From d86e3c989df6ee1c8e291fa26873c3728d7c431b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9ana=20=E6=B1=9F?= Date: Fri, 3 Oct 2025 19:18:32 +0800 Subject: [PATCH] vanadium/autorandr: kill xmobar when switching --- nix/configurations/vanadium/nixos/display.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nix/configurations/vanadium/nixos/display.nix b/nix/configurations/vanadium/nixos/display.nix index 7f6e64c1..7bd85283 100644 --- a/nix/configurations/vanadium/nixos/display.nix +++ b/nix/configurations/vanadium/nixos/display.nix @@ -29,6 +29,7 @@ services.autorandr = { enable = true; hooks.postswitch = { + "10_xmobar" = "pkill xmobar"; # make sure there are no duplicated xmobar "20_xmonad" = "xmonad --restart"; # make sure feh keeps up };