scripts/waybar/waybar-cpu.sh

8 lines
102 B
Bash
Raw Normal View History

2020-09-11 15:00:39 +00:00
#!/bin/bash
if [ "$(pgrep -c htop)" -gt 0 ]; then
pkill htop
else
/usr/bin/uxterm -e htop
fi