diff --git a/.config/i3/scripts/film_mode.sh b/.config/i3/scripts/film_mode.sh index e78c00d..26e7dc0 100755 --- a/.config/i3/scripts/film_mode.sh +++ b/.config/i3/scripts/film_mode.sh @@ -30,7 +30,7 @@ function off() { if [ "${1}" == "${ON}" ]; then on -elif [ "${1}" == "${ON}" ]; then +elif [ "${1}" == "${OFF}" ]; then off else pgrep xautolock &>/dev/null