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