hyprnotify
hyprnotify copied to clipboard
Rules for silencing or ignoring applications.
Added simple regex based rules to perform following actions:
- Silence Do not play audio on notification
- Ignore Ignore the notification
This is in a very initial proof-of-concept stage. Asking for comments if any other features etc. are wanted.
Looks good. This feature sounds cool!
We could also implement the suppress-sound hint, along with this imo.
Also, I don't understand the nix thingy (never used it). NixOS package was published by @Bloeckchengrafik and he has been very patient with my ignorance on the topic (i swear I'll use it one day!)
Heyo! I've tried out the nix flake, but I get the following error. I know too little about go with nixos to fix this. Do you have an idea @kidrigger ?
error: undefined variable 'go_1_17'
at /nix/store/1dzbvdhq3dfhkph0k56jd81k0p8m7idz-source/flake.nix:19:38:
18| };
19| buildDeps = with pkgs; [ git go_1_17 gnumake ];
| ^
20| devDeps = with pkgs; buildDeps ++ [
Looks good. This feature sounds cool!
We could also implement the
suppress-soundhint, along with this imo.
That's a good idea. I was just trying to get the notification to stop interrupting spotify right now. I didn't have the time to check the dbus docs.
Also, I don't understand the nix thingy (never used it). NixOS package was published by @Bloeckchengrafik and he has been very patient with my ignorance on the topic (i swear I'll use it one day!)
Obligatory: "I use NixOS btw". But I didn't intend to commit the flake. I had to add it to get the development environment to work, but it isn't the latest version.
Since you seem okay with this, I will try to get the flake committed in a separate PR first and then rebase this over.
Heyo! I've tried out the nix flake, but I get the following error. I know too little about go with nixos to fix this. Do you have an idea @kidrigger ?
Nix doesn't have go_1_17 anymore. I updated to latest go_1_23. The flake is a copy paste from modern-go-application template that I modified but didn't commit. But I forgot to remove this.
error: undefined variable 'go_1_17' at /nix/store/1dzbvdhq3dfhkph0k56jd81k0p8m7idz-source/flake.nix:19:38: 18| }; 19| buildDeps = with pkgs; [ git go_1_17 gnumake ]; | ^ 20| devDeps = with pkgs; buildDeps ++ [
I don't want to add my devShell flake so I'll wait until I can write a complete flake. For now, I'll remove it.
Meanwhile, do you know how to fix this?
go: inconsistent vendoring in /build/source:
I'm trying to do an override in my nix config to use my fork but I have this issue.
I've never used go before so it is pretty hard to solve right now.
It relates to viper and deps but the vendoring seems to be a uniquely go and nix interaction I don't understand.