diff --git a/nixos/user-xsession.nix b/nixos/user-xsession.nix index bfb57377..ea7a09ed 100644 --- a/nixos/user-xsession.nix +++ b/nixos/user-xsession.nix @@ -73,6 +73,13 @@ in programs.autorandr = { enable = true; + hooks = { + postswitch = { + "restart-polybar" = "systemctl --user restart polybar"; + "restart-kde-connect-indicator" = "systemctl --user restart kdeconnect-indicator"; + }; + }; + profiles = { "foureighty-alone" = { fingerprint = {