diff --git a/tasks/general/acct_mgmt/users.yml b/tasks/general/acct_mgmt/users.yml index 5e7c4b9..9baed8c 100644 --- a/tasks/general/acct_mgmt/users.yml +++ b/tasks/general/acct_mgmt/users.yml @@ -141,6 +141,11 @@ if [[ -n "$XDG_SESSION_ID" ]]; then setxkbmap -layout us -variant altgr-intl fi + export_notify: | + export NOTIFY="`which fyi 2>/dev/null || which notify-send 2>/dev/null`" + function notify() { + $NOTIFY $@ + } - name: General | Account Management | Users | Files | RC Variables set_fact: @@ -1199,7 +1204,8 @@ {{ export_path_sbin }} {{ export_terminal }} {{ export_browser }} - {{ keyboard_settings}} + {{ keyboard_settings }} + {{ export_notify }} rc_common: | # Fixes "command not found" when using aliases within functions. shopt -s expand_aliases