summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbd <bdunahu@colostate.edu>2024-05-24 12:25:12 -0600
committerbd <bdunahu@colostate.edu>2024-05-24 12:25:12 -0600
commit9101f55ca27519b832372eed16aa9b9df992ce7e (patch)
treee49b8f906e34f1d97ab8cfd2eedb83fd968258ad
parente3fc4ba63a0bd6cb546549ef4c8eb2778c417d4d (diff)
Darkmode for gtk apps
-rw-r--r--.config/guix/modules/base.scm10
-rw-r--r--.config/guix/modules/dwm/config.def.h2
2 files changed, 10 insertions, 2 deletions
diff --git a/.config/guix/modules/base.scm b/.config/guix/modules/base.scm
index b64adf5..91d41a3 100644
--- a/.config/guix/modules/base.scm
+++ b/.config/guix/modules/base.scm
@@ -60,4 +60,12 @@
(define-public base-services
(list
(service home-shepherd-service-type)
- (service home-dicod-service-type)))
+ (service home-dicod-service-type)
+ (simple-service 'themes
+ home-files-service-type
+ `((".config/gtk-2.0/settings.ini"
+ ,(plain-file "settings.ini" "[Settings]
+gtk-application-prefer-dark-theme=1\n"))
+ (".config/gtk-3.0/settings.ini"
+ ,(plain-file "settings.ini" "[Settings]
+gtk-application-prefer-dark-theme=1\n"))))))
diff --git a/.config/guix/modules/dwm/config.def.h b/.config/guix/modules/dwm/config.def.h
index 657ed7f..1a6c9ff 100644
--- a/.config/guix/modules/dwm/config.def.h
+++ b/.config/guix/modules/dwm/config.def.h
@@ -38,7 +38,7 @@ static const Rule rules[] = {
/* class instance title tags mask isfloating monitor */
{ "Emacs", NULL, NULL, 1 << 0, 0, -1 },
{ "Icecat", NULL, NULL, 1 << 1, 0, -1 },
- { "Librewolf",NULL, NULL, 1 << 1, 0, -1 },
+ { "librewolf",NULL, NULL, 1 << 1, 0, -1 },
{ "Zathura", NULL, NULL, 1 << 2, 0, -1 },
{ "libreoffice",NULL, NULL, 1 << 3, 0, -1 },
{ "Gimp", NULL, NULL, 1 << 4, 1, -1 },