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
d06ed5266f
scripts
/
waybar
/
waybar-cpu.sh
8 lines
109 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
Kernel formatting
2020-11-23 09:35:26 +00:00
pkill htop
Intial commit of all current scripts
2020-09-11 15:00:39 +00:00
else
Switch to Xterm for htop window
2021-08-11 22:41:22 +00:00
/usr/bin/xterm -e htop
Intial commit of all current scripts
2020-09-11 15:00:39 +00:00
fi