mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-26 19:58:35 +02:00
gtk3: fix how the settings are written
Really write the settings. Don't append the number of substitutions.
This commit is contained in:
parent
ce3438a2a5
commit
f5fd2c1ba4
1 changed files with 3 additions and 2 deletions
|
@ -27,7 +27,8 @@ gtk2:write(gtk)
|
|||
gtk2:close()
|
||||
|
||||
-- GTK3 is the same, but no double quotes for strings
|
||||
local gtk3 = io.open(os.getenv("HOME") .. "/.config/gtk-3.0/settings.ini")
|
||||
local gtk3 = io.open(os.getenv("HOME") .. "/.config/gtk-3.0/settings.ini", "w")
|
||||
gtk, _ = gtk:gsub('"', '')
|
||||
gtk3:write("[Settings]\n")
|
||||
gtk3:write(gtk:gsub('"', ''))
|
||||
gtk3:write(gtk)
|
||||
gtk3:close()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue