Fix wob
This commit is contained in:
parent
45577ddd37
commit
d3de793962
|
@ -23,8 +23,7 @@ bindsym $mod+Shift+r reload
|
||||||
bindsym $mod+Shift+o exec mimeo "$(wl-paste)"
|
bindsym $mod+Shift+o exec mimeo "$(wl-paste)"
|
||||||
|
|
||||||
# turn on and off internal screen
|
# turn on and off internal screen
|
||||||
bindsym --locked XF86Search output eDP-1 enable
|
bindsym --locked XF86Search output eDP-1 toggle
|
||||||
bindsym --locked Shift+XF86Search output eDP-1 disable
|
|
||||||
|
|
||||||
# FZF
|
# FZF
|
||||||
# exit menu
|
# exit menu
|
||||||
|
@ -115,9 +114,9 @@ bindsym $mod+r mode "resize"
|
||||||
bindsym $mod+b exec firefox-nightly
|
bindsym $mod+b exec firefox-nightly
|
||||||
|
|
||||||
# media keys
|
# media keys
|
||||||
bindsym XF86AudioRaiseVolume exec pamixer -ui 2 && pamixer --get-volume > /tmp/sway.wob
|
bindsym XF86AudioRaiseVolume exec pamixer -ui 2 && pamixer --get-volume > $SWAYSOCK.wob
|
||||||
bindsym XF86AudioLowerVolume exec pamixer -ud 2 && pamixer --get-volume > /tmp/sway.wob
|
bindsym XF86AudioLowerVolume exec pamixer -ud 2 && pamixer --get-volume > $SWAYSOCK.wob
|
||||||
bindsym --locked XF86AudioMute exec pulseaudio-ctl mute
|
bindsym XF86AudioMute exec pamixer --toggle-mute && ( pamixer --get-mute && echo 0 > $SWAYSOCK.wob ) || pamixer --get-volume > $SWAYSOCK.wob
|
||||||
bindsym --locked XF86AudioNext exec playerctl next
|
bindsym --locked XF86AudioNext exec playerctl next
|
||||||
bindsym --locked XF86AudioPrev exec playerctl previous
|
bindsym --locked XF86AudioPrev exec playerctl previous
|
||||||
bindsym --locked XF86AudioPlay exec playerctl play-pause
|
bindsym --locked XF86AudioPlay exec playerctl play-pause
|
||||||
|
@ -135,8 +134,8 @@ bindsym $mod+m+l output eDP-1 transform 90
|
||||||
bindsym $mod+m+k output eDP-1 transform 0
|
bindsym $mod+m+k output eDP-1 transform 0
|
||||||
|
|
||||||
# display brightness
|
# display brightness
|
||||||
bindsym XF86MonBrightnessUp exec light -A 5 && light -G | cut -d'.' -f1 > /tmp/sway.wob
|
bindsym XF86MonBrightnessUp exec light -A 5 && light -G | cut -d'.' -f1 > $SWAYSOCK.wob
|
||||||
bindsym XF86MonBrightnessDown exec light -U 5 && light -G | cut -d'.' -f1 > /tmp/sway.wob
|
bindsym XF86MonBrightnessDown exec light -U 5 && light -G | cut -d'.' -f1 > $SWAYSOCK.wob
|
||||||
|
|
||||||
# Switch to urgent workspace
|
# Switch to urgent workspace
|
||||||
bindsym $mod+u [urgent=latest] focus
|
bindsym $mod+u [urgent=latest] focus
|
||||||
|
|
|
@ -7,8 +7,8 @@ exec {
|
||||||
telegram-desktop
|
telegram-desktop
|
||||||
kdeconnect-indicator
|
kdeconnect-indicator
|
||||||
thunderbird
|
thunderbird
|
||||||
mkfifo /tmp/sway.wob && tail -f /tmp/sway.wob | wob
|
|
||||||
mako
|
mako
|
||||||
|
mkfifo $SWAYSOCK.wob && tail -f $SWAYSOCK.wob | wob
|
||||||
}
|
}
|
||||||
|
|
||||||
exec_always {
|
exec_always {
|
||||||
|
|
Loading…
Reference in a new issue