Autohide for waybar bluetooth module if no device detected

This commit is contained in:
Stephan Raabe
2024-02-27 13:15:56 +01:00
parent d7aabb2599
commit fec8e9fb96
7 changed files with 11 additions and 67 deletions
+5
View File
@@ -51,6 +51,11 @@ if [ -d ~/dotfiles/hypr/settings/modules/system/swaylock ] ;then
echo "~/dotfiles/hypr/settings/modules/system/swaylock removed."
fi
if [ -d ~/dotfiles/hypr/settings/modules/waybar/bluetooth ] ;then
rm -rf ~/dotfiles/hypr/settings/modules/waybar/bluetooth
echo "~/dotfiles/hypr/settings/modules/waybar/bluetooth removed."
fi
# Create default folder structure
xdg-user-dirs-update
echo "Default folders created..."