Update for minimal theme
This commit is contained in:
parent
6543bbe83e
commit
ec37c9fe0e
@ -223,6 +223,7 @@ echo -e "${NONE}"
|
|||||||
targetFile2="$HOME/dotfiles-versions/$version/waybar/themes/ml4w-blur/config"
|
targetFile2="$HOME/dotfiles-versions/$version/waybar/themes/ml4w-blur/config"
|
||||||
targetFile3="$HOME/dotfiles-versions/$version/waybar/themes/ml4w-blur-bottom/config"
|
targetFile3="$HOME/dotfiles-versions/$version/waybar/themes/ml4w-blur-bottom/config"
|
||||||
targetFile4="$HOME/dotfiles-versions/$version/waybar/themes/ml4w-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"
|
settingsFile="$HOME/dotfiles/.settings/waybar_bluetooth"
|
||||||
if [ -f $settingsFile ] ;then
|
if [ -f $settingsFile ] ;then
|
||||||
startMarker="START BT TOOGLE"
|
startMarker="START BT TOOGLE"
|
||||||
@ -232,6 +233,7 @@ echo -e "${NONE}"
|
|||||||
_replaceInFile "$startMarker" "$endMarker" "$customtext" "$targetFile2"
|
_replaceInFile "$startMarker" "$endMarker" "$customtext" "$targetFile2"
|
||||||
_replaceInFile "$startMarker" "$endMarker" "$customtext" "$targetFile3"
|
_replaceInFile "$startMarker" "$endMarker" "$customtext" "$targetFile3"
|
||||||
_replaceInFile "$startMarker" "$endMarker" "$customtext" "$targetFile4"
|
_replaceInFile "$startMarker" "$endMarker" "$customtext" "$targetFile4"
|
||||||
|
_replaceInFile "$startMarker" "$endMarker" "$customtext" "$targetFile5"
|
||||||
echo "Waybar Bluetooth restored."
|
echo "Waybar Bluetooth restored."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -240,6 +242,7 @@ echo -e "${NONE}"
|
|||||||
targetFile2="$HOME/dotfiles-versions/$version/waybar/themes/ml4w-blur/config"
|
targetFile2="$HOME/dotfiles-versions/$version/waybar/themes/ml4w-blur/config"
|
||||||
targetFile3="$HOME/dotfiles-versions/$version/waybar/themes/ml4w-blur-bottom/config"
|
targetFile3="$HOME/dotfiles-versions/$version/waybar/themes/ml4w-blur-bottom/config"
|
||||||
targetFile4="$HOME/dotfiles-versions/$version/waybar/themes/ml4w-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"
|
settingsFile="$HOME/dotfiles/.settings/waybar_systray"
|
||||||
if [ -f $settingsFile ] ;then
|
if [ -f $settingsFile ] ;then
|
||||||
startMarker="START TRAY TOOGLE"
|
startMarker="START TRAY TOOGLE"
|
||||||
@ -249,6 +252,7 @@ echo -e "${NONE}"
|
|||||||
_replaceInFile "$startMarker" "$endMarker" "$customtext" "$targetFile2"
|
_replaceInFile "$startMarker" "$endMarker" "$customtext" "$targetFile2"
|
||||||
_replaceInFile "$startMarker" "$endMarker" "$customtext" "$targetFile3"
|
_replaceInFile "$startMarker" "$endMarker" "$customtext" "$targetFile3"
|
||||||
_replaceInFile "$startMarker" "$endMarker" "$customtext" "$targetFile4"
|
_replaceInFile "$startMarker" "$endMarker" "$customtext" "$targetFile4"
|
||||||
|
_replaceInFile "$startMarker" "$endMarker" "$customtext" "$targetFile5"
|
||||||
echo "Waybar Systray restored."
|
echo "Waybar Systray restored."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -257,6 +261,7 @@ echo -e "${NONE}"
|
|||||||
targetFile2="$HOME/dotfiles-versions/$version/waybar/themes/ml4w-blur/config"
|
targetFile2="$HOME/dotfiles-versions/$version/waybar/themes/ml4w-blur/config"
|
||||||
targetFile3="$HOME/dotfiles-versions/$version/waybar/themes/ml4w-blur-bottom/config"
|
targetFile3="$HOME/dotfiles-versions/$version/waybar/themes/ml4w-blur-bottom/config"
|
||||||
targetFile4="$HOME/dotfiles-versions/$version/waybar/themes/ml4w-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"
|
settingsFile="$HOME/dotfiles/.settings/waybar_network"
|
||||||
if [ -f $settingsFile ] ;then
|
if [ -f $settingsFile ] ;then
|
||||||
startMarker="START NETWORK TOOGLE"
|
startMarker="START NETWORK TOOGLE"
|
||||||
@ -266,6 +271,7 @@ echo -e "${NONE}"
|
|||||||
_replaceInFile "$startMarker" "$endMarker" "$customtext" "$targetFile2"
|
_replaceInFile "$startMarker" "$endMarker" "$customtext" "$targetFile2"
|
||||||
_replaceInFile "$startMarker" "$endMarker" "$customtext" "$targetFile3"
|
_replaceInFile "$startMarker" "$endMarker" "$customtext" "$targetFile3"
|
||||||
_replaceInFile "$startMarker" "$endMarker" "$customtext" "$targetFile4"
|
_replaceInFile "$startMarker" "$endMarker" "$customtext" "$targetFile4"
|
||||||
|
_replaceInFile "$startMarker" "$endMarker" "$customtext" "$targetFile5"
|
||||||
echo "Waybar Network restored."
|
echo "Waybar Network restored."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -274,6 +280,7 @@ echo -e "${NONE}"
|
|||||||
targetFile2="$HOME/dotfiles/waybar/themes/ml4w-blur/config"
|
targetFile2="$HOME/dotfiles/waybar/themes/ml4w-blur/config"
|
||||||
targetFile3="$HOME/dotfiles/waybar/themes/ml4w-blur-bottom/config"
|
targetFile3="$HOME/dotfiles/waybar/themes/ml4w-blur-bottom/config"
|
||||||
targetFile4="$HOME/dotfiles/waybar/themes/ml4w-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"
|
settingsFile="$HOME/dotfiles/.settings/waybar_swaylock"
|
||||||
if [ -f $settingsFile ] ;then
|
if [ -f $settingsFile ] ;then
|
||||||
startMarker="START IDLE TOOGLE"
|
startMarker="START IDLE TOOGLE"
|
||||||
@ -283,6 +290,7 @@ echo -e "${NONE}"
|
|||||||
_replaceInFile "$startMarker" "$endMarker" "$customtext" "$targetFile2"
|
_replaceInFile "$startMarker" "$endMarker" "$customtext" "$targetFile2"
|
||||||
_replaceInFile "$startMarker" "$endMarker" "$customtext" "$targetFile3"
|
_replaceInFile "$startMarker" "$endMarker" "$customtext" "$targetFile3"
|
||||||
_replaceInFile "$startMarker" "$endMarker" "$customtext" "$targetFile4"
|
_replaceInFile "$startMarker" "$endMarker" "$customtext" "$targetFile4"
|
||||||
|
_replaceInFile "$startMarker" "$endMarker" "$customtext" "$targetFile5"
|
||||||
echo "Waybar Idle restored."
|
echo "Waybar Idle restored."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -8,6 +8,7 @@ targetFile1="$HOME/dotfiles/waybar/themes/ml4w/config"
|
|||||||
targetFile2="$HOME/dotfiles/waybar/themes/ml4w-blur/config"
|
targetFile2="$HOME/dotfiles/waybar/themes/ml4w-blur/config"
|
||||||
targetFile3="$HOME/dotfiles/waybar/themes/ml4w-blur-bottom/config"
|
targetFile3="$HOME/dotfiles/waybar/themes/ml4w-blur-bottom/config"
|
||||||
targetFile4="$HOME/dotfiles/waybar/themes/ml4w-bottom/config"
|
targetFile4="$HOME/dotfiles/waybar/themes/ml4w-bottom/config"
|
||||||
|
targetFile5="$HOME/dotfiles/waybar/themes/ml4w-minimal/config"
|
||||||
settingsFile="$HOME/dotfiles/.settings/waybar_bluetooth"
|
settingsFile="$HOME/dotfiles/.settings/waybar_bluetooth"
|
||||||
|
|
||||||
# Define Markers
|
# Define Markers
|
||||||
@ -30,6 +31,7 @@ if [ ! -z $customvalue ]; then
|
|||||||
_replaceInFile $startMarker $endMarker $customtext $targetFile2
|
_replaceInFile $startMarker $endMarker $customtext $targetFile2
|
||||||
_replaceInFile $startMarker $endMarker $customtext $targetFile3
|
_replaceInFile $startMarker $endMarker $customtext $targetFile3
|
||||||
_replaceInFile $startMarker $endMarker $customtext $targetFile4
|
_replaceInFile $startMarker $endMarker $customtext $targetFile4
|
||||||
|
_replaceInFile $startMarker $endMarker $customtext $targetFile5
|
||||||
_writeSettings $settingsFile $customtext
|
_writeSettings $settingsFile $customtext
|
||||||
|
|
||||||
# Reload Waybar
|
# Reload Waybar
|
||||||
|
@ -8,6 +8,7 @@ targetFile1="$HOME/dotfiles/waybar/themes/ml4w/config"
|
|||||||
targetFile2="$HOME/dotfiles/waybar/themes/ml4w-blur/config"
|
targetFile2="$HOME/dotfiles/waybar/themes/ml4w-blur/config"
|
||||||
targetFile3="$HOME/dotfiles/waybar/themes/ml4w-blur-bottom/config"
|
targetFile3="$HOME/dotfiles/waybar/themes/ml4w-blur-bottom/config"
|
||||||
targetFile4="$HOME/dotfiles/waybar/themes/ml4w-bottom/config"
|
targetFile4="$HOME/dotfiles/waybar/themes/ml4w-bottom/config"
|
||||||
|
targetFile5="$HOME/dotfiles/waybar/themes/ml4w-minimal/config"
|
||||||
settingsFile="$HOME/dotfiles/.settings/waybar_network"
|
settingsFile="$HOME/dotfiles/.settings/waybar_network"
|
||||||
|
|
||||||
# Define Markers
|
# Define Markers
|
||||||
@ -28,6 +29,7 @@ if [ ! -z $customvalue ]; then
|
|||||||
_replaceInFile $startMarker $endMarker $customtext $targetFile2
|
_replaceInFile $startMarker $endMarker $customtext $targetFile2
|
||||||
_replaceInFile $startMarker $endMarker $customtext $targetFile3
|
_replaceInFile $startMarker $endMarker $customtext $targetFile3
|
||||||
_replaceInFile $startMarker $endMarker $customtext $targetFile4
|
_replaceInFile $startMarker $endMarker $customtext $targetFile4
|
||||||
|
_replaceInFile $startMarker $endMarker $customtext $targetFile5
|
||||||
_writeSettings $settingsFile $customtext
|
_writeSettings $settingsFile $customtext
|
||||||
|
|
||||||
# Reload Waybar
|
# Reload Waybar
|
||||||
|
@ -8,6 +8,7 @@ targetFile1="$HOME/dotfiles/waybar/themes/ml4w/config"
|
|||||||
targetFile2="$HOME/dotfiles/waybar/themes/ml4w-blur/config"
|
targetFile2="$HOME/dotfiles/waybar/themes/ml4w-blur/config"
|
||||||
targetFile3="$HOME/dotfiles/waybar/themes/ml4w-blur-bottom/config"
|
targetFile3="$HOME/dotfiles/waybar/themes/ml4w-blur-bottom/config"
|
||||||
targetFile4="$HOME/dotfiles/waybar/themes/ml4w-bottom/config"
|
targetFile4="$HOME/dotfiles/waybar/themes/ml4w-bottom/config"
|
||||||
|
targetFile5="$HOME/dotfiles/waybar/themes/ml4w-minimal/config"
|
||||||
settingsFile="$HOME/dotfiles/.settings/waybar_swaylock"
|
settingsFile="$HOME/dotfiles/.settings/waybar_swaylock"
|
||||||
|
|
||||||
# Define Markers
|
# Define Markers
|
||||||
@ -28,6 +29,7 @@ if [ ! -z $customvalue ]; then
|
|||||||
_replaceInFile $startMarker $endMarker $customtext $targetFile2
|
_replaceInFile $startMarker $endMarker $customtext $targetFile2
|
||||||
_replaceInFile $startMarker $endMarker $customtext $targetFile3
|
_replaceInFile $startMarker $endMarker $customtext $targetFile3
|
||||||
_replaceInFile $startMarker $endMarker $customtext $targetFile4
|
_replaceInFile $startMarker $endMarker $customtext $targetFile4
|
||||||
|
_replaceInFile $startMarker $endMarker $customtext $targetFile5
|
||||||
_writeSettings $settingsFile $customtext
|
_writeSettings $settingsFile $customtext
|
||||||
|
|
||||||
# Reload Waybar
|
# Reload Waybar
|
||||||
|
@ -8,6 +8,7 @@ targetFile1="$HOME/dotfiles/waybar/themes/ml4w/config"
|
|||||||
targetFile2="$HOME/dotfiles/waybar/themes/ml4w-blur/config"
|
targetFile2="$HOME/dotfiles/waybar/themes/ml4w-blur/config"
|
||||||
targetFile3="$HOME/dotfiles/waybar/themes/ml4w-blur-bottom/config"
|
targetFile3="$HOME/dotfiles/waybar/themes/ml4w-blur-bottom/config"
|
||||||
targetFile4="$HOME/dotfiles/waybar/themes/ml4w-bottom/config"
|
targetFile4="$HOME/dotfiles/waybar/themes/ml4w-bottom/config"
|
||||||
|
targetFile5="$HOME/dotfiles/waybar/themes/ml4w-minimal/config"
|
||||||
settingsFile="$HOME/dotfiles/.settings/waybar_systray"
|
settingsFile="$HOME/dotfiles/.settings/waybar_systray"
|
||||||
|
|
||||||
# Define Markers
|
# Define Markers
|
||||||
@ -28,6 +29,7 @@ if [ ! -z $customvalue ]; then
|
|||||||
_replaceInFile $startMarker $endMarker $customtext $targetFile2
|
_replaceInFile $startMarker $endMarker $customtext $targetFile2
|
||||||
_replaceInFile $startMarker $endMarker $customtext $targetFile3
|
_replaceInFile $startMarker $endMarker $customtext $targetFile3
|
||||||
_replaceInFile $startMarker $endMarker $customtext $targetFile4
|
_replaceInFile $startMarker $endMarker $customtext $targetFile4
|
||||||
|
_replaceInFile $startMarker $endMarker $customtext $targetFile5
|
||||||
_writeSettings $settingsFile $customtext
|
_writeSettings $settingsFile $customtext
|
||||||
|
|
||||||
# Reload Waybar
|
# Reload Waybar
|
||||||
|
Loading…
Reference in New Issue
Block a user