sway and waybar configs for fedora 29
This commit is contained in:
14
sway/fullscreen.sh
Executable file
14
sway/fullscreen.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
flag=$XDG_RUNTIME_DIR/.sway_fullscreen_flag-$XDG_SEAT
|
||||
|
||||
# fullscreen -> normal
|
||||
if [ -f $flag ]; then
|
||||
polybar-msg cmd show
|
||||
rm $flag
|
||||
# normal -> fullscreen
|
||||
else
|
||||
polybar-msg cmd hide
|
||||
touch $flag
|
||||
fi
|
||||
|
||||
swaymsg fullscreen
|
||||
Reference in New Issue
Block a user