aboutsummaryrefslogtreecommitdiff
path: root/modules/awesome/config.dot/awesome.link/rc.lua.simple
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-02-01 01:25:10 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-02-01 01:25:10 -0200
commit6b9187673ee62d11042832f938913f15131592a7 (patch)
tree9e70016667efe273a72ab351aafaddbdb099e123 /modules/awesome/config.dot/awesome.link/rc.lua.simple
parent25235935e6c90557a4d6791c8d8f3a5cdf89681a (diff)
downloaddotfiles-6b9187673ee62d11042832f938913f15131592a7.tar.gz
dotfiles-6b9187673ee62d11042832f938913f15131592a7.tar.bz2
Adding metadot script
Diffstat (limited to 'modules/awesome/config.dot/awesome.link/rc.lua.simple')
-rw-r--r--modules/awesome/config.dot/awesome.link/rc.lua.simple13
1 files changed, 13 insertions, 0 deletions
diff --git a/modules/awesome/config.dot/awesome.link/rc.lua.simple b/modules/awesome/config.dot/awesome.link/rc.lua.simple
new file mode 100644
index 0000000..0910bca
--- /dev/null
+++ b/modules/awesome/config.dot/awesome.link/rc.lua.simple
@@ -0,0 +1,13 @@
+-- Environment variables
+homedir = os.getenv("HOME")
+configdir = homedir .. "/.config/awesome"
+
+-- Include default distro configuration
+dofile("/etc/xdg/awesome/rc.lua")
+dofile(configdir .. "/keys.lua")
+
+-- Custom changes
+terminal = "terminal"
+
+-- Background
+awful.util.spawn_with_shell("sleep 1 && awsetbg " .. homedir .. "/themes/backgrounds/background.jpg")