diff options
m--------- | submodules/krops | 0 | ||||
-rw-r--r-- | tv/2configs/xserver/default.nix | 4 | ||||
-rw-r--r-- | tv/3modules/Xresources.nix | 3 |
3 files changed, 5 insertions, 2 deletions
diff --git a/submodules/krops b/submodules/krops -Subproject 5b8fb8dc0ee14672d7fd533bd98635b8725dbb2 +Subproject ee41207df1ce718e0b154ed8047384118a0133a diff --git a/tv/2configs/xserver/default.nix b/tv/2configs/xserver/default.nix index 012caff73..357744533 100644 --- a/tv/2configs/xserver/default.nix +++ b/tv/2configs/xserver/default.nix @@ -72,6 +72,7 @@ in { exec ${xmonad} ''; xmonad-ready = pkgs.writeDash "xmonad-ready" '' + ${pkgs.systemd}/bin/systemd-notify --ready { ${pkgs.xorg.xhost}/bin/xhost +SI:localuser:${cfg.user.name} ${pkgs.xorg.xhost}/bin/xhost -LOCAL: @@ -119,6 +120,9 @@ in { SyslogIdentifier = "xmonad"; User = cfg.user.name; WorkingDirectory = cfg.user.home; + + NotifyAccess = "all"; + Type = "notify"; }; }; diff --git a/tv/3modules/Xresources.nix b/tv/3modules/Xresources.nix index 983b8bc2e..ce7ac9ac2 100644 --- a/tv/3modules/Xresources.nix +++ b/tv/3modules/Xresources.nix @@ -21,8 +21,7 @@ in { }); systemd.services.${if cfg.enable then "Xresources" else null} = { wantedBy = [ "graphical.target" ]; - after = [ "xserver.service" ]; - requires = [ "xserver.service" ]; + after = [ "xmonad.service" ]; environment = { DISPLAY = ":${toString config.services.xserver.display}"; }; |