From 923eb46350b1102749eb05cd2120c96cc6a715d0 Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Fri, 18 Oct 2024 21:49:17 -0500 Subject: initial commit --- widgets/audio.lua | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 widgets/audio.lua (limited to 'widgets/audio.lua') diff --git a/widgets/audio.lua b/widgets/audio.lua new file mode 100644 index 0000000..002c556 --- /dev/null +++ b/widgets/audio.lua @@ -0,0 +1,21 @@ +local awful = require("awful") +local wibox = require("wibox") +local gears = require("gears") + +local audio_dropdown = awful.popup { + widget = { + margins = 10, + widget = wibox.container.margin, + { + layout = wibox.layout.fixed.horizontal, + wibox.widget.textbox "AUDIO", + }, + }, + ontop = true, + placement = awful.placement.centered, + border_width = 1, + border_color = "#ff0000", + visible = true, +} + +return audio_dropdown -- cgit v1.2.3