sxmo_hook_rotate.sh: fix bash syntax error

This commit is contained in:
Colin 2023-09-28 00:18:43 +00:00
parent 2f71d80c38
commit 3aa85c96b2

View File

@ -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