From a91d0c003c25735ccc178efe3d700e84ce2cbb6e Mon Sep 17 00:00:00 2001 From: Klesh Wong Date: Wed, 11 Nov 2020 09:51:44 +0800 Subject: [PATCH] [misc] fix --icon error --- fish/config/functions/fish_right_prompt.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fish/config/functions/fish_right_prompt.fish b/fish/config/functions/fish_right_prompt.fish index 7102404..e4b467e 100644 --- a/fish/config/functions/fish_right_prompt.fish +++ b/fish/config/functions/fish_right_prompt.fish @@ -11,5 +11,5 @@ function fish_right_prompt set active_window (xdotool getactivewindow 2>/dev/null) test $active_window -eq $WINDOWID && return set message (history --max=1) [$duration] - notify-send (test "$s" -ne 0 && echo '--icon' error) $message + notify-send (test "$s" -ne 0 && echo '--icon=dialog-warning') $message end