ErikReider / SwayNotificationCenter

A simple GTK based notification daemon for SwayWM
GNU General Public License v3.0
1.3k stars 62 forks source link

Customisable Notification timeout #18

Closed roycefanproxy closed 2 years ago

roycefanproxy commented 3 years ago

Hi,

Thanks for your awesome tools, I really like the design and ease of use of this tool. However, I would like to customise timeout length of a popping notification, is there a way to do so in config file?

ErikReider commented 3 years ago

I'm glad that you like it :)

At the moment the time is a set value which is also dependent on the notification urgency. How long of a delay would you prefer?

mindrunner commented 3 years ago

How long of a delay would you prefer?

Since everyone has another preference, this should be part of the configuration file.

WTechNinja commented 2 years ago

I would like to mention, I've noticed that you can't have quotation marks around the timeout values, e.g "timeout": "3", won't work, swaync will use the default values instead, but "timeout": 3, works as intended. Might be worth fixing or documenting.

ErikReider commented 2 years ago

@WTechNinja Yeah. It only parses the value if it's an integer

ErikReider commented 2 years ago

@WTechNinja Added extra clarification c3950c05680aa7c0553b7bc2056b39c72c3cf062