add location/enable dark theme switch and add extension after some gsettings definition

This commit is contained in:
Mylloon 2023-09-02 00:27:47 +02:00
parent c0d5db43cb
commit 5a7bb462f4
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

32
arch.sh
View file

@ -201,21 +201,6 @@ main() {
fi fi
# === Gnome configuration == # === Gnome configuration ==
# Extensions
killall -HUP gnome-shell # restart gnome
gsettings set org.gnome.shell disable-user-extensions false # enable extensions globally
gsettings set org.gnome.shell disable-extension-version-validation true # legacy extension support
gnome-extensions enable dash-to-dock@micxgx.gmail.com
gnome-extensions enable ding@rastersoft.com
gnome-extensions enable x11gestures@joseexposito.github.io
gnome-extensions enable appindicatorsupport@rgcjonas.gmail.com
gnome-extensions enable no-overview@fthx
gnome-extensions enable gsconnect@andyholmes.github.io
gnome-extensions enable rounded-window-corners@yilozt
gnome-extensions enable AlphabeticalAppGrid@stuarthayhurst
gnome-extensions enable tiling-assistant@leleat-on-github
gnome-extensions enable quick-settings-tweaks@qwreey
# Nautilus keybinding # Nautilus keybinding
custom_keybindings_list=$(gsettings get org.gnome.settings-daemon.plugins.media-keys custom-keybindings) custom_keybindings_list=$(gsettings get org.gnome.settings-daemon.plugins.media-keys custom-keybindings)
if [[ $custom_keybindings_list == "@as []" ]] # creating new list if not exists if [[ $custom_keybindings_list == "@as []" ]] # creating new list if not exists
@ -247,6 +232,7 @@ main() {
gsettings set org.gnome.settings-daemon.plugins.color night-light-enabled true # mode "nuit" (lumière bleue) gsettings set org.gnome.settings-daemon.plugins.color night-light-enabled true # mode "nuit" (lumière bleue)
gsettings set org.gnome.desktop.peripherals.touchpad click-method areas # right click on laptop gsettings set org.gnome.desktop.peripherals.touchpad click-method areas # right click on laptop
gsettings set org.gnome.desktop.peripherals.mouse speed -0.6 # mouse speed gsettings set org.gnome.desktop.peripherals.mouse speed -0.6 # mouse speed
gsettings set org.gnome.system.location enabled true # location
# Default app Nautilus # Default app Nautilus
sed -i "s/inode\/directory=nautilus.desktop/inode\/directory=org.gnome.Nautilus.desktop/g" "$HOME"/.config/mimeapps.list sed -i "s/inode\/directory=nautilus.desktop/inode\/directory=org.gnome.Nautilus.desktop/g" "$HOME"/.config/mimeapps.list
@ -257,6 +243,22 @@ main() {
gsettings set org.gnome.desktop.wm.preferences theme Dracula gsettings set org.gnome.desktop.wm.preferences theme Dracula
gsettings set org.gnome.desktop.interface icon-theme "Dracula" gsettings set org.gnome.desktop.interface icon-theme "Dracula"
# Extensions
killall -HUP gnome-shell # restart gnome
gsettings set org.gnome.shell disable-user-extensions false # enable extensions globally
gsettings set org.gnome.shell disable-extension-version-validation true # legacy extension support
gnome-extensions enable dash-to-dock@micxgx.gmail.com
gnome-extensions enable ding@rastersoft.com
gnome-extensions enable x11gestures@joseexposito.github.io
gnome-extensions enable appindicatorsupport@rgcjonas.gmail.com
gnome-extensions enable no-overview@fthx
gnome-extensions enable gsconnect@andyholmes.github.io
gnome-extensions enable rounded-window-corners@yilozt
gnome-extensions enable AlphabeticalAppGrid@stuarthayhurst
gnome-extensions enable tiling-assistant@leleat-on-github
gnome-extensions enable quick-settings-tweaks@qwreey
gnome-extensions enable nightthemeswitcher@romainvigier.fr
# Configuration TextEditor # Configuration TextEditor
gsettings set org.gnome.TextEditor style-scheme 'kate-dark' gsettings set org.gnome.TextEditor style-scheme 'kate-dark'
gsettings set org.gnome.TextEditor indent-style 'space' gsettings set org.gnome.TextEditor indent-style 'space'