Some minor improvements
This commit is contained in:
parent
6a9f632787
commit
35c304ddd2
1 changed files with 7 additions and 7 deletions
|
@ -8,6 +8,7 @@ set {
|
||||||
$alt Mod1
|
$alt Mod1
|
||||||
$flag Mod4
|
$flag Mod4
|
||||||
$term alacritty
|
$term alacritty
|
||||||
|
$notify ~/.scripts/notify.sh
|
||||||
}
|
}
|
||||||
|
|
||||||
# Focus
|
# Focus
|
||||||
|
@ -135,10 +136,10 @@ bindsym --locked {
|
||||||
XF86MonBrightnessDown exec brightnessctl -e s 5%- && $notify -b
|
XF86MonBrightnessDown exec brightnessctl -e s 5%- && $notify -b
|
||||||
XF86MonBrightnessUp exec brightnessctl -e s +5% && $notify -b
|
XF86MonBrightnessUp exec brightnessctl -e s +5% && $notify -b
|
||||||
|
|
||||||
# Volume control
|
# Volume control (Pulsemixer is slow!)
|
||||||
XF86AudioRaiseVolume exec pulsemixer --change-volume +2 --max-volume 100 && $notify -v
|
XF86AudioRaiseVolume exec pamixer -i 2 --set-limit 100 && $notify -v
|
||||||
XF86AudioLowerVolume exec pulsemixer --change-volume -2 && $notify -v
|
XF86AudioLowerVolume exec pamixer -d 2 && $notify -v
|
||||||
XF86AudioMute exec pulsemixer --toggle-mute && $notify -v
|
XF86AudioMute exec pamixer -t && $notify -v
|
||||||
XF86AudioMicMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle
|
XF86AudioMicMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle
|
||||||
|
|
||||||
# Media control
|
# Media control
|
||||||
|
@ -152,7 +153,6 @@ set $fzf ~/.scripts/fzf-jump
|
||||||
bindsym {
|
bindsym {
|
||||||
# Reload sway
|
# Reload sway
|
||||||
$alt+Shift+r reload
|
$alt+Shift+r reload
|
||||||
|
|
||||||
# Dialog to exit sway
|
# Dialog to exit sway
|
||||||
$alt+Shift+e exec swaynag -t warning -m 'Do you really want to exit sway?' \
|
$alt+Shift+e exec swaynag -t warning -m 'Do you really want to exit sway?' \
|
||||||
-B 'Yes, exit sway' 'swaymsg exit'
|
-B 'Yes, exit sway' 'swaymsg exit'
|
||||||
|
|
Loading…
Reference in a new issue