Add background color

This commit is contained in:
Mylloon 2023-09-13 14:10:21 +02:00
parent aebd090b79
commit 21ed5b5de5
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -95,7 +95,7 @@ main() {
# Add aliases # Add aliases
wget -q https://git.mylloon.fr/Anri/confOS/raw/branch/main/.config/fish/conf.d/alias.fish -O "$HOME"/.config/fish/conf.d/alias.fish wget -q https://git.mylloon.fr/Anri/confOS/raw/branch/main/.config/fish/conf.d/alias.fish -O "$HOME"/.config/fish/conf.d/alias.fish
# Default themes in Gnome Terminal # Themes in Gnome Terminal, the default one will be the dark one
local GT_default GT_light local GT_default GT_light
GT_default=$(gsettings get org.gnome.Terminal.ProfilesList default | tr -d \') GT_default=$(gsettings get org.gnome.Terminal.ProfilesList default | tr -d \')
GT_light=$(uuidgen) GT_light=$(uuidgen)
@ -120,6 +120,7 @@ main() {
gsettings set org.gnome.Terminal.Legacy.Profile:/org/gnome/terminal/legacy/profiles:/:"${GT_default}"/ background-color "rgb(45,45,45)" gsettings set org.gnome.Terminal.Legacy.Profile:/org/gnome/terminal/legacy/profiles:/:"${GT_default}"/ background-color "rgb(45,45,45)"
# Light theme # Light theme
gsettings set org.gnome.Terminal.Legacy.Profile:/org/gnome/terminal/legacy/profiles:/:"${GT_light}"/ visible-name 'Light' gsettings set org.gnome.Terminal.Legacy.Profile:/org/gnome/terminal/legacy/profiles:/:"${GT_light}"/ visible-name 'Light'
gsettings set org.gnome.Terminal.Legacy.Profile:/org/gnome/terminal/legacy/profiles:/:"${GT_light}"/ background-color "rgb(253,246,227)"
# Keybinds # Keybinds
gsettings set org.gnome.Terminal.Legacy.Keybindings:/org/gnome/terminal/legacy/keybindings/ close-tab "<Control>w" gsettings set org.gnome.Terminal.Legacy.Keybindings:/org/gnome/terminal/legacy/keybindings/ close-tab "<Control>w"