Compare commits

..

No commits in common. "773852b310d9abff9fe3cac1d4cbadf19a60718b" and "971420fd323e8e70bcd1b8811e635ef6b1e1a186" have entirely different histories.

1 changed files with 4 additions and 18 deletions

View File

@ -10,32 +10,18 @@ in
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
services.playerctld.enable = true; services.playerctld.enable = true;
xsession.enable = true;
home.packages = with pkgs; [ home.packages = with pkgs; [
playerctl playerctl
]; ];
systemd.user.services.sxhkd = {
Unit = {
Description = "sxhkd service";
PartOf = [ "graphical-session.target" ];
};
Service = {
Type = "exec";
ExecStart = "${pkgs.sxhkd}/bin/sxhkd";
};
Install = {
WantedBy = [ "graphical-session.target" ];
};
};
services.sxhkd = { services.sxhkd = {
enable = true; enable = true;
keybindings = { keybindings = {
"XF86AudioPlay" = "${pkgs.playerctl}/bin/playerctl play-pause"; "XF86AudioPlay" = "playerctl play-pause";
"XF86AudioPrev" = "${pkgs.playerctl}/bin/playerctl previous"; "XF86AudioPrev" = "playerctl previous";
"XF86AudioNext" = "${pkgs.playerctl}/bin/playerctl next"; "XF86AudioNext" = "playerctl next";
}; };
}; };
}; };