Disable keyring

This commit is contained in:
Tom Willemse 2014-11-02 13:59:32 +01:00
parent 2c54c1b443
commit 3ac18ef802

View file

@ -239,24 +239,24 @@ function unlocked()
end end
end end
mykeyringlist = wibox.widget.textbox() -- mykeyringlist = wibox.widget.textbox()
mykeyringlist:set_text(unlocked()) -- mykeyringlist:set_text(unlocked())
mykeyringlist:set_font("FontAwesome") -- mykeyringlist:set_font("FontAwesome")
mykeyringlist:buttons( -- mykeyringlist:buttons(
awful.util.table.join( -- awful.util.table.join(
awful.button({ }, 2, function () -- awful.button({ }, 2, function ()
mykeyringlist:set_text(unlocked()) -- mykeyringlist:set_text(unlocked())
end) -- end)
) -- )
) -- )
mykeyringlisttimer = timer({ timeout = 60 }) -- mykeyringlisttimer = timer({ timeout = 60 })
mykeyringlisttimer:connect_signal( -- mykeyringlisttimer:connect_signal(
"timeout", -- "timeout",
function () -- function ()
mykeyringlist:set_text(unlocked()) -- mykeyringlist:set_text(unlocked())
end -- end
) -- )
mykeyringlisttimer:start() -- mykeyringlisttimer:start()
for s = 1, screen.count() do for s = 1, screen.count() do
-- Create a promptbox for each screen -- Create a promptbox for each screen
@ -292,7 +292,7 @@ for s = 1, screen.count() do
if s == 1 then if s == 1 then
if avandu then right_layout:add(myrsslist) end if avandu then right_layout:add(myrsslist) end
right_layout:add(mymaillist) right_layout:add(mymaillist)
right_layout:add(mykeyringlist) -- right_layout:add(mykeyringlist)
right_layout:add(wibox.widget.systray()) right_layout:add(wibox.widget.systray())
end end
right_layout:add(mytextclock) right_layout:add(mytextclock)