playerctl: shorten playerctl var
parent
c5ae0732e4
commit
74054316b1
|
@ -43,13 +43,13 @@ in
|
||||||
|
|
||||||
services.sxhkd =
|
services.sxhkd =
|
||||||
let
|
let
|
||||||
playerctlcmd = "${pkgs.playerctl}/bin/playerctl";
|
playerctl = "${pkgs.playerctl}/bin/playerctl";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
keybindings = {
|
keybindings = {
|
||||||
"XF86AudioPlay" = "${playerctlcmd} play-pause";
|
"XF86AudioPlay" = "${playerctl} play-pause";
|
||||||
"XF86AudioPrev" = "${playerctlcmd} previous";
|
"XF86AudioPrev" = "${playerctl} previous";
|
||||||
"XF86AudioNext" = "${playerctlcmd} next";
|
"XF86AudioNext" = "${playerctl} next";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue