Merge branch 'main' of git.mylloon.fr:Anri/confOS
This commit is contained in:
commit
d0c7a181b8
1 changed files with 17 additions and 7 deletions
24
arch.sh
24
arch.sh
|
@ -56,7 +56,8 @@ main() {
|
||||||
gnome-shell-extension-tiling-assistant \
|
gnome-shell-extension-tiling-assistant \
|
||||||
gnome-shell-extension-quick-settings-tweaks-git \
|
gnome-shell-extension-quick-settings-tweaks-git \
|
||||||
epson-inkjet-printer-stylus-photo-px810fw-series \
|
epson-inkjet-printer-stylus-photo-px810fw-series \
|
||||||
topgrade-bin ufw-docker texlive-latexindent-meta
|
topgrade-bin ufw-docker texlive-latexindent-meta \
|
||||||
|
gnome-shell-extension-nightthemeswitcher
|
||||||
|
|
||||||
# === Disable wayland ==
|
# === Disable wayland ==
|
||||||
sed -i "s/#Wayland/Wayland/g" /etc/gdm/custom.conf
|
sed -i "s/#Wayland/Wayland/g" /etc/gdm/custom.conf
|
||||||
|
@ -200,6 +201,15 @@ main() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# === Gnome configuration ==
|
# === Gnome configuration ==
|
||||||
|
# Enable location
|
||||||
|
gsettings set org.gnome.system.location enabled true
|
||||||
|
|
||||||
|
# Theme
|
||||||
|
gsettings set org.gnome.desktop.interface color-scheme prefer-dark
|
||||||
|
gsettings set org.gnome.desktop.interface gtk-theme Dracula
|
||||||
|
gsettings set org.gnome.desktop.wm.preferences theme Dracula
|
||||||
|
gsettings set org.gnome.desktop.interface icon-theme "Dracula"
|
||||||
|
|
||||||
# Extensions
|
# Extensions
|
||||||
killall -HUP gnome-shell # restart gnome
|
killall -HUP gnome-shell # restart gnome
|
||||||
gsettings set org.gnome.shell disable-user-extensions false # enable extensions globally
|
gsettings set org.gnome.shell disable-user-extensions false # enable extensions globally
|
||||||
|
@ -214,6 +224,7 @@ main() {
|
||||||
gnome-extensions enable AlphabeticalAppGrid@stuarthayhurst
|
gnome-extensions enable AlphabeticalAppGrid@stuarthayhurst
|
||||||
gnome-extensions enable tiling-assistant@leleat-on-github
|
gnome-extensions enable tiling-assistant@leleat-on-github
|
||||||
gnome-extensions enable quick-settings-tweaks@qwreey
|
gnome-extensions enable quick-settings-tweaks@qwreey
|
||||||
|
gnome-extensions enable nightthemeswitcher@romainvigier.fr
|
||||||
|
|
||||||
# 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)
|
||||||
|
@ -228,6 +239,7 @@ main() {
|
||||||
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/nautilus-shortcut/ command "nautilus -w" # set command
|
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/nautilus-shortcut/ command "nautilus -w" # set command
|
||||||
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/nautilus-shortcut/ binding "<Super>E" # set shortcut
|
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/nautilus-shortcut/ binding "<Super>E" # set shortcut
|
||||||
|
|
||||||
|
# Some Gnome configuration
|
||||||
gsettings set org.gnome.shell.extensions.dash-to-dock click-action minimize # add minimized window on dock click
|
gsettings set org.gnome.shell.extensions.dash-to-dock click-action minimize # add minimized window on dock click
|
||||||
gsettings set org.gnome.shell.extensions.dash-to-dock show-trash false # add Dash to Dock
|
gsettings set org.gnome.shell.extensions.dash-to-dock show-trash false # add Dash to Dock
|
||||||
gsettings set org.gnome.shell.extensions.dash-to-dock show-apps-at-top true # apps button at left
|
gsettings set org.gnome.shell.extensions.dash-to-dock show-apps-at-top true # apps button at left
|
||||||
|
@ -246,16 +258,14 @@ 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 --schemadir /usr/share/gnome-shell/extensions/nightthemeswitcher@romainvigier.fr/schemas/ set org.gnome.shell.extensions.nightthemeswitcher.gtk-variants enabled true # enable GTK theme to change
|
||||||
|
gsettings --schemadir /usr/share/gnome-shell/extensions/nightthemeswitcher@romainvigier.fr/schemas/ set org.gnome.shell.extensions.nightthemeswitcher.commands sunset "set org.gnome.desktop.wm.preferences theme Dracula" # change gtk theme to dark at sunset
|
||||||
|
# gsettings --schemadir /usr/share/gnome-shell/extensions/nightthemeswitcher@romainvigier.fr/schemas/ set org.gnome.shell.extensions.nightthemeswitcher.shell-variants enabled true # change shell theme to dark at sunset
|
||||||
|
# gsettings --schemadir /usr/share/gnome-shell/extensions/nightthemeswitcher@romainvigier.fr/schemas/ set org.gnome.shell.extensions.nightthemeswitcher.shell-variants day "TODO" # change shell theme at sunrise
|
||||||
|
|
||||||
# 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
|
||||||
|
|
||||||
# Theme
|
|
||||||
gsettings set org.gnome.desktop.interface color-scheme prefer-dark
|
|
||||||
gsettings set org.gnome.desktop.interface gtk-theme Dracula
|
|
||||||
gsettings set org.gnome.desktop.wm.preferences theme Dracula
|
|
||||||
gsettings set org.gnome.desktop.interface icon-theme "Dracula"
|
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
Loading…
Reference in a new issue