mirror of
https://github.com/artizirk/dotfiles.git
synced 2024-11-22 08:20:59 +02:00
Add wob as display brightness change bar
This commit is contained in:
parent
5955d69af7
commit
54281c6151
@ -51,6 +51,9 @@ exec xrdb -load ~/.Xresources
|
|||||||
# Notification daemon
|
# Notification daemon
|
||||||
exec mako --default-timeout 10000
|
exec mako --default-timeout 10000
|
||||||
|
|
||||||
|
# Simple bar
|
||||||
|
exec rm /tmp/wobpipe; mkfifo /tmp/wobpipe && tail -f /tmp/wobpipe | wob
|
||||||
|
|
||||||
# Polkit agent
|
# Polkit agent
|
||||||
exec ~/.bin/polkit-agent
|
exec ~/.bin/polkit-agent
|
||||||
|
|
||||||
@ -236,13 +239,13 @@ mode "resize" {
|
|||||||
bindsym $mod+r mode "resize"
|
bindsym $mod+r mode "resize"
|
||||||
|
|
||||||
# volume
|
# volume
|
||||||
bindsym XF86AudioMute exec --no-startup-id amixer set Master toggle
|
bindsym XF86AudioMute exec amixer set Master toggle
|
||||||
bindsym XF86AudioRaiseVolume exec --no-startup-id amixer set Master 5%+
|
bindsym XF86AudioRaiseVolume exec amixer set Master 5%+
|
||||||
bindsym XF86AudioLowerVolume exec --no-startup-id amixer set Master 5%-
|
bindsym XF86AudioLowerVolume exec amixer set Master 5%-
|
||||||
|
|
||||||
#brightness control
|
#brightness control
|
||||||
bindsym XF86MonBrightnessUp 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 --no-startup-id brightnessctl --quiet set 5%-
|
bindsym XF86MonBrightnessDown exec brightnessctl -m set 5%- | cut -d',' -f4 | cut -d'%' -f1 > /tmp/wobpipe
|
||||||
|
|
||||||
# Authy 2FA window
|
# Authy 2FA window
|
||||||
for_window [title="^Authy$"] floating enable
|
for_window [title="^Authy$"] floating enable
|
||||||
|
Loading…
Reference in New Issue
Block a user