aboutsummaryrefslogtreecommitdiff
path: root/config.dot
diff options
context:
space:
mode:
Diffstat (limited to 'config.dot')
-rw-r--r--config.dot/awesome.link/widgets.lua24
1 files changed, 12 insertions, 12 deletions
diff --git a/config.dot/awesome.link/widgets.lua b/config.dot/awesome.link/widgets.lua
index d6ee20a..c6e5a8f 100644
--- a/config.dot/awesome.link/widgets.lua
+++ b/config.dot/awesome.link/widgets.lua
@@ -93,7 +93,7 @@ memicon.image = image(beautiful.widget_mem)
baticon = widget ({type = "imagebox" })
baticon.image = image(beautiful.widget_battery)
-batwidget = widget({ type = "textbox" })
+batwidget = widget({ type = "textbox" })
vicious.register( batwidget, vicious.widgets.bat, '<span background="#92B0A0" font="Terminus 12"> <span font="Terminus 9" color="#FFFFFF" background="#92B0A0">$1$2% </span></span>', 1, "BAT0" )
--{{---| Net widget |-------------------------------------------------------------------------------
@@ -102,24 +102,24 @@ netwidget = widget({ type = "textbox" })
vicious.register(netwidget,
vicious.widgets.net,
'<span background="#C2C2A4" font="Terminus 12"> <span font="Terminus 9" color="#FFFFFF">${eth0 down_kb} ↓↑ ${eth0 up_kb}</span> </span>', 3)
-neticon = widget ({type = "imagebox" })
+neticon = widget ({type = "imagebox" })
neticon.image = image(beautiful.widget_net)
netwidget:buttons(awful.util.table.join(awful.button({ }, 1,
function () awful.util.spawn_with_shell(iptraf) end)))
--{{---| Binary Clock |-----------------------------------------------------------------------------
-binaryclock = {}
-binaryclock.widget = widget({type = "imagebox"})
-binaryclock.w = 42
-binaryclock.h = 16
-binaryclock.show_sec = true
-binaryclock.color_active = beautiful.binclock_fga
-binaryclock.color_bg = beautiful.binclock_bg
+binaryclock = {}
+binaryclock.widget = widget({type = "imagebox"})
+binaryclock.w = 42
+binaryclock.h = 16
+binaryclock.show_sec = true
+binaryclock.color_active = beautiful.binclock_fga
+binaryclock.color_bg = beautiful.binclock_bg
binaryclock.color_inactive = beautiful.binclock_fgi
-binaryclock.dotsize = math.floor(binaryclock.h / 5)
-binaryclock.step = math.floor(binaryclock.dotsize / 3)
-binaryclock.widget.image = image.argb32(binaryclock.w, binaryclock.h, nil)
+binaryclock.dotsize = math.floor(binaryclock.h / 5)
+binaryclock.step = math.floor(binaryclock.dotsize / 3)
+binaryclock.widget.image = image.argb32(binaryclock.w, binaryclock.h, nil)
if (binaryclock.show_sec) then binaryclock.timeout = 1 else binaryclock.timeout = 20 end
binaryclock.DEC_BIN = function(IN)
local B,K,OUT,I,D=2,"01","",0