Make brightnessctl also use tvolnoti

This commit is contained in:
Arti Zirk 2020-04-16 15:01:37 +03:00
parent 5076f9c5ad
commit 6c2002242c
1 changed files with 2 additions and 2 deletions

View File

@ -258,8 +258,8 @@ bindsym XF86AudioRaiseVolume exec amixer set Master 5%+
bindsym XF86AudioLowerVolume exec amixer set Master 5%-
#brightness control
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
bindsym XF86MonBrightnessUp exec brightnessctl -m set +5% | cut -d',' -f4 | cut -d'%' -f1 | xargs -n1 tvolnoti-show -s ~/.config/tvolnoti/themes/dark/display_brightness.svg
bindsym XF86MonBrightnessDown exec brightnessctl -m set 5%- | cut -d',' -f4 | cut -d'%' -f1 | xargs -n1 tvolnoti-show -s ~/.config/tvolnoti/themes/dark/display_brightness.svg
# Authy 2FA window
for_window [title="^Authy$"] floating enable