setup media keys
This commit is contained in:
parent
af9ddecee3
commit
8f5b75ea18
|
@ -19,6 +19,7 @@ in
|
|||
nicotine-plus
|
||||
irisDesktopItem
|
||||
picard
|
||||
mpc-cli
|
||||
];
|
||||
# Mopidy service
|
||||
# TODO: Add scrobbling
|
||||
|
|
|
@ -154,6 +154,14 @@ with lib;
|
|||
"${modifer}+Ctrl+x" = "exec ${pkgs.sway-contrib.grimshot}/bin/grimshot copy window";
|
||||
# Clpy entire output to clipboard
|
||||
"${modifer}+Alt+x" = "exec ${pkgs.sway-contrib.grimshot}/bin/grimshot copy output";
|
||||
# Make the mute key work
|
||||
"XF86AudioMute" = "exec pactl set-sink-mute @DEFAULT_SINK@ toggle";
|
||||
# Make the volume keys work
|
||||
"XF86AudioRaiseVolume" = "exec pactl set-sink-volume @DEFAULT_SINK@ +5%";
|
||||
"XF86AudioLowerVolume" = "exec pactl set-sink-volume @DEFAULT_SINK@ -5%";
|
||||
# Play/pause and next song
|
||||
"XF86AudioPlay" = "exec mpc toggle";
|
||||
"XF86AudioNext" = "exec mpc next";
|
||||
};
|
||||
# Startup applications
|
||||
startup = [
|
||||
|
|
Loading…
Reference in New Issue