update
This commit is contained in:
parent
f2d5f4e7c9
commit
7e0ca28180
4 changed files with 41 additions and 41 deletions
|
|
@ -352,12 +352,12 @@ local function notmuchTimerFunction()
|
|||
end
|
||||
|
||||
notmuchMenubar = hs.menubar.new()
|
||||
notmuchMenubar:setClickCallback(function(options)
|
||||
if options.shift then
|
||||
notmuchTimerFunction()
|
||||
else
|
||||
hs.task.new("@myEmacs@/bin/emacsclient", nil, function() return false end,
|
||||
{ "-c", "-a", "", "--eval", "(=notmuch)" }):start()
|
||||
end
|
||||
end)
|
||||
-- notmuchMenubar:setClickCallback(function(options)
|
||||
-- if options.shift then
|
||||
-- notmuchTimerFunction()
|
||||
-- else
|
||||
-- hs.task.new("@myEmacs@/bin/emacsclient", nil, function() return false end,
|
||||
-- { "-c", "-a", "", "--eval", "(=notmuch)" }):start()
|
||||
-- end
|
||||
-- end)
|
||||
notmuchTimer = hs.timer.doEvery(300, notmuchTimerFunction)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue