Autostart : Load dconf on login.

This commit is contained in:
Dmitry Voronin 2024-02-13 20:13:38 +03:00
parent b209da23ef
commit d4a1cc0a43
2 changed files with 21 additions and 9 deletions

View file

@ -0,0 +1,8 @@
[Desktop Entry]
Name=DconfLoad
GenericName=Load Gnome settings
Comment=Load Gnome settings
Exec=bash -c "sed -i -e s/voronind/$(whoami)/g ${HOME}/.config/linux/Gnome.dconf ; dconf load / < ${HOME}/.config/linux/Gnome.dconf"
Terminal=false
Type=Application
X-GNOME-Autostart-enabled=true

22
.gitignore vendored
View file

@ -69,6 +69,10 @@
!/.config/ !/.config/
/.config/* /.config/*
# Autostart.
!/.config/autostart/
!/.config/autostart/**
# Linux configs. # Linux configs.
!/.config/linux/ !/.config/linux/
!/.config/linux/** !/.config/linux/**
@ -93,26 +97,26 @@
!/.config/nix/ !/.config/nix/
!/.config/nix/** !/.config/nix/**
## Gtk-3.0. # Gtk-3.0.
!/.config/gtk-3.0/ !/.config/gtk-3.0/
!/.config/gtk-3.0/** !/.config/gtk-3.0/**
## Gtk-4.0. # Gtk-4.0.
!/.config/gtk-4.0/ !/.config/gtk-4.0/
!/.config/gtk-4.0/** !/.config/gtk-4.0/**
## Btop settings. # Btop settings.
!/.config/btop/ !/.config/btop/
!/.config/btop/btop.conf !/.config/btop/btop.conf
## Htop settings. # Htop settings.
!/.config/htop/ !/.config/htop/
!/.config/htop/** !/.config/htop/**
## User dirs. # User dirs.
!/.config/user-dirs.dirs !/.config/user-dirs.dirs
## Nvim. # Nvim.
!/.config/nvim/ !/.config/nvim/
!/.config/nvim/** !/.config/nvim/**
/.config/nvim/plugin/ /.config/nvim/plugin/
@ -121,7 +125,7 @@
!/.ssh/ !/.ssh/
/.ssh/** /.ssh/**
## Ssh config. # Ssh config.
!/.ssh/config !/.ssh/config
# Local configs. # Local configs.
@ -130,11 +134,11 @@
!/.local/share/ !/.local/share/
/.local/share/* /.local/share/*
## Background. # Background.
!/.local/share/backgrounds/ !/.local/share/backgrounds/
!/.local/share/backgrounds/background.jpg !/.local/share/backgrounds/background.jpg
## Flatpak overrides. # Flatpak overrides.
!/.local/share/flatpak/ !/.local/share/flatpak/
/.local/share/flatpak/* /.local/share/flatpak/*
!/.local/share/flatpak/overrides/ !/.local/share/flatpak/overrides/