From 1743a6fee00ad7805897bb02b35346ebfb699060 Mon Sep 17 00:00:00 2001 From: "Kevin Veen-Birkenbach [aka. Frantz]" Date: Tue, 19 May 2020 14:21:13 +0200 Subject: [PATCH] Solved gnome extension installation bug --- configuration/packages/client/pacman/gnome.txt | 3 +++ scripts/client/setup.sh | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 configuration/packages/client/pacman/gnome.txt diff --git a/configuration/packages/client/pacman/gnome.txt b/configuration/packages/client/pacman/gnome.txt new file mode 100644 index 0000000..19c89e4 --- /dev/null +++ b/configuration/packages/client/pacman/gnome.txt @@ -0,0 +1,3 @@ +gnome-shell-extensions +gnome-terminal +intltool # Needed for extension make diff --git a/scripts/client/setup.sh b/scripts/client/setup.sh index 65b3e81..3084f8e 100644 --- a/scripts/client/setup.sh +++ b/scripts/client/setup.sh @@ -116,7 +116,7 @@ fi if [ "$XDG_SESSION_TYPE" == "x11" ]; then info "Synchronizing xserver tools..." && - install_yay_packages_if_needed xbindkeys + install_yay_packages_if_needed xbindkeys && xbindkeys --poll-rc || error fi @@ -158,8 +158,8 @@ install_gnome_extension(){ } if [ "$DESKTOP_SESSION" == "gnome" ]; then - info "Synchronizing gnome tools..." && - sudo pacman --needed -S gnome-shell-extensions gnome-terminal && + info "Synchronizing gnome tools..." && + sudo pacman -S --needed "$(get_packages "client/pacman/gnome")" || error "Syncronisation failed." info "Setting up gnome dash favourites..." && gsettings set org.gnome.shell favorite-apps "['org.gnome.Nautilus.desktop', 'org.gnome.Terminal.desktop',