aboutsummaryrefslogtreecommitdiff
path: root/env/.local/bin/system/stbar/killbar.sh
diff options
context:
space:
mode:
Diffstat (limited to 'env/.local/bin/system/stbar/killbar.sh')
-rwxr-xr-xenv/.local/bin/system/stbar/killbar.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/env/.local/bin/system/stbar/killbar.sh b/env/.local/bin/system/stbar/killbar.sh
index 1450a84..b639ed1 100755
--- a/env/.local/bin/system/stbar/killbar.sh
+++ b/env/.local/bin/system/stbar/killbar.sh
@@ -1,3 +1,4 @@
+#!/bin/bash
pids=$(ps -AO pid | awk '/stbar.sh|newsboat-fetch.sh/ {print $1}')
# pids=$(pstree -pla | grep stbar | sed 's,|,,g' | sed 's/ //g' | sed 's/^ //g' | sed 's/ .*//' | sed 's/[^0-9]*//g')
# pids2=$(ps -AO pid | grep "sh ./newsboat-fetch.sh" | sed 's/S.*//g' | sed 's/^ *//g')