Skip to content

Whitespace/newlines being stripped from notifications #1275

Answered by mitchdotnet
mitchdotnet asked this question in Q&A
Discussion options

You must be logged in to vote

I figured out a way to make this work, in case anyone is interested:

dunstify "$(cal | head -n1)" "$(cal | tail -n+2 | sed "/^[[:space:]]*$/d;s/$(date '+%e')\b/<span background='#282828' foreground='#ebdbb2'>$(date '+%e')<\/span>/g;s/ /<span> <\/span>/g")"

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by fwsmit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant