feat(hyprland): add keybinds for audio controls
This commit is contained in:
parent
873611b155
commit
8a19c9cf00
1 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
environment.loginShellInit = # sh
|
environment.loginShellInit = # sh
|
||||||
''
|
''
|
||||||
|
@ -113,13 +114,17 @@
|
||||||
# H and L to move between workspaces on the current monitor including creation
|
# H and L to move between workspaces on the current monitor including creation
|
||||||
"$mainMod_CTRL, H, workspace, r-1"
|
"$mainMod_CTRL, H, workspace, r-1"
|
||||||
"$mainMod_CTRL, L, workspace, r+1"
|
"$mainMod_CTRL, L, workspace, r+1"
|
||||||
|
|
||||||
|
"SUPER, 7, exec, ${pkgs.playerctl}/bin/playerctl previous"
|
||||||
|
"SUPER, 8, exec, ${pkgs.playerctl}/bin/playerctl play-pause"
|
||||||
|
"SUPER, 9, exec, ${pkgs.playerctl}/bin/playerctl next"
|
||||||
];
|
];
|
||||||
|
|
||||||
# Repeat when held
|
# Repeat when held
|
||||||
bindle = [
|
bindle = [
|
||||||
# Keyboard Media Keys
|
# Keyboard Media Keys
|
||||||
", XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 5%+"
|
"SUPER, equal, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 5%+"
|
||||||
", XF86AudioLowerVolume, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 5%-"
|
"SUPER, minus, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 5%-"
|
||||||
];
|
];
|
||||||
|
|
||||||
bindm = [
|
bindm = [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue