Add custom-config and custom-style for ML4W waybar themes
This commit is contained in:
+11
-1
@@ -38,4 +38,14 @@ fi
|
||||
# -----------------------------------------------------
|
||||
# Loading the configuration
|
||||
# -----------------------------------------------------
|
||||
waybar -c ~/dotfiles/waybar/themes${arrThemes[0]}/config -s ~/dotfiles/waybar/themes${arrThemes[1]}/style.css &
|
||||
config_file="config"
|
||||
style_file="style.css"
|
||||
|
||||
# Standard files can be overwritten with an existing config-custom or style-custom.css
|
||||
if [ -f ~/dotfiles/waybar/themes${arrThemes[0]}/config-custom ] ;then
|
||||
config_file="config-custom"
|
||||
fi
|
||||
if [ -f ~/dotfiles/waybar/themes${arrThemes[1]}/style-custom.css ] ;then
|
||||
style_file="style-custom.css"
|
||||
fi
|
||||
waybar -c ~/dotfiles/waybar/themes${arrThemes[0]}/$config_file -s ~/dotfiles/waybar/themes${arrThemes[1]}/$style_file &
|
||||
|
||||
Reference in New Issue
Block a user