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
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
GT_default=$(gsettings get org.gnome.Terminal.ProfilesList default | tr -d \')
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)"
# 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}"/ background-color "rgb(253,246,227)"
# Keybinds
gsettings set org.gnome.Terminal.Legacy.Keybindings:/org/gnome/terminal/legacy/keybindings/ close-tab "<Control>w"