Compare commits
No commits in common. "0079705dd1b9ac3bc67ddaae00a223c01532f69b" and "4e495a907d0e1e7538b4de2003c011617b00dfa6" have entirely different histories.
0079705dd1
...
4e495a907d
2 changed files with 0 additions and 29 deletions
|
@ -1,28 +0,0 @@
|
||||||
{ lib, config, pkgs, ... }:
|
|
||||||
|
|
||||||
let
|
|
||||||
cfg = config.snowhawk.playerctl;
|
|
||||||
in
|
|
||||||
{
|
|
||||||
options.snowhawk.playerctl = {
|
|
||||||
enable = lib.mkEnableOption "playerctl";
|
|
||||||
};
|
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
|
||||||
services.playerctld.enable = true;
|
|
||||||
xsession.enable = true;
|
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
playerctl
|
|
||||||
];
|
|
||||||
|
|
||||||
services.sxhkd = {
|
|
||||||
enable = true;
|
|
||||||
keybindings = {
|
|
||||||
"XF86AudioPlay" = "playerctl play-pause";
|
|
||||||
"XF86AudioPrev" = "playerctl previous";
|
|
||||||
"XF86AudioNext" = "playerctl next";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -20,7 +20,6 @@ in
|
||||||
dunst.enable = true;
|
dunst.enable = true;
|
||||||
sops.enable = true;
|
sops.enable = true;
|
||||||
ssh.enable = true;
|
ssh.enable = true;
|
||||||
playerctl.enable = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
xsession.numlock.enable = true;
|
xsession.numlock.enable = true;
|
||||||
|
|
Loading…
Reference in a new issue