From 6302cc0132668c9b333adf797db28034edb26d2e Mon Sep 17 00:00:00 2001 From: "committer@tuxwarrior" Date: Fri, 6 Mar 2026 11:33:17 -0500 Subject: [PATCH] + topcpu icon --- dots/bin/resources.sh | 1 + dots/nwg-panel/icons/noun-chip-8141465.svg | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 dots/nwg-panel/icons/noun-chip-8141465.svg diff --git a/dots/bin/resources.sh b/dots/bin/resources.sh index a209d60..2107f73 100755 --- a/dots/bin/resources.sh +++ b/dots/bin/resources.sh @@ -18,6 +18,7 @@ displayResources() { ps -eo pid,cmd,%mem --sort=-%mem | head -n 2 | awk 'NR==2 {printf "%s: %s (%s%)", $1, $2, $4}' elif [[ "${operation}" == "topcpu" ]]; then # the process that consumes the most cpu + echo /home/poq/.config/nwg-panel/icons/noun-chip-8141465.svg ps -eo pid,comm,%cpu --sort=-%cpu | head -n 2 | awk 'NR==2 {printf "%s: %s (%s%)", $1, $2, $3}' else echo "" diff --git a/dots/nwg-panel/icons/noun-chip-8141465.svg b/dots/nwg-panel/icons/noun-chip-8141465.svg new file mode 100644 index 0000000..4953ee9 --- /dev/null +++ b/dots/nwg-panel/icons/noun-chip-8141465.svg @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + \ No newline at end of file