update package installation template
This commit is contained in:
parent
a05bf7ee10
commit
26a9b48af3
1 changed files with 9 additions and 2 deletions
|
@ -82,7 +82,14 @@ hyprpm_update_plugin() {
|
||||||
|
|
||||||
# Plugin-Aktivierung mit Statusprüfung
|
# Plugin-Aktivierung mit Statusprüfung
|
||||||
for PLUGIN in "${PLUGINS_ARRAY[@]}"; do
|
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"
|
echo "ℹ️ $PLUGIN ist bereits aktiviert"
|
||||||
else
|
else
|
||||||
echo "Aktiviere $PLUGIN..."
|
echo "Aktiviere $PLUGIN..."
|
||||||
|
@ -101,7 +108,7 @@ hyprpm update
|
||||||
### Funktionsaufruf mit mehreren Plugins
|
### Funktionsaufruf mit mehreren Plugins
|
||||||
hyprpm_update_plugin \
|
hyprpm_update_plugin \
|
||||||
"https://github.com/hyprwm/hyprland-plugins" \
|
"https://github.com/hyprwm/hyprland-plugins" \
|
||||||
"hyprexpo,hyprbars"
|
"hyprexpo"
|
||||||
|
|
||||||
## VSCodium
|
## VSCodium
|
||||||
sudo rpmkeys --import https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/-/raw/master/pub.gpg
|
sudo rpmkeys --import https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/-/raw/master/pub.gpg
|
||||||
|
|
Loading…
Add table
Reference in a new issue