update
This commit is contained in:
parent
f2d5f4e7c9
commit
7e0ca28180
4 changed files with 41 additions and 41 deletions
|
|
@ -11,7 +11,7 @@ in
|
|||
home = "/Users/ragon";
|
||||
};
|
||||
environment.systemPackages = [
|
||||
myEmacs
|
||||
# myEmacs
|
||||
];
|
||||
|
||||
homebrew = {
|
||||
|
|
@ -64,7 +64,7 @@ in
|
|||
'';
|
||||
in
|
||||
pkgs.substituteAll {
|
||||
src = ./hammerspoon.lua; inherit myEmacs notmuchMails;
|
||||
src = ./hammerspoon.lua; inherit notmuchMails;
|
||||
};
|
||||
home.file.".finicky.js".source = ./finicky.js;
|
||||
|
||||
|
|
|
|||
|
|
@ -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