aboutsummaryrefslogtreecommitdiff
path: root/.config/gtk-4.0
diff options
context:
space:
mode:
Diffstat (limited to '.config/gtk-4.0')
-rw-r--r--.config/gtk-4.0/env5
1 files changed, 5 insertions, 0 deletions
diff --git a/.config/gtk-4.0/env b/.config/gtk-4.0/env
new file mode 100644
index 0000000..42b34f5
--- /dev/null
+++ b/.config/gtk-4.0/env
@@ -0,0 +1,5 @@
+#!/bin/sh
+export GTK_THEME="adw-gtk3"
+. "$XDG_CACHE_HOME/mode/state/theme"
+[ "$mode" = "dark" ] && GTK_THEME="$GTK_THEME:dark"
+export GTK_THEME