koeqaife / hyprland-material-you

Dynamic and elegant desktop setup inspired by Material You, featuring auto-generated colors, fluid animations, and ripple effects for a cohesive, customizable user experience.
GNU General Public License v3.0
505 stars 23 forks source link

Feature: Switch to app's desktop when viewing notification #111

Open jackmerrill opened 2 hours ago

jackmerrill commented 2 hours ago

Example: Clicking "View" on a Discord notification when Discord is on Desktop 2 should switch the desktop.

I could take a look at how to do this, I'm not entirely sure where the code is for the notifications though.

koeqaife commented 1 hour ago

It's supposed to do that, but it doesn't work with Discord for some reason

koeqaife commented 1 hour ago

it works with a telegram

jackmerrill commented 1 hour ago

Weird, where can I find the code that controls it? I could try to debug and take a crack at fixing it.

koeqaife commented 1 hour ago

~/dotfiles/ags/modules/notificationPopups.ts as I remember

koeqaife commented 1 hour ago

but it's more like electron or hyprland problem