diff options
Diffstat (limited to '.config/ags/lib/gtk.ts')
| -rw-r--r-- | .config/ags/lib/gtk.ts | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/.config/ags/lib/gtk.ts b/.config/ags/lib/gtk.ts deleted file mode 100644 index 8cd60a3..0000000 --- a/.config/ags/lib/gtk.ts +++ /dev/null @@ -1,16 +0,0 @@ -import Gio from "gi://Gio" -import options from "options" - -const settings = new Gio.Settings({ - schema: "org.gnome.desktop.interface", -}) - -function gtk() { - const scheme = options.theme.scheme.value - settings.set_string("color-scheme", `prefer-${scheme}`) -} - -export default function init() { - options.theme.scheme.connect("changed", gtk) - gtk() -} |
