diff --git a/archiso/airootfs/etc/pacman.d/hooks/50-set-prefer-dark-mode.hook b/archiso/airootfs/etc/pacman.d/hooks/50-set-prefer-dark-mode.hook new file mode 100644 index 0000000..e878781 --- /dev/null +++ b/archiso/airootfs/etc/pacman.d/hooks/50-set-prefer-dark-mode.hook @@ -0,0 +1,13 @@ +# remove from airootfs! +[Trigger] +Operation = Install +Type = Package +Target = glibc + +[Action] +Description = Uncommenting en_US.UTF-8 locale and running locale-gen... +When = PostTransaction +Depends = glibc +Depends = sed +Depends = sh +Exec = /bin/sh -c "gsettings set org.gnome.desktop.interface color-scheme prefer-dark"