aboutsummaryrefslogtreecommitdiff
path: root/config.dot/awesome.link/rules.lua
diff options
context:
space:
mode:
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] } },
+}
+-- }}}