This commit is contained in:
Stephan Raabe 2024-04-03 11:16:33 +02:00
parent f0761aed82
commit bd59b5e2a1

View File

@ -51,15 +51,9 @@ done
# ----------------------------------------------------- # -----------------------------------------------------
listNames=${listNames::-2} listNames=${listNames::-2}
choice=$(echo -e "$listNames" | rofi -dmenu -replace -i -config ~/dotfiles/rofi/config-themes.rasi -no-show-icons -width 30 -p "Themes" -format i) choice=$(echo -e "$listNames" | rofi -dmenu -replace -i -config ~/dotfiles/rofi/config-themes.rasi -no-show-icons -width 30 -p "Themes" -format i)
# Set the IFS variable to the desired delimiter
IFS="~" IFS="~"
# Input string to be split
input=$listNames2 input=$listNames2
# Use the read command to split the input string
read -ra array <<< "$input" read -ra array <<< "$input"
# Iterate over the elements of the array
count=1
# ----------------------------------------------------- # -----------------------------------------------------
# Set new theme by writing the theme information to ~/.cache/.themestyle.sh # Set new theme by writing the theme information to ~/.cache/.themestyle.sh