From 5a7bb462f4c3b40170d52882df6ed7f27aff7e4a Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sat, 2 Sep 2023 00:27:47 +0200 Subject: [PATCH] add location/enable dark theme switch and add extension after some gsettings definition --- arch.sh | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/arch.sh b/arch.sh index c9e9946..47e34a6 100644 --- a/arch.sh +++ b/arch.sh @@ -201,21 +201,6 @@ main() { fi # === 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 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 @@ -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.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.system.location enabled true # location # Default app Nautilus 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.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 gsettings set org.gnome.TextEditor style-scheme 'kate-dark' gsettings set org.gnome.TextEditor indent-style 'space'