From 1609457bf143306959c6d2515d6c4e592b11adeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sat, 27 Jul 2019 09:04:56 +0100 Subject: [PATCH] Reset notifications on resolution change --- nixos/user-xsession.nix | 7 +++++++ 1 file changed, 7 insertions(+) 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 = {