1
0
Fork 0

Fix pythia

This commit is contained in:
Malte Brandy 2020-01-19 14:39:22 +01:00
parent 6a1b9d49e1
commit 522deabe83
No known key found for this signature in database
GPG key ID: 226A2D41EF5378C9
2 changed files with 5 additions and 5 deletions

View file

@ -3,7 +3,7 @@ with lib; {
options.m-0.pythia.enable = mkEnableOption "Pythia";
config = mkIf config.m-0.pythia.enable (let
pythia-path = "${config.home.homeDirectory}/data/aktuell/pythia";
pythia-path = "${config.home.homeDirectory}/documents/pythia";
pythia = pkgs.writeShellScriptBin "pythia" ''
datei=${pythia-path}/$(date +%Y-%m-%d)
touch $datei
@ -105,9 +105,9 @@ with lib; {
${hold}
exit
'';
in {
in {
home.packages = with pkgs; [ pythia meditate ];
});
home.packages = with pkgs; [ pythia meditate ];
});
}

View file

@ -80,7 +80,7 @@
pure . printMap . fmap That $ task
Control.Monad.forM_ description $ \d -> do
client <- connectSession
notify client blankNote { summary = "New Task", body = Just $ Text d }
notify client blankNote { summary = "New Task", body = Just $ Text d, expiry = Milliseconds 15000 }
LBS.hPut stdout input
'';
in {