Hide Bluetooth module in waybar if there's no BT controller
This commit is contained in:
1 parent
da8c3d9c64
commit
f77f107b7e
2 files changed
+7
No files matched your search
@@ -0,0 +1,6 @@
|
||||
echo "Hide Bluetooth module in waybar if there's no BT controller"
|
||||
|
||||
if ! grep -q "format-no-controller" ~/.config/waybar/config.jsonc; then
|
||||
sed -i '/format-connected": "",/a\ "format-no-controller": "",' ~/.config/waybar/config.jsonc
|
||||
omarchy-restart-waybar
|
||||
fi
|
||||
Reference in new issue
Block a user