hm: add tray.target
This commit is contained in:
parent
8e5b87c86a
commit
2dd6b04b3a
@ -210,6 +210,14 @@
|
|||||||
lockCmd = ''${pkgs.bash}/bin/bash -c "${pkgs.coreutils}/bin/sleep 0.2; ${pkgs.xorg.xset}/bin/xset dpms force off; /run/wrappers/bin/slock"'';
|
lockCmd = ''${pkgs.bash}/bin/bash -c "${pkgs.coreutils}/bin/sleep 0.2; ${pkgs.xorg.xset}/bin/xset dpms force off; /run/wrappers/bin/slock"'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# https://github.com/nix-community/home-manager/issues/2064
|
||||||
|
systemd.user.targets.tray = {
|
||||||
|
Unit = {
|
||||||
|
Description = "Home Manager System Tray";
|
||||||
|
Requires = ["graphical-session-pre.target"];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
# thanks K900
|
# thanks K900
|
||||||
gtk = {
|
gtk = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user