🚀 add ledger
parent
d2184a96bf
commit
feebe86fe5
|
@ -59,8 +59,19 @@
|
||||||
|
|
||||||
latexwatch =
|
latexwatch =
|
||||||
''find -type f -name "*.tex" | entr -c latexmk -pdf -silent'';
|
''find -type f -name "*.tex" | entr -c latexmk -pdf -silent'';
|
||||||
|
|
||||||
|
ledger = "command ledger --strict --explicit";
|
||||||
|
bal = "ledger -R bal";
|
||||||
|
balcash = "bal -X € --current --flat ^assets:bank ^liabilities";
|
||||||
|
balnet = "bal -X € --current --depth 2 ^assets ^liabilities";
|
||||||
|
bud = "ledger --budget bal ^expenses";
|
||||||
|
budr = ''ledger --budget --real reg -d "d>=[this month]" ^expenses'';
|
||||||
|
reg = "ledger reg -R --tail 15";
|
||||||
|
};
|
||||||
|
variables = {
|
||||||
|
EDITOR = editor;
|
||||||
|
LEDGER_FILE = "/home/moritz/Notes/ledger/main.ledger";
|
||||||
};
|
};
|
||||||
variables = { EDITOR = editor; };
|
|
||||||
};
|
};
|
||||||
home-manager.users.moritz = {
|
home-manager.users.moritz = {
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
|
|
|
@ -81,6 +81,9 @@ in {
|
||||||
# :email
|
# :email
|
||||||
mu
|
mu
|
||||||
isync
|
isync
|
||||||
|
|
||||||
|
# :lang ledger
|
||||||
|
ledger
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue