mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-15 04:34:21 +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
4
rc.lua
4
rc.lua
|
@ -38,6 +38,10 @@ end
|
||||||
|
|
||||||
loadrc("errors") -- errors and debug stuff
|
loadrc("errors") -- errors and debug stuff
|
||||||
|
|
||||||
|
-- Create cache directory
|
||||||
|
os.execute("test -d " .. awful.util.getdir("cache") ..
|
||||||
|
" || mkdir -p " .. awful.util.getdir("cache"))
|
||||||
|
|
||||||
-- Global configuration
|
-- Global configuration
|
||||||
modkey = "Mod4"
|
modkey = "Mod4"
|
||||||
config = {}
|
config = {}
|
||||||
|
|
|
@ -28,6 +28,7 @@ gtk2:write(gtk)
|
||||||
gtk2:close()
|
gtk2:close()
|
||||||
|
|
||||||
-- GTK3 is the same, but no double quotes for strings
|
-- 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")
|
local gtk3 = io.open(os.getenv("HOME") .. "/.config/gtk-3.0/settings.ini", "w")
|
||||||
gtk, _ = gtk:gsub('"', '')
|
gtk, _ = gtk:gsub('"', '')
|
||||||
gtk3:write("[Settings]\n")
|
gtk3:write("[Settings]\n")
|
||||||
|
|
21
requirements.txt
Normal file
21
requirements.txt
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
# Packages needed
|
||||||
|
|
||||||
|
awesome
|
||||||
|
awesome-extra
|
||||||
|
i3lock
|
||||||
|
xautolock
|
||||||
|
xfonts-terminus
|
||||||
|
ttf-dejavu
|
||||||
|
xcompmgr
|
||||||
|
python-xpyb
|
||||||
|
python-imaging
|
||||||
|
fvwm
|
||||||
|
fvwm-crystal
|
||||||
|
gnome-themes-standard
|
||||||
|
gnome-wine-icon-theme
|
||||||
|
alsa-utils
|
||||||
|
pidgin
|
||||||
|
gnome-bluetooth
|
||||||
|
pulseaudio
|
||||||
|
numlockx
|
||||||
|
rxvt-unicode-256color
|
Loading…
Add table
Add a link
Reference in a new issue