adding few forgotten parts

This commit is contained in:
2026-03-11 12:49:37 +01:00
parent c5e7e94c78
commit 528897b4af
2 changed files with 11 additions and 0 deletions

View File

@@ -35,6 +35,13 @@ window-rule {
}
window-rule {
match title="Friends List" app-id="steam"
min-width 400
max-width 400
}
window-rule {
match app-id=r#"^steam_app_.*$"#

View File

@@ -0,0 +1,4 @@
#!/bin/bash
APP_ID=$1
WINDOW_ID=$(niri msg -j windows | jq "[.[] | select(.app_id==\"${APP_ID}\")][0].id")
niri msg action focus-window --id ${WINDOW_ID}