From d6a77fa751149af0c2624193655f13f779338a37 Mon Sep 17 00:00:00 2001 From: Dor dicke Gind Date: Sat, 16 Jul 2022 00:49:54 +0200 Subject: [PATCH] [TASK] try to set darkmode for calamaris --- .../etc/pacman.d/hooks/50-set-prefer-dark-mode.hook | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 archiso/airootfs/etc/pacman.d/hooks/50-set-prefer-dark-mode.hook 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"