From f4697b5eca4c5ea4e32097581aa8777119d77528 Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Thu, 30 Apr 2026 11:43:53 +0800 Subject: [PATCH] fix: niri - float notifications --- agents/permissions.md | 2 ++ home/linux/gui/niri/conf/windowrules.kdl | 9 +++++++++ 2 files changed, 11 insertions(+) diff --git a/agents/permissions.md b/agents/permissions.md index e3663810..747aa366 100644 --- a/agents/permissions.md +++ b/agents/permissions.md @@ -60,6 +60,7 @@ These tools run without prompting: - `kubectl api-resources`, `kubectl api-versions` - `kubectl config view`, `kubectl config get-contexts` - `kubectl kustomize`, `kustomize build`, `kustomize version` +- `kubectl explain` **Terraform:** @@ -130,6 +131,7 @@ These tools run without prompting: - `echo`, `pwd`, `date`, `env`, `printenv` - `file`, `stat`, `du`, `tree`, `bat`, `eza` - `jq`, `yq`, `tldr` +- `mkdir`, `rmdir`, `grep` ### Requires Confirmation diff --git a/home/linux/gui/niri/conf/windowrules.kdl b/home/linux/gui/niri/conf/windowrules.kdl index 9873adee..92dd778f 100644 --- a/home/linux/gui/niri/conf/windowrules.kdl +++ b/home/linux/gui/niri/conf/windowrules.kdl @@ -102,3 +102,12 @@ window-rule { match app-id="Zoom Workplace" open-on-workspace "0other" } + +// Notifications shows top right +window-rule { + match app-id="" + open-floating true + open-focused false + default-floating-position x=0 y=0 relative-to="top-right" +} +