summaryrefslogtreecommitdiffstats
path: root/programs/dotfiles/awesome/rc.lua
diff options
context:
space:
mode:
authorJon Santmyer <jon@jonsantmyer.com>2023-09-24 20:07:40 -0400
committerJon Santmyer <jon@jonsantmyer.com>2023-09-24 20:07:40 -0400
commit59328d463daf5c7af066e284c7f9072e8da02f1f (patch)
tree5c1d8a003749ae519d59074d285f7361d23eb92f /programs/dotfiles/awesome/rc.lua
parent9cffa9b6eb594983b3f4fab4bceca42091a531e5 (diff)
downloadnix-config-59328d463daf5c7af066e284c7f9072e8da02f1f.tar.gz
nix-config-59328d463daf5c7af066e284c7f9072e8da02f1f.tar.bz2
nix-config-59328d463daf5c7af066e284c7f9072e8da02f1f.zip
add vomule widget to awesome
Diffstat (limited to 'programs/dotfiles/awesome/rc.lua')
-rw-r--r--programs/dotfiles/awesome/rc.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/programs/dotfiles/awesome/rc.lua b/programs/dotfiles/awesome/rc.lua
index 065eda3..904164a 100644
--- a/programs/dotfiles/awesome/rc.lua
+++ b/programs/dotfiles/awesome/rc.lua
@@ -140,6 +140,9 @@ toptextclock = wibox.widget.textclock()
local calendar_widget = require("calendar")
local topcalendar = calendar_widget()
+local volume_widget = require("volume")
+local volumebar = volume_widget()
+
toptextclock:connect_signal("button::press",
function(_, _, _, button)
if button == 1 then topcalendar.toggle() end
@@ -341,6 +344,7 @@ awful.screen.connect_for_each_screen(function(s)
top = 4,
bottom = 4
},
+ volumebar,
toptextclock,
wibox.container.margin(s.mylayoutbox, 4, 4, 4, 4),
},