fix rofi bluetooth and add weather module

integrated weather module with date/time module instead of making its
own section
This commit is contained in:
ksyasuda
2021-11-15 16:31:40 -08:00
parent 2731383a8b
commit 389c4c5592
7 changed files with 201 additions and 8 deletions

View File

@@ -183,7 +183,8 @@ toggle_trust() {
# Useful for status bars like polybar, etc.
print_status() {
if power_on; then
printf ''
# printf ''
echo -n "%{F#A3BE8C}  %{F-}"
mapfile -t paired_devices < <(bluetoothctl paired-devices | grep Device | cut -d ' ' -f 2)
counter=0
@@ -203,7 +204,8 @@ print_status() {
done
printf "\n"
else
echo ""
# echo ""
echo -n "%{F#EC7875}  %{F-}"
fi
}

View File

@@ -183,7 +183,7 @@ toggle_trust() {
# Useful for status bars like polybar, etc.
print_status() {
if power_on; then
echo "%{F#A3BE8C} %{F-}"
echo -n "%{F#A3BE8C} %{F-}"
mapfile -t paired_devices < <(bluetoothctl paired-devices | grep Device | cut -d ' ' -f 2)
counter=0
@@ -203,7 +203,7 @@ print_status() {
done
printf "\n"
else
echo "%{F#EC7875} %{F-}"
echo -n "%{F#EC7875} %{F-}"
fi
}