Skip to content

Commit

Permalink
v0.0.3 (#4)
Browse files Browse the repository at this point in the history
- dark mode as default in gnome 🌚
- minor change to how timers are disabled
  • Loading branch information
lgrn authored Feb 22, 2024
1 parent 48f924f commit df8ef3a
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions config/hooks/normal/9999-final.hook.chroot
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,23 @@ rm -rf /var/cache/*

for TIMER in apt-daily-upgrade apt-daily dpkg-db-backup fstrim man-db
do
if ! systemctl disable ${TIMER}.timer --now
then
echo "WARNING: ${TIMER} timer wasn't disabled"
else
echo "OK: ${TIMER}.timer disabled"
fi
systemctl disable ${TIMER}.timer --now || true
done

# set dark mode and wallpaper in gnome, then compile schemas (ie apply)

cat <<EOF >> /usr/share/glib-2.0/schemas/theme-override.gschema.override
[org.gnome.desktop.interface]
gtk-theme='Adwaita-dark'
color-scheme='prefer-dark'
[org.gnome.desktop.background]
picture-uri='file:///usr/share/backgrounds/gnome/blobs-l.svg'
EOF

glib-compile-schemas /usr/share/glib-2.0/schemas/

# Removing unused files
find . -name *~ -print0 | xargs -0 rm -f

Expand Down

0 comments on commit df8ef3a

Please sign in to comment.