This commit is contained in:
Stephan Raabe
2024-03-20 11:08:37 +01:00
parent f1e2f2605c
commit c179958abf
2 changed files with 5 additions and 4 deletions
+3 -2
View File
@@ -21,7 +21,8 @@ listNames=""
# -----------------------------------------------------
# Read theme folder
# -----------------------------------------------------
# -----------------------------------------------------
sleep 0.2
options=$(find $themes_path -maxdepth 2 -type d)
for value in $options
do
@@ -46,7 +47,7 @@ done
# Show rofi dialog
# -----------------------------------------------------
listNames=${listNames::-2}
choice=$(echo -e "$listNames" | $(sleep 0.2; rofi -dmenu -replace -config ~/dotfiles/rofi/config-themes.rasi -no-show-icons -width 30 -p "Themes" -format i))
choice=$(echo -e "$listNames" | rofi -dmenu -replace -config ~/dotfiles/rofi/config-themes.rasi -no-show-icons -width 30 -p "Themes" -format i)
# -----------------------------------------------------
# Set new theme by writing the theme information to ~/.cache/.themestyle.sh