Browse Source

Add wob as display brightness change bar

master
Arti Zirk 5 years ago
parent
commit
54281c6151
  1. 13
      .config/sway/config

13
.config/sway/config

@ -51,6 +51,9 @@ exec xrdb -load ~/.Xresources @@ -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" { @@ -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

Loading…
Cancel
Save