diff --git a/.config/sway/config b/.config/sway/config index 0141e47..d5ff5bf 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -51,6 +51,9 @@ exec xrdb -load ~/.Xresources # Notification daemon exec mako --default-timeout 10000 +# Simple bar +exec rm /tmp/wobpipe; mkfifo /tmp/wobpipe && tail -f /tmp/wobpipe | wob + # Polkit agent exec ~/.bin/polkit-agent @@ -236,13 +239,13 @@ mode "resize" { bindsym $mod+r mode "resize" # volume -bindsym XF86AudioMute exec --no-startup-id amixer set Master toggle -bindsym XF86AudioRaiseVolume exec --no-startup-id amixer set Master 5%+ -bindsym XF86AudioLowerVolume exec --no-startup-id amixer set Master 5%- +bindsym XF86AudioMute exec amixer set Master toggle +bindsym XF86AudioRaiseVolume exec amixer set Master 5%+ +bindsym XF86AudioLowerVolume exec amixer set Master 5%- #brightness control -bindsym XF86MonBrightnessUp exec --no-startup-id brightnessctl --quiet set +5% -bindsym XF86MonBrightnessDown exec --no-startup-id brightnessctl --quiet set 5%- +bindsym XF86MonBrightnessUp exec brightnessctl -m set +5% | cut -d',' -f4 | cut -d'%' -f1 > /tmp/wobpipe +bindsym XF86MonBrightnessDown exec brightnessctl -m set 5%- | cut -d',' -f4 | cut -d'%' -f1 > /tmp/wobpipe # Authy 2FA window for_window [title="^Authy$"] floating enable