aboutsummaryrefslogtreecommitdiff
path: root/.config/awesome/test_rc.lua
blob: 2882e7aba4edac56cc56184b34c89dfb2afb395b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
local awful = require "awful"
local gshape = require "gears.shape"
local wibox = require "wibox"

awful.popup {
    width = 300,
    shape = function(cr, _, height)
        gshape.rectangle(cr, 200, height)
    end,
    border_color = "#ff0000",
    border_width = 10,
    placement = awful.placement.centered,
    widget = {
        widget = wibox.container.background,
        bg = "#00ff00",
        fg = "#0000ff",
        {
            widget = wibox.widget.textbox,
            text = ("testing"):rep(10, "\n")
        }
    }
}