aboutsummaryrefslogtreecommitdiff
path: root/.local/share/bin/mode
diff options
context:
space:
mode:
Diffstat (limited to '.local/share/bin/mode')
-rwxr-xr-x.local/share/bin/mode1
1 files changed, 1 insertions, 0 deletions
diff --git a/.local/share/bin/mode b/.local/share/bin/mode
index 27851e2..e25404b 100755
--- a/.local/share/bin/mode
+++ b/.local/share/bin/mode
@@ -92,6 +92,7 @@ switch_gtk() {
sed "s/-Light/-Dark/" -i ~/.config/gtk-3.0/settings.ini
sed "s/gtk-application-prefer-dark-theme.*/gtk-application-prefer-dark-theme=true/" -i ~/.config/gtk-3.0/settings.ini
fi
+ grep gtk-theme-name .config/gtk-3.0/settings.ini | cut -f2 -d= | xargs xfconf-query -c xsettings -p /Net/ThemeName -s
}
switch_fcitx5() {