1
0
mirror of https://github.com/alrayyes/dotfiles/ synced 2023-11-14 15:56:30 +00:00
dotfiles/private_dot_config/polybar/bin/executable_isactive-bluetooth

8 lines
130 B
Plaintext
Raw Permalink Normal View History

2019-12-10 12:40:20 +00:00
#!/bin/sh
if [ "$(systemctl is-active bluetooth.service)" = "active" ]; then
2020-12-02 08:28:16 +00:00
echo ""
2019-12-10 12:40:20 +00:00
else
2020-12-02 08:28:16 +00:00
echo "%{F#666} %{F-}"
2019-12-10 12:40:20 +00:00
fi