RasmusLindroth / tut

TUI for Mastodon with vim inspired keys
https://tut.anv.nu
MIT License
447 stars 29 forks source link

[wish] Only some notifications #220

Closed flashymittens closed 1 year ago

flashymittens commented 1 year ago

Please provide an option to only show some notifications for Notifications timeline.

For example, I'd like to hide notification items that say that my post was boosted (or favorited) as it is too distracting.

ryspace commented 1 year ago

Edit: You were talking about what's shown in the timeline itself, not as desktop notifications, my bad.....gonna dig...in case anyone searches this and thinks it means what I originally thought it meant....:


You can set this in your config.ini. From the config.example.ini:

[desktop-notification]
# Notification when someone follows you.
# default=false
followers=false

# Notification when someone favorites one of your toots.
# default=false
favorite=false

# Notification when someone mentions you.
# default=false
mention=false

# Notification when someone edits their toot.
# default=false
update=false

# Notification when someone boosts one of your toots.
# default=false
boost=false

# Notification of poll results.
# default=false
poll=false

# Notification when there is new posts in current timeline.
# default=false
posts=false
ryspace commented 1 year ago

So I have an idea how this could be done, but I feel like I'd do it incredibly sloppily, and I'm not sure this is even something @RasmusLindroth would be interested in adding to tut, so I'll wait til they reply and see...

RasmusLindroth commented 1 year ago

Good suggestion. It will require a fix to go-mastodon that tut uses, but the API has support for it so it should be quite easy to implement.

RasmusLindroth commented 1 year ago

It's now included in the latest release, see notifications-to-hide under [general]