diff --git a/etc/skel/.config/autostart/gnome_set_once.desktop b/etc/skel/.config/autostart/gnome_set_once.desktop new file mode 100755 index 0000000..04b3bbd --- /dev/null +++ b/etc/skel/.config/autostart/gnome_set_once.desktop @@ -0,0 +1,17 @@ +[Desktop Entry] +Comment[en_US]=Loads GNOME settings at first start +Comment=Loads GNOME settings at first start +Exec=sh -c ~/gnome_set_once.sh +GenericName[en_US]= +GenericName= +Icon=variety +MimeType= +Name[en_US]=Dconf Loader +Name=Dconf Loader +Path= +StartupNotify=true +Terminal=false +TerminalOptions= +Type=Application +X-KDE-SubstituteUID=false +X-KDE-Username= diff --git a/etc/skel/gnome_set_once.sh b/etc/skel/gnome_set_once.sh new file mode 100755 index 0000000..590fcd6 --- /dev/null +++ b/etc/skel/gnome_set_once.sh @@ -0,0 +1,9 @@ +#!/bin/sh +gsettings set org.gnome.desktop.interface color-scheme prefer-dark +gsettings set org.gnome.Console use-system-font false +gsettings set org.gnome.Console custom-font 'JetBrainsMonoNL Nerd Font 12' +gsettings set org.gnome.Terminal.Legacy.Profile:/org/gnome/terminal/legacy/profiles:/:b1dcc9dd-5262-4d8d-a863-c897e6d979b9/ use-system-font false +gsettings set org.gnome.Terminal.Legacy.Profile:/org/gnome/terminal/legacy/profiles:/:b1dcc9dd-5262-4d8d-a863-c897e6d979b9/ font 'JetBrainsMono Nerd Font 12' + +# Removing script and gnome_set_once.desktop +rm ~/.config/autostart/gnome_set_once.desktop ~/gnome_set_once.sh