This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
notifyosd-init() { | |
if [ -n "$DISPLAY" -a -z "$notifyosd_initialized" ]; then | |
notifyosd_initialized=yes | |
function notifyosd-active-window-id { | |
xprop -root | awk '/_NET_ACTIVE_WINDOW\(WINDOW\)/{print $NF}' | |
} | |
# end and compare timer, notify-send if needed | |
function notifyosd-precmd() { |