aboutsummaryrefslogtreecommitdiff
path: root/.config/awesome/ui/decorations/wallpaper.lua
blob: f7104ffc068cef5c267e0324b0228c52e3084293 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
local wallpaper = require "awful.wallpaper"
local wibox = require "wibox"
local vars = require "misc.vars"
local h = require "misc.helpers"

screen.connect_signal("request::wallpaper", function(s)
    wallpaper {
        bg = vars.colors.dim.bg,
        screen = s,
        widget = {
            widget = wibox.container.place,
            valign = "center",
            halign = "center",
            {
                widget = wibox.widget.textbox,
                font = h.font(1.5),
                markup = table.concat({
                    h.markup_fg(vars.colors.red, "   ___"),
                    h.markup_fg(vars.colors.green, "  /\\  \\"),
                    h.markup_fg(vars.colors.yellow, " /::\\  \\"),
                    h.markup_fg(vars.colors.blue, "/::\\:\\__\\"),
                    h.markup_fg(vars.colors.pink, "\\/\\::/  /"),
                    h.markup_fg(vars.colors.cyan, "   \\/__/")
                }, "\n")
            }
        }
    }
end)