diff --git a/.version/name b/.version/name index 14ab723..0409c16 100644 --- a/.version/name +++ b/.version/name @@ -1 +1 @@ -2.8.4RC3 \ No newline at end of file +2.8.4 \ No newline at end of file diff --git a/README.md b/README.md index 67343d9..024e181 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,8 @@ -# ML4W Dotfiles 2.8.4 RC3 +# ML4W Dotfiles 2.8.4 An advanced configuration of Hyprland and Qtile for Arch Linux based distributions. This package includes an installation script to install and setup the required components. -[![Screenshot](screenshots/v283/screenshot-283-2.png "Title Text")](screenshots/v283/screenshot-283-2.png) - -You can find the overview video (Version 2.8.3) on Youtube: [ML4W Dotfiles 2.8.3](https://youtu.be/zM2AYue0o8s) +[![Screenshot](screenshots/v284/screenshot-284-1.png "Title Text")](screenshots/v283/screenshot-284-1.png) The ML4W Dotfiles are available as @@ -184,7 +182,7 @@ All keybindings for Hyprland with right mouse click on Apps in waybar or here: # Hyprland - + diff --git a/screenshots/screenshot-dotfiles-settings-app.png b/screenshots/screenshot-dotfiles-settings-app.png index f157dc1..d6657f1 100644 Binary files a/screenshots/screenshot-dotfiles-settings-app.png and b/screenshots/screenshot-dotfiles-settings-app.png differ diff --git a/screenshots/screenshot-welcome.app.png b/screenshots/screenshot-welcome.app.png index 8cacb50..8038959 100644 Binary files a/screenshots/screenshot-welcome.app.png and b/screenshots/screenshot-welcome.app.png differ diff --git a/screenshots/v284/screenshot-284-1.png b/screenshots/v284/screenshot-284-1.png new file mode 100644 index 0000000..35cec80 Binary files /dev/null and b/screenshots/v284/screenshot-284-1.png differ diff --git a/waybar/themeswitcher.sh b/waybar/themeswitcher.sh index 61a1227..22a6491 100755 --- a/waybar/themeswitcher.sh +++ b/waybar/themeswitcher.sh @@ -18,6 +18,7 @@ themes_path="$HOME/dotfiles/waybar/themes" # ----------------------------------------------------- listThemes="" listNames="" +listNames2="" # ----------------------------------------------------- # Read theme folder @@ -35,8 +36,10 @@ do if [ -f $themes_path$result/config.sh ]; then source $themes_path$result/config.sh listNames+="$theme_name\n" + listNames2+="$theme_name~" else listNames+="/${arrThemes[1]};$result\n" + listNames2+="/${arrThemes[1]};$result~" fi fi fi @@ -49,6 +52,15 @@ 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 # ----------------------------------------------------- @@ -56,4 +68,5 @@ if [ "$choice" ]; then echo "Loading waybar theme..." echo "${listThemes[$choice+1]}" > ~/.cache/.themestyle.sh ~/dotfiles/waybar/launch.sh + notify-send "Waybar Theme changed" "to ${array[$choice]}" fi