Fix pythia
This commit is contained in:
parent
6a1b9d49e1
commit
522deabe83
|
@ -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
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue