add: polybar custom scripts
add: git aliases fix. bspwm split_ration madness
This commit is contained in:
parent
c33047354e
commit
1a0ffb4924
7 changed files with 44 additions and 3 deletions
.config/polybar/scripts
3
.config/polybar/scripts/arch-updates.sh
Executable file
3
.config/polybar/scripts/arch-updates.sh
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
echo $(pacman -Qu | wc -l)
|
10
.config/polybar/scripts/fan-speed.sh
Executable file
10
.config/polybar/scripts/fan-speed.sh
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
|
||||
speed=$(sensors | grep fan1 | sed -e 's/fan1: *//' -e 's/ RPM.*$//')
|
||||
|
||||
if [ "$speed" != "" ]; then
|
||||
echo "$speed RPM"
|
||||
else
|
||||
echo "FAN ERROR"
|
||||
fi
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue