From ce6a9829d9b79fe584c8c391dd550e6637a3bfc6 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Sun, 29 Jan 2023 14:11:09 +0800 Subject: Add dark mode switch --- .local/share/light-mode.d/gtk-theme.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 .local/share/light-mode.d/gtk-theme.sh (limited to '.local/share/light-mode.d/gtk-theme.sh') diff --git a/.local/share/light-mode.d/gtk-theme.sh b/.local/share/light-mode.d/gtk-theme.sh new file mode 100755 index 0000000..8a34e2e --- /dev/null +++ b/.local/share/light-mode.d/gtk-theme.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +gnome_schema='org.gnome.desktop.interface' +gtk_theme='Adwaita' + +gsettings set $gnome_schema gtk-theme $gtk_theme +gsettings set $gnome_schema icon-theme $gtk_theme +gsettings set $gnome_schema cursor-theme $gtk_theme -- cgit v1.2.3