reno/modules/rules_stub.lua

39 lines
1.0 KiB
Lua

local awful = require("awful")
local gears = require("gears")
awful.rules.rules = gears.table.join(awful.rules.rules, {
{ rule_any = { class = {
"steam_app_548430",
"steam_app_%d*",
"love",
"^Minecraft.*"
}},
properties = {inhibit_compositor = true},
},
{ rule_any = { class = {
"thunderbird"
}},
properties = {callback = function(c)
gears.timer.delayed_call(function()
c.minimized = true
end)
end}
},
{ rule = { fullscreen = true },
properties = {
titlebars_enabled = false,
floating = true,
border_width = 0,
border_color = 0,
size_hints_honor = false,
placement=awful.placement.no_offscreen
},
callback = function(c)
gears.timer.delayed_call(function()
if c.valid then
c:geometry(c.screen.geometry)
end
end)
end
}
})