From 6b0dadd3b736655836a40fe458268c615020f5bb Mon Sep 17 00:00:00 2001 From: Sam Chudnick Date: Thu, 16 Jun 2022 21:09:27 -0400 Subject: Fixed statusbar script right-click actions Fixed right-click actions in all scripts that had paths pointing to old script location. --- .local/bin/statusbar/bar-cpu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.local/bin/statusbar/bar-cpu') diff --git a/.local/bin/statusbar/bar-cpu b/.local/bin/statusbar/bar-cpu index c21fe20..46f832b 100755 --- a/.local/bin/statusbar/bar-cpu +++ b/.local/bin/statusbar/bar-cpu @@ -1,7 +1,7 @@ #!/bin/sh case $BUTTON in 1) notify-send "$(ps axc -o cmd:15,%cpu --sort=-%cpu | head -6)";; - 3) urxvt -e vim ~/.local/bin/statusbar/cpu + 3) urxvt -e vim ~/.local/bin/statusbar/bar-cpu esac -mpstat 1 1 | awk '/Average/ { printf "%.2f% ",100-$12 }' +mpstat 1 1 | awk '/Average/ { printf "%.2f ",100-$12 }' temp="$(sensors | awk '/Tctl/ { print $2 } ')"; echo -n ${temp#+} -- cgit v1.2.3