diff --git a/layout-switcher b/layout-switcher index ee67112..154f544 100644 --- a/layout-switcher +++ b/layout-switcher @@ -7,7 +7,7 @@ enable-top-bar-integration() { # Enable global menus pacman -Qq vala-panel-appmenu-registrar || zensu SKIP_AUTOSNAP= pacman -S --noconfirm vala-panel-appmenu-registrar || - { notify-send 'Error' 'failed installing vala-panel-appmenu-registrar !\nmake sure you type the correct password\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 || exit # Hide window borders when maximized @@ -22,7 +22,7 @@ disable-top-bar-integration() { # Disable global menus ! pacman -Qq vala-panel-appmenu-registrar || zensu SKIP_AUTOSNAP= pacman -R --noconfirm vala-panel-appmenu-registrar || - { notify-send 'Error' 'failed removing vala-panel-appmenu-registrar !\nmake sure you type the correct password'; 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'; exit; } pacman -Qq vala-panel-appmenu-registrar && exit killall appmenu-registrar