mirror of
https://github.com/eoli3n/dotfiles
synced 2024-11-22 23:12:32 +01:00
added wob and bindsym
This commit is contained in:
parent
a23924b002
commit
c183986363
@ -17,7 +17,7 @@ output * dpms on
|
||||
bindswitch --reload lid:on output $laptop disable
|
||||
bindswitch --reload lid:off output $laptop enable
|
||||
|
||||
#assign workspace to screens
|
||||
# assign workspace to screens
|
||||
workspace $tag1 output $screen
|
||||
workspace $tag2 output $laptop
|
||||
workspace $tag3 output $laptop
|
||||
@ -29,6 +29,15 @@ workspace $tag8 output $laptop
|
||||
workspace $tag9 output $laptop
|
||||
workspace $tag10 output $laptop
|
||||
|
||||
# pulseaudio bindsym
|
||||
bindsym XF86AudioRaiseVolume exec pamixer -ui 2 && pamixer --get-volume > $SWAYSOCK.wob
|
||||
bindsym XF86AudioLowerVolume exec pamixer -ud 2 && pamixer --get-volume > $SWAYSOCK.wob
|
||||
bindsym XF86AudioMute exec pamixer --toggle-mute && ( pamixer --get-mute && echo 0 > $SWAYSOCK.wob ) || pamixer --get-volume > $SWAYSOCK.wob
|
||||
|
||||
# light bindsym
|
||||
bindsym XF86MonBrightnessUp exec light -A 5 && light -G | cut -d'.' -f1 > $SWAYSOCK.wob
|
||||
bindsym XF86MonBrightnessDown exec light -U 5 && light -G | cut -d'.' -f1 > $SWAYSOCK.wob
|
||||
|
||||
# exec startup apps
|
||||
exec --no-startup-id swaymsg 'exec xbindkeys &'
|
||||
exec --no-startup-id swaymsg 'exec variety &'
|
||||
|
@ -199,6 +199,9 @@ bindsym $mod+r mode "resize"
|
||||
# waybar exec
|
||||
exec_always ~/.config/waybar/waybar.sh &
|
||||
|
||||
# wob exec
|
||||
exec mkfifo $SWAYSOCK.wob && tail -f $SWAYSOCK.wob | wob
|
||||
|
||||
# set gtk theme
|
||||
exec_always ~/.config/sway/import-gsettings \
|
||||
gtk-theme:gtk-theme-name \
|
||||
|
Loading…
Reference in New Issue
Block a user