Some minor improvements

This commit is contained in:
Tibo De Peuter 2022-06-19 23:57:16 +02:00
parent 6a9f632787
commit 35c304ddd2

View file

@ -8,6 +8,7 @@ set {
$alt Mod1
$flag Mod4
$term alacritty
$notify ~/.scripts/notify.sh
}
# Focus
@ -135,10 +136,10 @@ bindsym --locked {
XF86MonBrightnessDown exec brightnessctl -e s 5%- && $notify -b
XF86MonBrightnessUp exec brightnessctl -e s +5% && $notify -b
# Volume control
XF86AudioRaiseVolume exec pulsemixer --change-volume +2 --max-volume 100 && $notify -v
XF86AudioLowerVolume exec pulsemixer --change-volume -2 && $notify -v
XF86AudioMute exec pulsemixer --toggle-mute && $notify -v
# Volume control (Pulsemixer is slow!)
XF86AudioRaiseVolume exec pamixer -i 2 --set-limit 100 && $notify -v
XF86AudioLowerVolume exec pamixer -d 2 && $notify -v
XF86AudioMute exec pamixer -t && $notify -v
XF86AudioMicMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle
# Media control
@ -152,7 +153,6 @@ set $fzf ~/.scripts/fzf-jump
bindsym {
# Reload sway
$alt+Shift+r reload
# Dialog to exit sway
$alt+Shift+e exec swaynag -t warning -m 'Do you really want to exit sway?' \
-B 'Yes, exit sway' 'swaymsg exit'