rename .themestyle.sh to waybar.themestyle
This commit is contained in:
@ -6,12 +6,12 @@ killall waybar
|
||||
# Default theme: /THEMEFOLDER;/VARIATION
|
||||
themestyle="/ml4w;/ml4w/light"
|
||||
|
||||
# Get current theme information from .cache/.themestyle.sh
|
||||
if [ -f ~/.cache/.themestyle.sh ]; then
|
||||
themestyle=$(cat ~/.cache/.themestyle.sh)
|
||||
# Get current theme information from .cache/waybar.themestyle
|
||||
if [ -f ~/.cache/waybar.themestyle ]; then
|
||||
themestyle=$(cat ~/.cache/waybar.themestyle)
|
||||
else
|
||||
touch ~/.cache/.themestyle.sh
|
||||
echo "$themestyle" > ~/.cache/.themestyle.sh
|
||||
touch ~/.cache/waybar.themestyle
|
||||
echo "$themestyle" > ~/.cache/waybar.themestyle
|
||||
fi
|
||||
|
||||
IFS=';' read -ra arrThemes <<< "$themestyle"
|
||||
|
Reference in New Issue
Block a user