commit 812f7f34d206dc7853706898142053f1b976ff11
parent b7c3a07f6dbed8b5838b1533d28d1137a2540b28
Author: Alex Balgavy <alex@balgavy.eu>
Date: Thu, 30 Sep 2021 00:37:39 +0200
dwmblock-cpu: check for full top bin path
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/dwmblock-cpu b/scripts/dwmblock-cpu
@@ -4,7 +4,7 @@
cache=/tmp/cpubarscache
case "$BUTTON" in
- 1) pgrep -f top || setsid -f "$TERMINAL" -e top ;;
+ 1) pgrep -f /usr/bin/top || setsid -f "$TERMINAL" -e top ;;
6) "$TERMINAL" -e "$EDITOR" "$0" ;;
esac