Skip to content

Commit

Permalink
Added gnome set once desktop to autostart on starup and script to load
Browse files Browse the repository at this point in the history
  • Loading branch information
Akash6222 committed Feb 13, 2024
1 parent 1f09857 commit dadf791
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
17 changes: 17 additions & 0 deletions etc/skel/.config/autostart/gnome_set_once.desktop
Original file line number Diff line number Diff line change
@@ -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=
9 changes: 9 additions & 0 deletions etc/skel/gnome_set_once.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit dadf791

Please sign in to comment.