diff options
author | Tim Keller <tjk@tjkeller.xyz> | 2024-10-18 21:49:17 -0500 |
---|---|---|
committer | Tim Keller <tjk@tjkeller.xyz> | 2024-10-18 21:49:17 -0500 |
commit | 923eb46350b1102749eb05cd2120c96cc6a715d0 (patch) | |
tree | 811da20b4195d4b5c65c8ac0090982a4a23f6a7d /widgets/audio.lua | |
download | awesome-923eb46350b1102749eb05cd2120c96cc6a715d0.tar.xz awesome-923eb46350b1102749eb05cd2120c96cc6a715d0.zip |
initial commit
Diffstat (limited to 'widgets/audio.lua')
-rw-r--r-- | widgets/audio.lua | 21 |
1 files changed, 21 insertions, 0 deletions
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 |