replace pamixer with wpctl, remove $pctl

This commit is contained in:
timoxa0 2025-01-11 23:57:25 +05:00
parent 3f75bdf61c
commit 191eff1dc6
2 changed files with 6 additions and 7 deletions

View file

@ -19,12 +19,12 @@ bind = SUPER, Prior, exec, $sshot window
bind = SUPER, Next, exec, $sshot output
bind = SUPER Ctrl, Q, exec, $locker
bind = , XF86AudioPlay, exec, $pctl play-pause
bind = , XF86AudioNext, exec, $pctl next
bind = , XF86AudioPrev, exec, $pctl previous
bind = , XF86AudioMute, exec, pamixer -t
bind = , XF86AudioRaiseVolume, exec, pamixer -i 2
bind = , XF86AudioLowerVolume, exec, pamixer -d 2
bind = , XF86AudioPlay, exec, playerctl play-pause
bind = , XF86AudioNext, exec, playerctl next
bind = , XF86AudioPrev, exec, playerctl previous
bind = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bind = , XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 2%+
bind = , XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 2%-
bind = SUPER, left, movefocus, l
bind = SUPER, right, movefocus, r

View file

@ -6,7 +6,6 @@ $menu = rofi -show drun
$browser = zen-browser
$discord = vesktop
$telegram = telegram-desktop
$pctl = playerctl
$sshot = hyprshot -o ~/Pictures/Screenshots/ -z -m
$locker = loginctl lock-session