summaryrefslogtreecommitdiffstats
path: root/tv
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2019-04-25 03:32:35 +0200
committertv <tv@krebsco.de>2019-04-25 03:32:35 +0200
commite48a8c8beacbdd51580839b362b4bd90ce264277 (patch)
treea06854f7d4c041077e3c2f9aa3498f48b2974579 /tv
parent73e89ece549bad03d97326cc94e9ba59a762d298 (diff)
tv xmonad: Type = notify
Diffstat (limited to 'tv')
-rw-r--r--tv/2configs/xserver/default.nix4
1 files changed, 4 insertions, 0 deletions
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";
};
};