aboutsummarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiuseppe2017-06-07 17:41:27 +0200
committerGiuseppe2017-06-07 17:41:27 +0200
commitfe5b3f7b28592853617da6ae976948fdbf91af99 (patch)
tree82b5b92d95211ed12791b91448876035b67f6cc3
parent063b20e39c7e0fd960505ced2e8300675fcbd74c (diff)
downloadaur-fe5b3f7b28592853617da6ae976948fdbf91af99.tar.gz
Change urgency level from critical to normal
-rw-r--r--nwd-preexec.sh11
1 files changed, 6 insertions, 5 deletions
diff --git a/nwd-preexec.sh b/nwd-preexec.sh
index e6f5db955738..bdb140b5d5c6 100644
--- a/nwd-preexec.sh
+++ b/nwd-preexec.sh
@@ -1,15 +1,16 @@
_precmd() {
CURRENT_WS=$(i3-msg -t get_workspaces|jq -c '.[]| select(.focused)|.num')
- if [[ $ND_FOCUSED_WS && $ND_FOCUSED_WS -ne $CURRENT_WS ]]; then
- notify-send -u critical "$ND_CMD" "Done @workspace=$ND_FOCUSED_WS"
+ if [[ $NWD_FOCUSED_WS && $NWD_FOCUSED_WS -ne $CURRENT_WS ]]; then
+ notify-send "$NWD_CMD" "Done @workspace=$NWD_FOCUSED_WS"
fi
- ND_FOCUSED_WS=
+ NWD_FOCUSED_WS=
}
_preexec() {
- ND_FOCUSED_WS=$(i3-msg -t get_workspaces|jq -c '.[]| select(.focused)|.num')
- ND_CMD=$1
+ NWD_FOCUSED_WS=$(i3-msg -t get_workspaces|jq -c '.[]| select(.focused)|.num')
+ NWD_CMD=$1
+ echo "*** $NWD_CMD"
}
preexec_functions+=(_preexec)