gtk: Correr gsettings
This commit is contained in:
parent
12999418de
commit
6fcc7dffe1
1 changed files with 5 additions and 0 deletions
|
@ -2,3 +2,8 @@ save_config('gtk', [[
|
||||||
[Settings]
|
[Settings]
|
||||||
gtk-application-prefer-dark-theme = {dark}
|
gtk-application-prefer-dark-theme = {dark}
|
||||||
]], theme)
|
]], 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
|
||||||
|
|
Loading…
Reference in a new issue