[Unit] Description=Restore the GNOME settings from ~/.config/gnome-settings/*.ini Before=gnome-session-pre.target ConditionPathIsDirectory=%h/.config/gnome-settings [Service] Environment=FRESH_SESSION=1 Type=oneshot ExecStart=%h/.local/bin/restore-gnome [Install] WantedBy=gnome-session-pre.target