aboutsummaryrefslogtreecommitdiff
path: root/config.dot/awesome.link/rules.lua
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-07-23 10:54:38 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-07-23 10:54:38 -0300
commit3f0050c6152c5877a1fde347aa3e52565e615215 (patch)
treed65b016c592d3987d32450dcb7ca5193b7ecd8eb /config.dot/awesome.link/rules.lua
parent86a473aef87cb545bd2581b22c97cd274a88cad3 (diff)
downloadawesome-3f0050c6152c5877a1fde347aa3e52565e615215.tar.gz
awesome-3f0050c6152c5877a1fde347aa3e52565e615215.tar.bz2
Signals and rules in separate files
Diffstat (limited to 'config.dot/awesome.link/rules.lua')
-rw-r--r--config.dot/awesome.link/rules.lua28
1 files changed, 28 insertions, 0 deletions
diff --git a/config.dot/awesome.link/rules.lua b/config.dot/awesome.link/rules.lua
new file mode 100644
index 0000000..493cc4a
--- /dev/null
+++ b/config.dot/awesome.link/rules.lua
@@ -0,0 +1,28 @@
+-- {{{ Rules
+awful.rules.rules = {
+ -- All clients will match this rule.
+ { rule = { },
+ properties = { border_width = beautiful.border_width,
+ border_color = beautiful.border_normal,
+ focus = true,
+ keys = clientkeys,
+ buttons = clientbuttons } },
+ { rule = { class = "MPlayer" },
+ properties = { floating = true } },
+ { rule = { class = "pinentry" },
+ properties = { floating = true } },
+ { rule = { class = "gimp" },
+ properties = { floating = true } },
+ -- Size hint
+ -- See https://superuser.com/questions/347001/how-can-i-force-gvim-in-awesome-to-fill-the-screen
+ { rule = { class = "Gvim" },
+ properties = { size_hints_honor = false } },
+ { rule = { class = "XTerm" },
+ properties = { size_hints_honor = false } },
+ { rule = { class = "URxvt" },
+ properties = { size_hints_honor = false } },
+ -- Set Firefox to always map on tags number 2 of screen 1.
+ -- { rule = { class = "Firefox" },
+ -- properties = { tag = tags[1][2] } },
+}
+-- }}}