You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
930 B
34 lines
930 B
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 = { name = "notificationtoasts.*" },
|
|
properties = {
|
|
focusable = false
|
|
}
|
|
},
|
|
{ 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
|
|
}
|
|
})
|