show window title in notification
This commit is contained in:
parent
f8a28dbf0f
commit
7dcbdc08ee
|
@ -1,5 +1,10 @@
|
|||
#!/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")"
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue