Add more comments

This commit is contained in:
Stephan Raabe
2023-10-18 16:15:52 +02:00
parent b87cfe609c
commit 75a2170015
3 changed files with 24 additions and 9 deletions
+8 -1
View File
@@ -8,7 +8,14 @@
# by Stephan Raabe (2023)
# -----------------------------------------------------
# -----------------------------------------------------
# Default theme folder
# -----------------------------------------------------
themes_path="$HOME/dotfiles/waybar/themes"
# -----------------------------------------------------
# Initialize arrays
# -----------------------------------------------------
listThemes=""
listNames=""
@@ -40,7 +47,7 @@ listNames=${listNames::-2}
choice=$(echo -e "$listNames" | rofi -dmenu -config ~/dotfiles/rofi/config-wallpaper.rasi -no-show-icons -width 30 -p "Themes" -format i)
# -----------------------------------------------------
# Set new theme by writing the theme information to ~/.cache
# Set new theme by writing the theme information to ~/.cache/.themestyle.sh
# -----------------------------------------------------
if [ "$choice" ]; then
echo "${listThemes[$choice+1]}" > ~/.cache/.themestyle.sh