gtk: Correr gsettings

This commit is contained in:
Cat /dev/Nulo 2022-07-03 14:43:08 -03:00
parent 12999418de
commit 6fcc7dffe1

View file

@ -2,3 +2,8 @@ save_config('gtk', [[
[Settings]
gtk-application-prefer-dark-theme = {dark}
]], theme)
if theme.dark then
os.execute("gsettings set org.gnome.desktop.interface color-scheme prefer-dark")
else
os.execute("gsettings set org.gnome.desktop.interface color-scheme prefer-light")
end