desktop: play/pause button
parent
47b8ac7798
commit
e8b79f68a2
|
@ -81,6 +81,8 @@ in {
|
|||
"XF86AudioLowerVolume" = exec alsaUtils "amixer set Master 1%-";
|
||||
"XF86AudioRaiseVolume" = exec alsaUtils "amixer set Master 1%+";
|
||||
"XF86AudioMute" = exec alsaUtils "amixer set Master toggle";
|
||||
"XF86AudioPause" = "exec playerctl pause";
|
||||
"XF86AudioPlay" = "exec playerctl play";
|
||||
"${mod}+Shift+s" = exec bin.screenshot_public "screenshot_public >> ~/screenshot-public.log";
|
||||
"Print" = exec bin.screenshot_public "screenshot_public";
|
||||
"${mod}+Shift+t" =
|
||||
|
|
|
@ -145,10 +145,15 @@ in {
|
|||
player = mpv --cache 2048
|
||||
default-stream = best
|
||||
'';
|
||||
programs.mpv = {
|
||||
enable = true;
|
||||
scripts = [ pkgs.mpvScripts.mpris ];
|
||||
};
|
||||
services.gpg-agent = {
|
||||
enable = true;
|
||||
enableSshSupport = true;
|
||||
};
|
||||
services.playerctld.enable = true;
|
||||
home.packages = (with pkgs; [
|
||||
## utils
|
||||
# afew
|
||||
|
@ -196,7 +201,6 @@ in {
|
|||
## media
|
||||
aria2
|
||||
castnow
|
||||
mpv
|
||||
nodePackages.peerflix
|
||||
streamlink
|
||||
yt-dlp
|
||||
|
|
Loading…
Reference in New Issue