Rewrote battery widget

This commit is contained in:
2022-04-24 09:42:45 -07:00
parent 3a70262d04
commit 38293246e3
9 changed files with 402 additions and 230 deletions

View File

@ -24,16 +24,6 @@ return {
end,
},
battery = {
watch = function(timeout, callback, widget)
awful.widget.watch(script_dir .. "battery", timeout, callback, widget)
end,
status = function(callback)
awful.spawn.easy_async(script_dir .. "battery", callback)
end,
},
rofi = {
launcher = function()
awful.spawn("rofi -show drun -theme \"" .. bin_dir .. "/rofi/launcher.rasi\"")