move to "vala-panel-appmenu-registrar" instead of git

This commit is contained in:
Tio TROM 2023-02-21 01:30:27 +01:00
parent 23189891ac
commit 4bdf6261ee

View File

@ -5,10 +5,10 @@ profiles=$data/profiles
enable-top-bar-integration() { enable-top-bar-integration() {
# Enable global menus # Enable global menus
pacman -Qq vala-panel-appmenu-registrar-git || pacman -Qq vala-panel-appmenu-registrar ||
zensu SKIP_AUTOSNAP= pacman -S --noconfirm vala-panel-appmenu-registrar-git || zensu SKIP_AUTOSNAP= pacman -S --noconfirm vala-panel-appmenu-registrar ||
{ notify-send 'Error' 'Failed installing vala-panel-appmenu-registrar-git !\nmake sure that you typed the password correctly or that you are not currently installing or updating your system\nEnabling the internet connection might solve the issue'; exit; } { notify-send 'Error' 'Failed installing vala-panel-appmenu-registrar !\nmake sure that you typed the password correctly or that you are not currently installing or updating your system\nEnabling the internet connection might solve the issue'; exit; }
pacman -Qq vala-panel-appmenu-registrar-git || exit pacman -Qq vala-panel-appmenu-registrar || exit
# Hide window borders when maximized # Hide window borders when maximized
xfconf-query -c xfwm4 -p /general/borderless_maximize -n -t bool -s true xfconf-query -c xfwm4 -p /general/borderless_maximize -n -t bool -s true
@ -20,10 +20,10 @@ enable-top-bar-integration() {
disable-top-bar-integration() { disable-top-bar-integration() {
# Disable global menus # Disable global menus
! pacman -Qq vala-panel-appmenu-registrar-git || ! pacman -Qq vala-panel-appmenu-registrar ||
zensu SKIP_AUTOSNAP= pacman -R --noconfirm vala-panel-appmenu-registrar-git || zensu SKIP_AUTOSNAP= pacman -R --noconfirm vala-panel-appmenu-registrar ||
{ notify-send 'Error' 'Failed removing vala-panel-appmenu-registrar-git !\nmake sure that you typed the password correctly or that you are not currently installing or updating your system'; exit; } { notify-send 'Error' 'Failed removing vala-panel-appmenu-registrar !\nmake sure that you typed the password correctly or that you are not currently installing or updating your system'; exit; }
pacman -Qq vala-panel-appmenu-registrar-git && exit pacman -Qq vala-panel-appmenu-registrar && exit
killall appmenu-registrar killall appmenu-registrar
# Hide window borders when maximized # Hide window borders when maximized