Files
2026-01-01 14:48:20 +01:00

7 lines
166 B
Bash
Executable File

#!/bin/sh
text=$(date +' %H:%M:%S | %d %a %Y ')
tooltip=$(cal)
tooltip=$(echo ${tooltip//$'\n'/\\\\n})
echo -e "{\"text\":\""$text"\", \"tooltip\":\""$tooltip"\"}}"