aboutsummaryrefslogtreecommitdiff
path: root/.config/awesome/test_rc.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/awesome/test_rc.lua')
-rw-r--r--.config/awesome/test_rc.lua22
1 files changed, 22 insertions, 0 deletions
diff --git a/.config/awesome/test_rc.lua b/.config/awesome/test_rc.lua
new file mode 100644
index 0000000..2882e7a
--- /dev/null
+++ b/.config/awesome/test_rc.lua
@@ -0,0 +1,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")
+ }
+ }
+}