mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-23 20:34:46 +02:00
setup: add package list and create directory if they don't exist
This commit is contained in:
parent
cbf4695a21
commit
37e0594248
3 changed files with 26 additions and 0 deletions
|
@ -28,6 +28,7 @@ gtk2:write(gtk)
|
|||
gtk2:close()
|
||||
|
||||
-- GTK3 is the same, but no double quotes for strings
|
||||
os.execute("test -d ~/.config/gtk-3.0 || mkdir -p ~/.config/gtk-3.0")
|
||||
local gtk3 = io.open(os.getenv("HOME") .. "/.config/gtk-3.0/settings.ini", "w")
|
||||
gtk, _ = gtk:gsub('"', '')
|
||||
gtk3:write("[Settings]\n")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue