refactor: new system basics

This commit is contained in:
2025-05-29 18:18:25 +02:00
parent f4ea18dc1a
commit c0ca42d166
92 changed files with 190009 additions and 12 deletions

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

@@ -0,0 +1,17 @@
#!/bin/sh
# Author by : Daniel Heras
# Mail : dani.heras@hotmail.com
if [ $(bluetoothctl show | grep "Powered: yes" | wc -c) -eq 0 ]
then
echo "%{F#415a77}"
else
if [ $(echo info | bluetoothctl | grep 'Device' | wc -c) -eq 0 ]
then
echo ""
else
echo "%{F#40916c}"
fi
fi