changed multimedia controls to support notifications
This commit is contained in:
parent
1d070ae53b
commit
ba3085f348
1 changed files with 8 additions and 8 deletions
|
@ -36,7 +36,7 @@ Font "Noto Sans" Regular 14
|
|||
### Autostart
|
||||
exec_always /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||
exec gammastep-indicator -c ~/.config/sway/gammastep.ini
|
||||
exec mako --background-color "#$backgr" --text-color "#$text" -c ~/.config/sway/mako.conf
|
||||
exec mako --background-color "#$backgr" --text-color "#$text" --progress-color "#$highlight" -c ~/.config/sway/mako.conf
|
||||
# use "xwayland disable" for pure wayland session
|
||||
exec_always xrandr --output XWAYLAND0 --primary
|
||||
exec playerctld daemon
|
||||
|
@ -105,14 +105,14 @@ Font "Noto Sans" Regular 14
|
|||
#
|
||||
# Multimedia keys
|
||||
#
|
||||
# Pulse Audio controls
|
||||
bindsym --locked XF86AudioRaiseVolume exec wpctl set-volume @DEFAULT_SINK@ 5%+ -l 1.2
|
||||
bindsym --locked XF86AudioLowerVolume exec wpctl set-volume @DEFAULT_SINK@ 5%- -l 1.2
|
||||
bindsym --locked XF86AudioMute exec wpctl set-mute @DEFAULT_SINK@ toggle
|
||||
bindsym --locked XF86AudioMicMute exec wpctl set-mute @DEFAULT_SOURCE@ toggle
|
||||
# Audio controls
|
||||
bindsym --locked XF86AudioRaiseVolume exec wpctl set-volume @DEFAULT_SINK@ 0.05+ -l 1.2 && ~/.config/sway/notify.sh --audio
|
||||
bindsym --locked XF86AudioLowerVolume exec wpctl set-volume @DEFAULT_SINK@ 0.05- && ~/.config/sway/notify.sh --audio
|
||||
bindsym --locked XF86AudioMute exec wpctl set-mute @DEFAULT_SINK@ toggle && ~/.config/sway/notify.sh --audio-mute
|
||||
bindsym --locked XF86AudioMicMute exec wpctl set-mute @DEFAULT_SOURCE@ toggle && ~/.config/sway/controls.sh --mic-toggle
|
||||
# Display controls
|
||||
bindsym --locked XF86MonBrightnessDown exec brightnessctl set 5%-
|
||||
bindsym --locked XF86MonBrightnessUp exec brightnessctl set +5%
|
||||
bindsym --locked XF86MonBrightnessDown exec brightnessctl set 5%- -e && ~/.config/sway/notify.sh --brightness
|
||||
bindsym --locked XF86MonBrightnessUp exec brightnessctl set +5% -e && ~/.config/sway/notify.sh --brightness
|
||||
# Media player controls (MPRIS)
|
||||
bindsym --locked XF86AudioPlay exec playerctl play-pause
|
||||
bindsym --locked XF86AudioNext exec playerctl next
|
||||
|
|
Loading…
Reference in a new issue