show window title in notification

This commit is contained in:
Ray Elliott 2020-04-01 15:54:47 +01:00
parent f8a28dbf0f
commit 7dcbdc08ee
1 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,10 @@
#!/bin/sh #!/bin/sh
notify-send -u low "$(date +" %R -- %A %d %B %Y")" _title="$(xtitle)"
if [ -z "$_title" ] ; then
_title="Why For No Title?"
fi
notify-send -u low "'$_title'" "$(date +" %R -- %A %d %B %Y")"