dots/.config/awesome/ui/decorations/wallpaper.lua

39 lines
1.4 KiB
Lua
Raw Normal View History

2023-04-11 17:21:03 -05:00
-- local gfs = require "gears.filesystem"
2023-04-04 08:43:40 -05:00
local qui = require "quarrel.ui"
2023-04-11 17:44:52 -05:00
local qvars = require "quarrel.vars"
local wallpaper = require "awful.wallpaper"
local wibox = require "wibox"
screen.connect_signal("request::wallpaper", function(s)
wallpaper {
2023-04-04 08:43:40 -05:00
bg = qvars.colors.dim.bg,
screen = s,
widget = {
widget = wibox.container.place,
valign = "center",
halign = "center",
{
widget = wibox.widget.textbox,
2023-04-04 08:43:40 -05:00
font = qui.font(1.5),
markup = table.concat({
2023-04-04 08:43:40 -05:00
qui.markup_fg(qvars.colors.red, " ___"),
qui.markup_fg(qvars.colors.green, " /\\ \\"),
qui.markup_fg(qvars.colors.yellow, " /::\\ \\"),
qui.markup_fg(qvars.colors.blue, "/::\\:\\__\\"),
qui.markup_fg(qvars.colors.pink, "\\/\\::/ /"),
qui.markup_fg(qvars.colors.cyan, " \\/__/")
}, "\n")
}
2023-04-11 17:21:03 -05:00
-- {
-- image = gfs.get_configuration_dir() .. "assets/nightmare_fuel.png",
-- resize = true,
-- widget = wibox.widget.imagebox,
-- },
-- valign = "center",
-- halign = "center",
-- tiled = false,
-- widget = wibox.container.tile,
}
}
end)