dunst: fix date command not being found
This commit is contained in:
parent
76b6f7cfb8
commit
910a1c5538
1 changed files with 1 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
|||
{ config, pkgs, ... }:
|
||||
let
|
||||
historyScript = pkgs.writeShellScript "dunst_history.sh" ''
|
||||
echo "$(date +%s):$DUNST_TIMESTAMP:$DUNST_APP_NAME:$DUNST_URGENCY:$DUNST_SUMMARY:$DUNST_BODY" >> ${config.xdg.dataHome}/dunst/history
|
||||
echo "$(${pkgs.coreutils}/bin/date +%s):$DUNST_TIMESTAMP:$DUNST_APP_NAME:$DUNST_URGENCY:$DUNST_SUMMARY:$DUNST_BODY" >> ${config.xdg.dataHome}/dunst/history
|
||||
'';
|
||||
in {
|
||||
systemd.user.tmpfiles.rules = [ "d ${config.xdg.dataHome}/dunst - - - -" ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue