refactor: new system basics
This commit is contained in:
1 parent
f4ea18dc1a
commit
c0ca42d166
92 files changed
+190009
-12
No files matched your search
Executable
+17
@@ -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
|
||||
|
||||
Reference in new issue
Block a user