From 26a9b48af3461ba374ae4df981ca7f5908c728ad Mon Sep 17 00:00:00 2001 From: Simon Rieger Date: Mon, 26 May 2025 11:20:14 +0200 Subject: [PATCH] update package installation template --- executable_install-fedora.sh | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/executable_install-fedora.sh b/executable_install-fedora.sh index d533ed5..bba26bb 100644 --- a/executable_install-fedora.sh +++ b/executable_install-fedora.sh @@ -82,7 +82,14 @@ hyprpm_update_plugin() { # Plugin-Aktivierung mit Statusprüfung for PLUGIN in "${PLUGINS_ARRAY[@]}"; do - if hyprpm list | grep -q "^${PLUGIN}\s+enabled"; then + if hyprpm list | ansi2txt | sed -E ' + /Plugin/{N;s/\n//;} + s/[→│└─]//g + s/Plugin //g + s/enabled: /enabled:/ + s/^ +//g + s/ +/ /g + ' | grep -q "^${PLUGIN} enabled:true"; then echo "ℹ️ $PLUGIN ist bereits aktiviert" else echo "Aktiviere $PLUGIN..." @@ -101,7 +108,7 @@ hyprpm update ### Funktionsaufruf mit mehreren Plugins hyprpm_update_plugin \ "https://github.com/hyprwm/hyprland-plugins" \ - "hyprexpo,hyprbars" + "hyprexpo" ## VSCodium sudo rpmkeys --import https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/-/raw/master/pub.gpg