sway and waybar configs for fedora 29

This commit is contained in:
2019-03-18 03:31:32 -03:00
parent 47c7939e51
commit 7c07a971b3
4 changed files with 147 additions and 12 deletions

14
sway/fullscreen.sh Executable file
View 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