mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 08:53:56 -05:00
reworked sxhkd module
This commit is contained in:
parent
1a84222adb
commit
d8092c47e0
1 changed files with 1 additions and 10 deletions
|
|
@ -108,16 +108,7 @@ in {
|
||||||
pkgs.xclip
|
pkgs.xclip
|
||||||
pkgs.coreutils
|
pkgs.coreutils
|
||||||
];
|
];
|
||||||
systemd.user.services.sxhkd = {
|
services.xserver.displayManager.sessionCommands = "${pkgs.sxhkd}/bin/sxhkd -c ${configFile} &";
|
||||||
description = "sxhkd hotkey daemon";
|
|
||||||
wantedBy = ["graphical-session.target"];
|
|
||||||
partOf = ["graphical-session.target"];
|
|
||||||
serviceConfig = {
|
|
||||||
ExecStart = "${pkgs.sxhkd}/bin/sxhkd -c ${configFile}";
|
|
||||||
RestartSec = 3;
|
|
||||||
Restart = "always";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue