working on hledger
This commit is contained in:
parent
5f97d1414b
commit
fcb6a5b05f
2 changed files with 13 additions and 4 deletions
|
@ -44,7 +44,8 @@ let
|
|||
tags = [ "+junk" "-unread" "-inbox" ];
|
||||
}
|
||||
{
|
||||
query = "from:space-left.org OR to:space-left.org OR subject:/\[space-left\]/";
|
||||
query =
|
||||
"from:space-left.org OR to:space-left.org OR subject:/[space-left]/";
|
||||
tags = [ "+spaceleft" "+list" "+space-left" ];
|
||||
}
|
||||
{
|
||||
|
|
|
@ -106,12 +106,18 @@ let
|
|||
|
||||
borrow = pkgs.writers.writeDashBin "borrow" # sh
|
||||
''
|
||||
${pkgs.hledger-ui}/bin/hledger-ui -f ~/finance/hledger-borrow "$@"
|
||||
TERM=xterm-mono ${pkgs.hledger-ui}/bin/hledger-ui --file ~/finance/hledger-borrow "$@"
|
||||
'';
|
||||
|
||||
bank = pkgs.writers.writeDashBin "bank" # sh
|
||||
''
|
||||
${pkgs.hledger-ui}/bin/hledger-ui -f ~/finance/hledger-bank "$@"
|
||||
TERM=xterm-mono ${pkgs.hledger-ui}/bin/hledger-ui --file ~/finance/hledger/`date +%Y`.journal "$@"
|
||||
'';
|
||||
|
||||
bank-old = year:
|
||||
pkgs.writers.writeDashBin "bank-${year}" # sh
|
||||
''
|
||||
TERM=xterm-mono ${pkgs.hledger-ui}/bin/hledger-ui --file ~/finance/hledger/${year}.journal "$@"
|
||||
'';
|
||||
|
||||
irc = pkgs.writers.writeDashBin "irc" # sh
|
||||
|
@ -164,7 +170,6 @@ in {
|
|||
in [
|
||||
|
||||
uget
|
||||
|
||||
#zettlr
|
||||
#(library.desktopFile zettlr { longName = "Zettlr"; })
|
||||
joplin
|
||||
|
@ -193,6 +198,9 @@ in {
|
|||
})
|
||||
|
||||
bank
|
||||
(bank-old "2021")
|
||||
(bank-old "2020")
|
||||
(bank-old "2019")
|
||||
borrow
|
||||
|
||||
irc
|
||||
|
|
Loading…
Reference in a new issue