2019-08-19 07:31:53 +02:00
|
|
|
--DOC_GEN_IMAGE --DOC_NO_USAGE --DOC_HIDE_ALL
|
|
|
|
|
|
|
|
screen[1]._resize {x = 0, width = 640, height = 480}
|
|
|
|
|
|
|
|
local awful = {wibar = require("awful.wibar")}
|
|
|
|
|
|
|
|
function awful.spawn(_, args)
|
|
|
|
local c = client.gen_fake{}
|
|
|
|
c:tags({args.tag})
|
|
|
|
assert(#c:tags() == 1)
|
|
|
|
assert(c:tags()[1] == args.tag)
|
|
|
|
end
|
|
|
|
|
|
|
|
screen[1].padding = {
|
|
|
|
left = 40,
|
|
|
|
right = 40,
|
|
|
|
top = 20,
|
|
|
|
bottom = 20,
|
|
|
|
}
|
|
|
|
|
2019-11-16 20:08:36 +01:00
|
|
|
local wibar = awful.wibar {
|
2019-08-19 07:31:53 +02:00
|
|
|
position = "top",
|
|
|
|
height = 24,
|
|
|
|
}
|
|
|
|
|
|
|
|
return {
|
|
|
|
factor = 2 ,
|
|
|
|
show_boxes = false,
|
|
|
|
highlight_tiling_area = true ,
|
2021-07-06 09:53:21 +02:00
|
|
|
draw_wibars = {wibar},
|
2019-08-19 07:31:53 +02:00
|
|
|
}
|