diff options
Diffstat (limited to 'preexec.sh')
-rw-r--r-- | preexec.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/preexec.sh b/preexec.sh index c30fd992cdc4..29165e37bbc9 100644 --- a/preexec.sh +++ b/preexec.sh @@ -8,7 +8,7 @@ __nwd_preexec() { local no_i3 no_i3=0 [[ -z $DISPLAY || $(pgrep i3|wc -l) -eq 0 ]] && no_i3=1 - [[ $no_i3 -eq 1 || -z $__nwd_cmd ]] && return + [[ $no_i3 -eq 1 || -z $1 ]] && return __nwd_cmd=$1 __nwd_previous_focused=$(python3 /usr/share/nwd/focused_window.py) |