diff options
Diffstat (limited to 'ar/.local/bin')
| -rwxr-xr-x | ar/.local/bin/gitupdate | 2 | ||||
| -rwxr-xr-x | ar/.local/bin/statusbar/sb-forecast | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/ar/.local/bin/gitupdate b/ar/.local/bin/gitupdate index 87c13c3..3dabf34 100755 --- a/ar/.local/bin/gitupdate +++ b/ar/.local/bin/gitupdate @@ -2,8 +2,6 @@ set -eu -pidof transmission-daemon >/dev/null && echo "Turn off transmission-daemon first!" && exit 1 - # Check if inside a Git repository ! git rev-parse --is-inside-work-tree >/dev/null 2>&1 && echo "Not a git repository." && exit 1 diff --git a/ar/.local/bin/statusbar/sb-forecast b/ar/.local/bin/statusbar/sb-forecast index 063c8e5..65bcd1a 100755 --- a/ar/.local/bin/statusbar/sb-forecast +++ b/ar/.local/bin/statusbar/sb-forecast @@ -11,7 +11,8 @@ weatherreportjson="${XDG_CACHE_HOME:-${HOME}/.cache}/weatherreport.json" error() { rm -f "$weatherreport" "$weatherreportjson" - notify-send -u critical "⛔ Failed to update 'weather$1'" + notify-send "⛔ Failed to update 'weather$1'" + echo "❓" exit 1 } |
