2021-06-14 10:09:18 +02:00
|
|
|
--DOC_NO_USAGE --DOC_GEN_IMAGE
|
|
|
|
local awful = { wallpaper = require("awful.wallpaper") } --DOC_HIDE
|
|
|
|
local wibox = require("wibox") --DOC_HIDE
|
|
|
|
local beautiful = require("beautiful") --DOC_HIDE
|
|
|
|
|
|
|
|
screen[1]._resize {x = 0, y = 0, width = 320, height = 196} --DOC_HIDE
|
2021-10-02 01:54:22 +02:00
|
|
|
local s = screen[1] --DOC_HIDE
|
2021-06-14 10:09:18 +02:00
|
|
|
|
|
|
|
|
|
|
|
awful.wallpaper {
|
2021-10-02 01:54:22 +02:00
|
|
|
screen = s,
|
2021-06-14 10:09:18 +02:00
|
|
|
bg = "#0000ff",
|
|
|
|
widget = {
|
|
|
|
{
|
|
|
|
image = beautiful.wallpaper,
|
|
|
|
resize = true,
|
|
|
|
widget = wibox.widget.imagebox,
|
|
|
|
},
|
|
|
|
valign = "center",
|
|
|
|
halign = "center",
|
|
|
|
tiled = false,
|
|
|
|
widget = wibox.container.tile,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
require("gears.timer").run_delayed_calls_now() --DOC_HIDE
|