This commit is contained in:
Stephan Raabe 2024-02-21 08:42:16 +01:00
parent 68436e2b26
commit d82c423eb9
2 changed files with 13 additions and 12 deletions

View File

@ -13,7 +13,6 @@
sleep 1
clear
figlet "Updates"
EOF
_isInstalledYay() {
package="$1";

View File

@ -5,7 +5,7 @@
# | | | | | | __/ | | | | | __/\__ \\ V V /| | || (__| | | | __/ |
# |_| |_| |_|\___|_| |_| |_|\___||___/ \_/\_/ |_|\__\___|_| |_|\___|_|
#
# by Stephan Raabe (2023)
# by Stephan Raabe (2024)
# -----------------------------------------------------
# -----------------------------------------------------
@ -25,6 +25,7 @@ listNames=""
options=$(find $themes_path -maxdepth 2 -type d)
for value in $options
do
if [ ! $value == "$HOME/dotfiles/waybar/themes/assets" ]; then
if [ ! $value == "$themes_path" ]; then
if [ $(find $value -maxdepth 1 -type d | wc -l) = 1 ]; then
result=$(echo $value | sed "s#$HOME/dotfiles/waybar/themes/#/#g")
@ -38,6 +39,7 @@ do
fi
fi
fi
fi
done
# -----------------------------------------------------