Added wayland overlay bar

Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
This commit is contained in:
Marko Korhonen 2020-01-08 20:36:39 +02:00
parent 8b5da1e19d
commit d78ace340a
2 changed files with 5 additions and 4 deletions

View file

@ -122,8 +122,8 @@ bindsym $mod+r mode "resize"
bindsym $mod+b exec firefox-nightly
# media keys
bindsym --locked XF86AudioRaiseVolume exec pulseaudio-ctl up 1
bindsym --locked XF86AudioLowerVolume exec pulseaudio-ctl down 1
bindsym XF86AudioRaiseVolume exec pamixer -ui 2 && pamixer --get-volume > $SWAYSOCK.wob
bindsym XF86AudioLowerVolume exec pamixer -ud 2 && pamixer --get-volume > $SWAYSOCK.wob
bindsym --locked XF86AudioMute exec pulseaudio-ctl mute
bindsym --locked XF86AudioNext exec playerctl next
bindsym --locked XF86AudioPrev exec playerctl previous
@ -138,8 +138,8 @@ bindsym $mod+Control+Down output eDP-1 transform 180
bindsym $mod+Control+Left output eDP-1 transform 270
# display brightness
bindsym --locked XF86MonBrightnessUp exec light -A 5
bindsym --locked XF86MonBrightnessDown exec light -U 5
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
# switch to urgent workspace
bindsym $mod+u [urgent=latest] focus

View file

@ -23,6 +23,7 @@ exec {
$HOME/Scripts/autorotate.sh
squeekboard
thunderbird
mkfifo $SWAYSOCK.wob && tail -f $SWAYSOCK.wob | wob
}
exec_always {