From bd59b5e2a1d74796c2142a0ecdfc74f8db518349 Mon Sep 17 00:00:00 2001 From: Stephan Raabe Date: Wed, 3 Apr 2024 11:16:33 +0200 Subject: [PATCH] Updates --- waybar/themeswitcher.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/waybar/themeswitcher.sh b/waybar/themeswitcher.sh index 22a6491..30161a6 100755 --- a/waybar/themeswitcher.sh +++ b/waybar/themeswitcher.sh @@ -51,15 +51,9 @@ done # ----------------------------------------------------- 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) - -# Set the IFS variable to the desired delimiter IFS="~" -# Input string to be split input=$listNames2 -# Use the read command to split the input string 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