There could have been another format-no-controller actually
This commit is contained in:
1 parent
37e5ed0d9d
commit
4c8ee6cc1a
1 file changed
+2
-4
@@ -1,6 +1,4 @@
|
|||||||
echo "Hide Bluetooth module in waybar if there's no BT controller"
|
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
|
||||||
sed -i '/format-connected": "",/a\ "format-no-controller": "",' ~/.config/waybar/config.jsonc
|
omarchy-restart-waybar
|
||||||
omarchy-restart-waybar
|
|
||||||
fi
|
|
||||||
Reference in new issue
Block a user