Add play-pause keybind
This commit is contained in:
parent
fce0736791
commit
a7f797ee0d
1 changed files with 2 additions and 0 deletions
|
@ -125,6 +125,7 @@ let
|
||||||
riverctl map normal None XF86AudioRaiseVolume spawn '${pkgs.pamixer}/bin/pamixer -i 5'
|
riverctl map normal None XF86AudioRaiseVolume spawn '${pkgs.pamixer}/bin/pamixer -i 5'
|
||||||
riverctl map normal None XF86AudioLowerVolume spawn '${pkgs.pamixer}/bin/pamixer -d 5'
|
riverctl map normal None XF86AudioLowerVolume spawn '${pkgs.pamixer}/bin/pamixer -d 5'
|
||||||
riverctl map normal None XF86AudioMute spawn '${pkgs.pamixer}/bin/pamixer --toggle-mute'
|
riverctl map normal None XF86AudioMute spawn '${pkgs.pamixer}/bin/pamixer --toggle-mute'
|
||||||
|
riverctl map normal None XF86AudioPlay spawn '${pkgs.playerctl}/bin/playerctl play-pause'
|
||||||
riverctl map normal None XF86MonBrightnessDown spawn '${pkgs.brightnessctl}/bin/brightnessctl s -- -5%'
|
riverctl map normal None XF86MonBrightnessDown spawn '${pkgs.brightnessctl}/bin/brightnessctl s -- -5%'
|
||||||
riverctl map normal None XF86MonBrightnessUp spawn '${pkgs.brightnessctl}/bin/brightnessctl s -- +5%'
|
riverctl map normal None XF86MonBrightnessUp spawn '${pkgs.brightnessctl}/bin/brightnessctl s -- +5%'
|
||||||
|
|
||||||
|
@ -416,6 +417,7 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
font = "Hack Regular 9";
|
font = "Hack Regular 9";
|
||||||
};
|
};
|
||||||
|
playerctld.enable = true;
|
||||||
swayidle = {
|
swayidle = {
|
||||||
enable = true;
|
enable = true;
|
||||||
systemdTarget = "river-session.target";
|
systemdTarget = "river-session.target";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue