aboutsummaryrefslogtreecommitdiff
path: root/.config/gtk-4.0/env
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-23 17:21:51 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-23 17:21:51 +0100
commit22ce06e37b1a12e638206559ef0dddd27879fa5e (patch)
treedd38ce07737b46027b9653b46db75b2f82b9461e /.config/gtk-4.0/env
parent5912fd0894420c1a1f49032af10ebb50d13b9763 (diff)
use default gtk theme
Diffstat (limited to '.config/gtk-4.0/env')
-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