diff --git a/.install/restore.sh b/.install/restore.sh index 705cd53..6860bee 100755 --- a/.install/restore.sh +++ b/.install/restore.sh @@ -223,6 +223,7 @@ echo -e "${NONE}" targetFile2="$HOME/dotfiles-versions/$version/waybar/themes/ml4w-blur/config" targetFile3="$HOME/dotfiles-versions/$version/waybar/themes/ml4w-blur-bottom/config" targetFile4="$HOME/dotfiles-versions/$version/waybar/themes/ml4w-bottom/config" + targetFile5="$HOME/dotfiles-versions/$version/waybar/themes/ml4w-minimal/config" settingsFile="$HOME/dotfiles/.settings/waybar_bluetooth" if [ -f $settingsFile ] ;then startMarker="START BT TOOGLE" @@ -232,6 +233,7 @@ echo -e "${NONE}" _replaceInFile "$startMarker" "$endMarker" "$customtext" "$targetFile2" _replaceInFile "$startMarker" "$endMarker" "$customtext" "$targetFile3" _replaceInFile "$startMarker" "$endMarker" "$customtext" "$targetFile4" + _replaceInFile "$startMarker" "$endMarker" "$customtext" "$targetFile5" echo "Waybar Bluetooth restored." fi @@ -240,6 +242,7 @@ echo -e "${NONE}" targetFile2="$HOME/dotfiles-versions/$version/waybar/themes/ml4w-blur/config" targetFile3="$HOME/dotfiles-versions/$version/waybar/themes/ml4w-blur-bottom/config" targetFile4="$HOME/dotfiles-versions/$version/waybar/themes/ml4w-bottom/config" + targetFile5="$HOME/dotfiles-versions/$version/waybar/themes/ml4w-minimal/config" settingsFile="$HOME/dotfiles/.settings/waybar_systray" if [ -f $settingsFile ] ;then startMarker="START TRAY TOOGLE" @@ -249,6 +252,7 @@ echo -e "${NONE}" _replaceInFile "$startMarker" "$endMarker" "$customtext" "$targetFile2" _replaceInFile "$startMarker" "$endMarker" "$customtext" "$targetFile3" _replaceInFile "$startMarker" "$endMarker" "$customtext" "$targetFile4" + _replaceInFile "$startMarker" "$endMarker" "$customtext" "$targetFile5" echo "Waybar Systray restored." fi @@ -257,6 +261,7 @@ echo -e "${NONE}" targetFile2="$HOME/dotfiles-versions/$version/waybar/themes/ml4w-blur/config" targetFile3="$HOME/dotfiles-versions/$version/waybar/themes/ml4w-blur-bottom/config" targetFile4="$HOME/dotfiles-versions/$version/waybar/themes/ml4w-bottom/config" + targetFile5="$HOME/dotfiles-versions/$version/waybar/themes/ml4w-minimal/config" settingsFile="$HOME/dotfiles/.settings/waybar_network" if [ -f $settingsFile ] ;then startMarker="START NETWORK TOOGLE" @@ -266,6 +271,7 @@ echo -e "${NONE}" _replaceInFile "$startMarker" "$endMarker" "$customtext" "$targetFile2" _replaceInFile "$startMarker" "$endMarker" "$customtext" "$targetFile3" _replaceInFile "$startMarker" "$endMarker" "$customtext" "$targetFile4" + _replaceInFile "$startMarker" "$endMarker" "$customtext" "$targetFile5" echo "Waybar Network restored." fi @@ -274,6 +280,7 @@ echo -e "${NONE}" targetFile2="$HOME/dotfiles/waybar/themes/ml4w-blur/config" targetFile3="$HOME/dotfiles/waybar/themes/ml4w-blur-bottom/config" targetFile4="$HOME/dotfiles/waybar/themes/ml4w-bottom/config" + targetFile5="$HOME/dotfiles-versions/$version/waybar/themes/ml4w-minimal/config" settingsFile="$HOME/dotfiles/.settings/waybar_swaylock" if [ -f $settingsFile ] ;then startMarker="START IDLE TOOGLE" @@ -283,6 +290,7 @@ echo -e "${NONE}" _replaceInFile "$startMarker" "$endMarker" "$customtext" "$targetFile2" _replaceInFile "$startMarker" "$endMarker" "$customtext" "$targetFile3" _replaceInFile "$startMarker" "$endMarker" "$customtext" "$targetFile4" + _replaceInFile "$startMarker" "$endMarker" "$customtext" "$targetFile5" echo "Waybar Idle restored." fi diff --git a/hypr/settings/modules/waybar/bluetooth/module.sh b/hypr/settings/modules/waybar/bluetooth/module.sh index 4ef9de5..462b65d 100755 --- a/hypr/settings/modules/waybar/bluetooth/module.sh +++ b/hypr/settings/modules/waybar/bluetooth/module.sh @@ -8,6 +8,7 @@ targetFile1="$HOME/dotfiles/waybar/themes/ml4w/config" targetFile2="$HOME/dotfiles/waybar/themes/ml4w-blur/config" targetFile3="$HOME/dotfiles/waybar/themes/ml4w-blur-bottom/config" targetFile4="$HOME/dotfiles/waybar/themes/ml4w-bottom/config" +targetFile5="$HOME/dotfiles/waybar/themes/ml4w-minimal/config" settingsFile="$HOME/dotfiles/.settings/waybar_bluetooth" # Define Markers @@ -30,6 +31,7 @@ if [ ! -z $customvalue ]; then _replaceInFile $startMarker $endMarker $customtext $targetFile2 _replaceInFile $startMarker $endMarker $customtext $targetFile3 _replaceInFile $startMarker $endMarker $customtext $targetFile4 + _replaceInFile $startMarker $endMarker $customtext $targetFile5 _writeSettings $settingsFile $customtext # Reload Waybar diff --git a/hypr/settings/modules/waybar/network/module.sh b/hypr/settings/modules/waybar/network/module.sh index efd05c4..c7f3c09 100755 --- a/hypr/settings/modules/waybar/network/module.sh +++ b/hypr/settings/modules/waybar/network/module.sh @@ -8,6 +8,7 @@ targetFile1="$HOME/dotfiles/waybar/themes/ml4w/config" targetFile2="$HOME/dotfiles/waybar/themes/ml4w-blur/config" targetFile3="$HOME/dotfiles/waybar/themes/ml4w-blur-bottom/config" targetFile4="$HOME/dotfiles/waybar/themes/ml4w-bottom/config" +targetFile5="$HOME/dotfiles/waybar/themes/ml4w-minimal/config" settingsFile="$HOME/dotfiles/.settings/waybar_network" # Define Markers @@ -28,6 +29,7 @@ if [ ! -z $customvalue ]; then _replaceInFile $startMarker $endMarker $customtext $targetFile2 _replaceInFile $startMarker $endMarker $customtext $targetFile3 _replaceInFile $startMarker $endMarker $customtext $targetFile4 + _replaceInFile $startMarker $endMarker $customtext $targetFile5 _writeSettings $settingsFile $customtext # Reload Waybar diff --git a/hypr/settings/modules/waybar/swaylock/module.sh b/hypr/settings/modules/waybar/swaylock/module.sh index 7662262..5b09618 100755 --- a/hypr/settings/modules/waybar/swaylock/module.sh +++ b/hypr/settings/modules/waybar/swaylock/module.sh @@ -8,6 +8,7 @@ targetFile1="$HOME/dotfiles/waybar/themes/ml4w/config" targetFile2="$HOME/dotfiles/waybar/themes/ml4w-blur/config" targetFile3="$HOME/dotfiles/waybar/themes/ml4w-blur-bottom/config" targetFile4="$HOME/dotfiles/waybar/themes/ml4w-bottom/config" +targetFile5="$HOME/dotfiles/waybar/themes/ml4w-minimal/config" settingsFile="$HOME/dotfiles/.settings/waybar_swaylock" # Define Markers @@ -28,6 +29,7 @@ if [ ! -z $customvalue ]; then _replaceInFile $startMarker $endMarker $customtext $targetFile2 _replaceInFile $startMarker $endMarker $customtext $targetFile3 _replaceInFile $startMarker $endMarker $customtext $targetFile4 + _replaceInFile $startMarker $endMarker $customtext $targetFile5 _writeSettings $settingsFile $customtext # Reload Waybar diff --git a/hypr/settings/modules/waybar/systray/module.sh b/hypr/settings/modules/waybar/systray/module.sh index a607f2f..4907c79 100755 --- a/hypr/settings/modules/waybar/systray/module.sh +++ b/hypr/settings/modules/waybar/systray/module.sh @@ -8,6 +8,7 @@ targetFile1="$HOME/dotfiles/waybar/themes/ml4w/config" targetFile2="$HOME/dotfiles/waybar/themes/ml4w-blur/config" targetFile3="$HOME/dotfiles/waybar/themes/ml4w-blur-bottom/config" targetFile4="$HOME/dotfiles/waybar/themes/ml4w-bottom/config" +targetFile5="$HOME/dotfiles/waybar/themes/ml4w-minimal/config" settingsFile="$HOME/dotfiles/.settings/waybar_systray" # Define Markers @@ -28,6 +29,7 @@ if [ ! -z $customvalue ]; then _replaceInFile $startMarker $endMarker $customtext $targetFile2 _replaceInFile $startMarker $endMarker $customtext $targetFile3 _replaceInFile $startMarker $endMarker $customtext $targetFile4 + _replaceInFile $startMarker $endMarker $customtext $targetFile5 _writeSettings $settingsFile $customtext # Reload Waybar