sxmo_hook_rotate.sh: fix bash syntax error
This commit is contained in:
parent
2f71d80c38
commit
3aa85c96b2
|
@ -11,6 +11,6 @@
|
|||
# - most of my FS use is in landscape mode
|
||||
# - when i toggle apps or desktops i always do so in portrait mode
|
||||
# - therefore when i rotate landscape -> portrait mode, i almost never want fullscreen anymore.
|
||||
if "$1" == "normal" || "$1" == "invert"; then
|
||||
if [ "$1" = "normal" ] || [ "$1" = "invert" ]; then
|
||||
swaymsg fullscreen disable
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue
Block a user