Long time, no commit, big ol' changes though
This commit is contained in:
parent
3c9e2c3279
commit
501f1f4066
19 changed files with 271 additions and 352 deletions
12
config/polybar/bbswitch
Executable file
12
config/polybar/bbswitch
Executable file
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
state="$(grep -o '\w\+$' /proc/acpi/bbswitch)"
|
||||
if [ "$state" == "ON" ]
|
||||
then
|
||||
echo ""
|
||||
elif [ "$state" == "OFF" ]
|
||||
then
|
||||
echo ""
|
||||
else
|
||||
echo "?"
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue