79161612

Date: 2024-11-06 07:08:40
Score: 1
Natty:
Report link

Use xargs to effectively pass something in arguments, allows more independent execution to add more arguments and configuration for notify-send.

[command] 2>&1 | xargs -I {} notify-send "{}"

Example: ls "i don't exists" 2>&1 | xargs -I {} notify-send "{}"

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: water_elixir