reworked sxhkd module

This commit is contained in:
Gerg-L 2023-03-07 20:20:37 -05:00
parent 1a84222adb
commit d8092c47e0

View file

@ -108,16 +108,7 @@ in {
pkgs.xclip
pkgs.coreutils
];
systemd.user.services.sxhkd = {
description = "sxhkd hotkey daemon";
wantedBy = ["graphical-session.target"];
partOf = ["graphical-session.target"];
serviceConfig = {
ExecStart = "${pkgs.sxhkd}/bin/sxhkd -c ${configFile}";
RestartSec = 3;
Restart = "always";
};
};
services.xserver.displayManager.sessionCommands = "${pkgs.sxhkd}/bin/sxhkd -c ${configFile} &";
}
)
];