Updates
This commit is contained in:
parent
68436e2b26
commit
d82c423eb9
|
@ -13,7 +13,6 @@
|
||||||
sleep 1
|
sleep 1
|
||||||
clear
|
clear
|
||||||
figlet "Updates"
|
figlet "Updates"
|
||||||
EOF
|
|
||||||
|
|
||||||
_isInstalledYay() {
|
_isInstalledYay() {
|
||||||
package="$1";
|
package="$1";
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
# | | | | | | __/ | | | | | __/\__ \\ V V /| | || (__| | | | __/ |
|
# | | | | | | __/ | | | | | __/\__ \\ V V /| | || (__| | | | __/ |
|
||||||
# |_| |_| |_|\___|_| |_| |_|\___||___/ \_/\_/ |_|\__\___|_| |_|\___|_|
|
# |_| |_| |_|\___|_| |_| |_|\___||___/ \_/\_/ |_|\__\___|_| |_|\___|_|
|
||||||
#
|
#
|
||||||
# by Stephan Raabe (2023)
|
# by Stephan Raabe (2024)
|
||||||
# -----------------------------------------------------
|
# -----------------------------------------------------
|
||||||
|
|
||||||
# -----------------------------------------------------
|
# -----------------------------------------------------
|
||||||
|
@ -25,6 +25,7 @@ listNames=""
|
||||||
options=$(find $themes_path -maxdepth 2 -type d)
|
options=$(find $themes_path -maxdepth 2 -type d)
|
||||||
for value in $options
|
for value in $options
|
||||||
do
|
do
|
||||||
|
if [ ! $value == "$HOME/dotfiles/waybar/themes/assets" ]; then
|
||||||
if [ ! $value == "$themes_path" ]; then
|
if [ ! $value == "$themes_path" ]; then
|
||||||
if [ $(find $value -maxdepth 1 -type d | wc -l) = 1 ]; then
|
if [ $(find $value -maxdepth 1 -type d | wc -l) = 1 ]; then
|
||||||
result=$(echo $value | sed "s#$HOME/dotfiles/waybar/themes/#/#g")
|
result=$(echo $value | sed "s#$HOME/dotfiles/waybar/themes/#/#g")
|
||||||
|
@ -38,6 +39,7 @@ do
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
# -----------------------------------------------------
|
# -----------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue
Block a user