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
|
||||
|
@ -105,9 +105,9 @@ with lib; {
|
|||
${hold}
|
||||
exit
|
||||
'';
|
||||
in {
|
||||
in {
|
||||
|
||||
home.packages = with pkgs; [ pythia meditate ];
|
||||
});
|
||||
home.packages = with pkgs; [ pythia meditate ];
|
||||
});
|
||||
|
||||
}
|
||||
|
|
|
@ -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