aboutsummaryrefslogtreecommitdiff
path: root/config.dot/awesome.link/variables.lua
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-07-23 11:08:21 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-07-23 11:08:21 -0300
commitb0510ce32cf33900d7918392701943a9817cbf71 (patch)
treecf2cd16795098e832b7e55989bec93696dfa005f /config.dot/awesome.link/variables.lua
parent276f9a4e1f00f24d0a00615e74e4c0f5eb6e9c83 (diff)
downloadawesome-b0510ce32cf33900d7918392701943a9817cbf71.tar.gz
awesome-b0510ce32cf33900d7918392701943a9817cbf71.tar.bz2
Move stuff away from rc.lua
Diffstat (limited to 'config.dot/awesome.link/variables.lua')
-rw-r--r--config.dot/awesome.link/variables.lua30
1 files changed, 30 insertions, 0 deletions
diff --git a/config.dot/awesome.link/variables.lua b/config.dot/awesome.link/variables.lua
new file mode 100644
index 0000000..c9633a2
--- /dev/null
+++ b/config.dot/awesome.link/variables.lua
@@ -0,0 +1,30 @@
+-- {{{ Variable definitions
+-- This is used later as the default terminal and editor to run.
+terminal = "terminal"
+editor = os.getenv("EDITOR") or "editor"
+editor_cmd = terminal .. " " .. editor
+
+-- Default modkey.
+-- Usually, Mod4 is the key with a logo between Control and Alt.
+-- If you do not like this or do not have such a key,
+-- I suggest you to remap Mod4 to another key using xmodmap or other tools.
+-- However, you can use another modifier like Mod1, but it may interact with others.
+modkey = "Mod4"
+
+-- Table of layouts to cover with awful.layout.inc, order matters.
+layouts =
+{
+ awful.layout.suit.max,
+ awful.layout.suit.floating,
+ awful.layout.suit.tile,
+ awful.layout.suit.tile.left,
+ awful.layout.suit.tile.bottom,
+ awful.layout.suit.tile.top,
+ --awful.layout.suit.fair,
+ --awful.layout.suit.fair.horizontal,
+ --awful.layout.suit.spiral,
+ --awful.layout.suit.spiral.dwindle,
+ --awful.layout.suit.max.fullscreen,
+ --awful.layout.suit.magnifier
+}
+-- }}}