From 2c3cf1b9a49fd647c4cdbf2e513464b9af1963c8 Mon Sep 17 00:00:00 2001 From: Alexander Bantyev Date: Tue, 3 May 2022 21:26:30 +0300 Subject: [PATCH] Send a bell when a long-running command ends --- profiles/workspace/zsh.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/profiles/workspace/zsh.nix b/profiles/workspace/zsh.nix index 08c96c8..e4d4970 100755 --- a/profiles/workspace/zsh.nix +++ b/profiles/workspace/zsh.nix @@ -86,6 +86,7 @@ fi if [ ! -z "$cmd" ] && [[ $cmd_time -gt 3 ]]; then ${pkgs.libnotify}/bin/notify-send -a command_complete -i utilities-terminal -u low "$cmdstat $cmd" "in `date -u -d @$cmd_time +'%T'`" + echo -e '\a' fi unset cmd }