summaryrefslogtreecommitdiff
path: root/ar/.local/bin/gitupdate
diff options
context:
space:
mode:
Diffstat (limited to 'ar/.local/bin/gitupdate')
-rwxr-xr-xar/.local/bin/gitupdate4
1 files changed, 1 insertions, 3 deletions
diff --git a/ar/.local/bin/gitupdate b/ar/.local/bin/gitupdate
index 6ee163a..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
@@ -87,4 +85,4 @@ printf "\n[repo] %s(%s): %s\n" "$(basename "$repo_root")" "$branch" "$message"
# Return to the original directory
cd - >/dev/null
-command -v dwmblocks >/dev/null 2>&1 && pkill -RTMIN+18 "${STATUSBAR:-dwmblocks}"
+command -v dwmblocks >/dev/null 2>&1 && pkill -RTMIN+16 "${STATUSBAR:-dwmblocks}"