s3rvac / weechat-notify-send

A WeeChat script that sends highlight and message notifications through notify-send.
MIT License
176 stars 19 forks source link

Allow to pass desktop-entry to make possible to focus weechat #14

Closed 3v1n0 closed 5 years ago

3v1n0 commented 5 years ago

If you create a weechat.desktop file, the notification can include a "weechat" desktop-entry hint so that the desktop environment will allow to focus the window on click.

This is possible by just passing --hint string:desktop-entry:weechat to the notify-send

s3rvac commented 5 years ago

Implemented in commit e08713efdaa059f1bb66f5bec43423a79822e566. The code is based on unfinished PR #15.