switched to vala appmenu git

This commit is contained in:
Tio TROM 2022-11-17 21:45:27 +01:00
parent 8b30300998
commit c72ab9c6b0

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 || pacman -Qq vala-panel-appmenu-registrar-git ||
zensu SKIP_AUTOSNAP= pacman -S --noconfirm vala-panel-appmenu-registrar || zensu SKIP_AUTOSNAP= pacman -S --noconfirm vala-panel-appmenu-registrar-git ||
{ 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; } { 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; }
pacman -Qq vala-panel-appmenu-registrar || exit pacman -Qq vala-panel-appmenu-registrar-git || 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 || ! pacman -Qq vala-panel-appmenu-registrar-git ||
zensu SKIP_AUTOSNAP= pacman -R --noconfirm vala-panel-appmenu-registrar || zensu SKIP_AUTOSNAP= pacman -R --noconfirm vala-panel-appmenu-registrar-git ||
{ 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; } { 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; }
pacman -Qq vala-panel-appmenu-registrar && exit pacman -Qq vala-panel-appmenu-registrar-git && exit
killall appmenu-registrar killall appmenu-registrar
# Hide window borders when maximized # Hide window borders when maximized