add i3 and polybar conf, add new rofi logout screen

This commit is contained in:
Rene Kievits
2021-10-04 23:17:58 +02:00
parent 16508c1fae
commit 0d2a0bb8a8
124 changed files with 1525 additions and 4094 deletions

23
polybar/scripts/bluetooth.sh Executable file
View File

@@ -0,0 +1,23 @@
#!/bin/bash
STATE=$(bluetoothctl show | grep Powered)
DEVICE_NAME=$(bluetoothctl info | grep Name: | awk '{ first = $1; $1 = ""; print $0 }')
POWERED=""
COLOR=""
STRING=""
if [[ $STATE == *'yes'* ]]
then
POWERED=" ON"
COLOR=""
else
POWERED=" OFF"
COLOR=""
fi
if [[ $DEVICE_NAME ]]
then
POWERED=" "
fi
echo $POWERED$CONNECTED$DEVICE_NAME