Fix pythia
This commit is contained in:
parent
6a1b9d49e1
commit
522deabe83
2 changed files with 5 additions and 5 deletions
|
@ -3,7 +3,7 @@ with lib; {
|
||||||
|
|
||||||
options.m-0.pythia.enable = mkEnableOption "Pythia";
|
options.m-0.pythia.enable = mkEnableOption "Pythia";
|
||||||
config = mkIf config.m-0.pythia.enable (let
|
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" ''
|
pythia = pkgs.writeShellScriptBin "pythia" ''
|
||||||
datei=${pythia-path}/$(date +%Y-%m-%d)
|
datei=${pythia-path}/$(date +%Y-%m-%d)
|
||||||
touch $datei
|
touch $datei
|
||||||
|
|
|
@ -80,7 +80,7 @@
|
||||||
pure . printMap . fmap That $ task
|
pure . printMap . fmap That $ task
|
||||||
Control.Monad.forM_ description $ \d -> do
|
Control.Monad.forM_ description $ \d -> do
|
||||||
client <- connectSession
|
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
|
LBS.hPut stdout input
|
||||||
'';
|
'';
|
||||||
in {
|
in {
|
||||||
|
|
Loading…
Reference in a new issue