From 7a96fb100cf385e05c211937b509d2bf166299e6 Mon Sep 17 00:00:00 2001 From: Jameson <108906685+2084x@users.noreply.github.com> Date: Sun, 31 Dec 2023 04:04:51 +1100 Subject: script fixes (#1386) * fix typo in lfub * use setsid when editing scripts * fix immediate exit on middle click --------- Co-authored-by: 2084x <2084x@noreply.codeberg.org> --- .local/bin/statusbar/sb-cpu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.local/bin/statusbar/sb-cpu') diff --git a/.local/bin/statusbar/sb-cpu b/.local/bin/statusbar/sb-cpu index 1572b52..5b8fb93 100755 --- a/.local/bin/statusbar/sb-cpu +++ b/.local/bin/statusbar/sb-cpu @@ -6,7 +6,7 @@ case $BLOCK_BUTTON in 3) notify-send "🖥 CPU module " "\- Shows CPU temperature. - Click to show intensive processes. - Middle click to open htop." ;; - 6) "$TERMINAL" -e "$EDITOR" "$0" ;; + 6) setsid -f "$TERMINAL" -e "$EDITOR" "$0" ;; esac sensors | awk '/Core 0/ {print "🌡" $3}' -- cgit v1.3.1