summaryrefslogtreecommitdiff
path: root/rc.lua
diff options
context:
space:
mode:
authorNicolas Schodet2013-11-19 22:34:24 +0100
committerNicolas Schodet2013-11-19 22:34:24 +0100
commit02bcdd463dcf490d661f7aece24e9f502a16ff21 (patch)
tree0bd3227decdf998c57d0351f41ac412cc4abbbf5 /rc.lua
parent2544780887306c2da71685f86a0587d1b92ee3a8 (diff)
remove gimp rules, now useless
Diffstat (limited to 'rc.lua')
-rw-r--r--rc.lua21
1 files changed, 0 insertions, 21 deletions
diff --git a/rc.lua b/rc.lua
index 46b6b2a..10b0197 100644
--- a/rc.lua
+++ b/rc.lua
@@ -299,21 +299,6 @@ root.keys(globalkeys)
-- {{{ Rules
-function struts(c, side)
- local workarea = screen[c.screen].workarea
- local width = c:geometry().width
- local xoffset
- if side == "left" then
- c:struts({ left = width })
- xoffset = 0
- else
- c:struts({ right = width })
- xoffset = workarea.width - width
- end
- c:geometry({ x = workarea.x + xoffset, y = workarea.y, width = width,
- height = workarea.height })
-end
-
awful.rules.rules = {
-- All clients will match this rule.
{ rule = { },
@@ -326,12 +311,6 @@ awful.rules.rules = {
properties = { floating = true } },
{ rule = { class = "Gimp" },
properties = { tag = tags[1][3] } },
- { rule = { class = "Gimp", role = "gimp-toolbox" },
- properties = { floating = true },
- callback = function (c) struts (c, "left") end },
- { rule = { class = "Gimp", role = "gimp-dock" },
- properties = { floating = true },
- callback = function (c) struts (c, "right") end },
{ rule = { class = "Iceweasel" },
properties = { tag = tags[1][2] } },
{ rule = { name = "OpenOffice" },