This commit is contained in:
Lukas Graz 2022-04-20 14:19:35 +02:00
parent 25bc7bc502
commit 443eb64c7a
5 changed files with 34 additions and 12 deletions

View File

@ -56,7 +56,7 @@ echo -ne "
# X11 Model: acer_laptop # X11 Model: acer_laptop
# X11 Variant: nodeadkeys # X11 Variant: nodeadkeys
# #
# sed -i 's/^#en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen sed -i 's/^#en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen
sed -i 's/^#de_CH.UTF-8 UTF-8/de_CH.UTF-8 UTF-8/' /etc/locale.gen sed -i 's/^#de_CH.UTF-8 UTF-8/de_CH.UTF-8 UTF-8/' /etc/locale.gen
locale-gen locale-gen
touch /etc/locale.conf touch /etc/locale.conf

View File

@ -87,6 +87,9 @@ if [[ $INSTALL_TYPE == "FULL" ]]; then
cd ~ cd ~
git clone https://github.com/stojshic/dotfiles-openbox git clone https://github.com/stojshic/dotfiles-openbox
./dotfiles-openbox/install-titus.sh ./dotfiles-openbox/install-titus.sh
elif [[ $DESKTOP_ENV == "gnome" ]]
echo "Setting up my gnome things: "
bash ~/ArchTitus/scripts/my_gnome_setup.sh
fi fi
fi fi

View File

@ -90,7 +90,7 @@ echo -ne "
Enabling Essential Services Enabling Essential Services
------------------------------------------------------------------------- -------------------------------------------------------------------------
" "
systemctl enable cups.service systemctl enable cups.socket
echo " Cups enabled" echo " Cups enabled"
ntpd -qg ntpd -qg
systemctl enable ntpd.service systemctl enable ntpd.service

View File

@ -1,10 +0,0 @@
#!/usr/bin/env bash
GNOME_SHELL_VERSION=`gnome-shell --version`
echo $GNOME_SHELL_VERSION #| cut -d " " -f $2
yay -S gnome-shell-extension-installer
EXT_NAME=Material
# get search output (to find current ID)
MY_TEMP="`printf 'q' | gnome-shell-extension-installer $EXT_NAME`"
EXTENSION_ID=...??? # filter version
gnome-shell-extension-installer $EXTENSION_ID

29
scripts/my_gnome_setup.sh Executable file
View File

@ -0,0 +1,29 @@
#!/usr/bin/env bash
# fix KEYMAP
gsettings reset org.gnome.desktop.input-sources sources
gsettings set org.gnome.desktop.input-sources sources "[('xkb', 'de+nodeadkeys')]"
# disable Wayland
sed -i 's/^#WaylandEnable=false/WaylandEnable=false/' /etc/gdm/custom.conf
#######################################
### EXTENSIONS
#######################################
# get gnome version
temp=`gnome-shell --version`
GNOME_VERSION=${temp:12:2} && echo "gnome version: $GNOME_VERSION"
# get extension installer:
yay -S gnome-shell-extension-installer
printf $GNOME_VERSION | gnome-shell-extension-installer 779 # clipboard-indicator
printf $GNOME_VERSION | gnome-shell-extension-installer 277 # impatience
printf $GNOME_VERSION | gnome-shell-extension-installer 3357 # material shell
printf $GNOME_VERSION | gnome-shell-extension-installer 1460 # vitals (cpu/ram/storage/..)
printf $GNOME_VERSION | gnome-shell-extension-installer 1287 # unite (remove window top panel)
printf $GNOME_VERSION | gnome-shell-extension-installer 1112 # screenshot tool
printf $GNOME_VERSION | gnome-shell-extension-installer 3088 # Extension list
printf $GNOME_VERSION | gnome-shell-extension-installer 906 # Sound output chooser
killall -HUP gnome-shell # kill (hopfully restart) gnome-shell