This commit is contained in:
2020-09-23 16:40:19 +02:00
parent 8b9b8b7803
commit ac09f87115

View File

@@ -24,7 +24,7 @@ elif [ "$1" == "right" ]; then
elif [ $1 -gt 0 ] && [ $1 -lt 43 ]; then
i3-msg "workspace number $1"
# Do not update files in run/ if switching output
[ $(i3-msg -t get_workspaces | jq -r '.[] | select(.focused==true).output') != CURRENT_OUTPUT ] && exit 0
[ $(i3-msg -t get_workspaces | jq -r '.[] | select(.focused==true).output') != ${CURRENT_OUTPUT} ] && exit 0
else
usage; exit 1
fi