Browse Source

remove wob

main
Michael Pappe 8 months ago
parent
commit
5d16be92db
  1. 14
      .config/sway/conf.d/bind.conf

14
.config/sway/conf.d/bind.conf

@ -112,15 +112,15 @@ bindsym $mod+r mode "resize"
bindsym $mod+shift+n exec $term -e ncmpcpp
# util
bindsym XF86MonBrightnessDown exec light -U 5 && light -G | cut -d'.' -f1 > $WOBSOCK
bindsym XF86MonBrightnessUp exec light -A 5 && light -G | cut -d'.' -f1 > $WOBSOCK
bindsym XF86KbdBrightnessUp exec light -s "sysfs/leds/smc::kbd_backlight" -A 10 && light -s "sysfs/leds/smc::kbd_backlight" -G | cut -d'.' -f1 > $WOBSOCK
bindsym XF86KbdBrightnessDown exec light -s "sysfs/leds/smc::kbd_backlight" -U 10 && light -s "sysfs/leds/smc::kbd_backlight" -G | cut -d'.' -f1 > $WOBSOCK
bindsym XF86MonBrightnessDown exec light -U 5
bindsym XF86MonBrightnessUp exec light -A 5
bindsym XF86KbdBrightnessUp exec light -s "sysfs/leds/smc::kbd_backlight" -A 10
bindsym XF86KbdBrightnessDown exec light -s "sysfs/leds/smc::kbd_backlight" -U 10
# Use pactl to adjust volume in PulseAudio.
bindsym XF86AudioRaiseVolume exec pamixer -ui 2 && pamixer --get-volume > $WOBSOCK
bindsym XF86AudioLowerVolume exec pamixer -ud 2 && pamixer --get-volume > $WOBSOCK
bindsym XF86AudioMute exec pamixer --toggle-mute && ( pamixer --get-mute && echo 0 > $WOBSOCK ) || pamixer --get-volume > $WOBSOCK
bindsym XF86AudioRaiseVolume exec pamixer -ui 2
bindsym XF86AudioLowerVolume exec pamixer -ud 2
bindsym XF86AudioMute exec pamixer --toggle-mute
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle
# toggle waybars

Loading…
Cancel
Save