This website requires JavaScript.
Explore
Help
Sign In
jpm
/
scripts
Watch
1
Star
1
Fork
You've already forked scripts
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
d58589fb3c
scripts
/
waybar
/
waybar-cpu.sh
8 lines
102 B
Bash
Raw
Normal View
History
Unescape
Escape
Intial commit of all current scripts
2020-09-11 15:00:39 +00:00
#!/bin/bash
if
[
"
$(
pgrep -c htop
)
"
-gt
0
]
;
then
tabs->spaces
2023-01-06 19:41:31 +00:00
pkill htop
Intial commit of all current scripts
2020-09-11 15:00:39 +00:00
else
tabs->spaces
2023-01-06 19:41:31 +00:00
/usr/bin/uxterm -e htop
Intial commit of all current scripts
2020-09-11 15:00:39 +00:00
fi