From a1bfd2a9ec33dc13821bd980afa73cdc391cecf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Mon, 26 Aug 2019 16:51:58 +0200 Subject: [PATCH] feat(todo.sh): use project local todo.txt file --- configs/todo-txt.nix | 2 +- todo.txt | 19 ++++++++++--------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/configs/todo-txt.nix b/configs/todo-txt.nix index b6d5f5f..88a6aff 100644 --- a/configs/todo-txt.nix +++ b/configs/todo-txt.nix @@ -1,6 +1,6 @@ { pkgs, ... }: let todo-txt-config = pkgs.writeText "todo.cfg" '' - export TODO_DIR="$HOME/cloud/Dropbox/todo" + export TODO_DIR="$(${pkgs.git}/bin/git rev-parse --show-toplevel || echo "$HOME/cloud/Dropbox/todo")" export TODO_FILE="$TODO_DIR/todo.txt" export DONE_FILE="$TODO_DIR/done.txt" diff --git a/todo.txt b/todo.txt index 0fa9897..700149d 100644 --- a/todo.txt +++ b/todo.txt @@ -1,9 +1,10 @@ -2019-07-09 @package fzf wrappers -x 2019-08-26 2019-08-24 @package dirmir -2019-08-25 environment.etc."sshd/banner-line".text = config.networking.hostName; -2019-08-25 fix man-pdf: man-pdf 1p env, man-pdf env: man $options -t $command | ps2pdf - $command.pdf -x 2019-08-26 2019-08-25 @package tolino-screensaver -2019-08-25 @package wallpapers -2019-08-26 create +guest_user (gnome, firefox with plugins and prefs, libreoffice) @homeros -2019-08-26 move gui stuff out of systemPackages and into users.me +guest_user -2019-08-26 environment.shellAliases.cat = "bat --style=plain" +(C) 2019-07-09 @package fzf wrappers +x (C) 2019-08-26 2019-08-24 @package dirmir +(C) 2019-08-25 environment.etc."sshd/banner-line".text = config.networking.hostName; +(C) 2019-08-25 fix man-pdf: man-pdf 1p env, man-pdf env: man $options -t $command | ps2pdf - $command.pdf +x (C) 2019-08-26 2019-08-25 @package tolino-screensaver +(C) 2019-08-25 @package wallpapers +(C) 2019-08-26 create +guest_user (gnome, firefox with plugins and prefs, libreoffice) @homeros +(C) 2019-08-26 move gui stuff out of systemPackages and into users.me +guest_user +(B) 2019-08-26 environment.shellAliases.cat = "bat --style=plain" +(B) 2019-08-26 environment.shellAliases.tree = "exa --tree"