betterlockscreen icon indicating copy to clipboard operation
betterlockscreen copied to clipboard

Telegram notifications while screen is locked

Open Nishimara opened this issue 4 years ago • 1 comments

I use bspwm and I always use telegram with notifications enabled, and when I lock the screen, the notifications keep coming and visible when the screen is off. it really pisses me off.

Nishimara avatar Jul 06 '21 12:07 Nishimara

Hey there! I'm also using Telegram Desktop with dunst (using nativ-notifications) this would disable the notifications properly with our latest beta. The only issue is that out-of-the-box clicking on notifications (on my setup with i3) will not bring you to the chat.

Otherwise you could use this solution, copy pre- and postLock to config and add code to kill/start Telegram-Client on pre/postLock so you could stay with their notifications :)

I sadly didn't found a possibility by calling "telegram-desktop" with "--help" or other to pause/disable and re-enable notifications pro grammatically.

SebTM avatar Jul 06 '21 16:07 SebTM