dotfiles/bin/notifylog
Trysdyn Black e092f769c6 Add bin/ scripts referenced in configs
Still not 100% sure how I want to tokenize this up. For now if I
reference a script in a config file, I should probably include it so
the env is complete.
2025-02-17 10:45:51 -08:00

3 lines
343 B
Text
Executable file

# Called by dunst to blat a notification into a log in tmpfs, for perusal by my hud script
# There's a security concern here, logging notifications like this. Only do this on a system you have control over
(echo -e "`date '+%m-%dT%H:%M'`\0 $DUNST_APP_NAME\0 $DUNST_SUMMARY\0 $DUNST_BODY" | tr '\n' ' ' ; echo '') >> $XDG_RUNTIME_DIR/notifylog