diff options
Diffstat (limited to 'platforms/linux/xorg/default.nix')
-rw-r--r-- | platforms/linux/xorg/default.nix | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/platforms/linux/xorg/default.nix b/platforms/linux/xorg/default.nix index 06ccbac..34a1aea 100644 --- a/platforms/linux/xorg/default.nix +++ b/platforms/linux/xorg/default.nix @@ -16,11 +16,21 @@ let ]; header_config_file = ./config.h; }; + + todos = pkgs.writeScriptBin "todos" '' + #!${pkgs.stdenv.shell} + case $BLOCK_BUTTON in + 1) notify-send "Tasks" "\n$(todoist l | cut -d\ -f5- | sed 's/^/* /')" ;; + 6) "$TERMINAL" -e "$EDITOR" "$0" ;; + esac + + echo "✅$(todoist list | wc -l)" + ''; in { imports = [ ./dunst - }; + ]; home.packages = with pkgs; [ mpd @@ -29,7 +39,7 @@ in nur.repos.pn.dockd pndwmblocks pndwm - roboto-slab + todos ]; xsession = { |