adding few forgotten parts
This commit is contained in:
@@ -35,6 +35,13 @@ window-rule {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
window-rule {
|
||||||
|
match title="Friends List" app-id="steam"
|
||||||
|
|
||||||
|
min-width 400
|
||||||
|
max-width 400
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
window-rule {
|
window-rule {
|
||||||
match app-id=r#"^steam_app_.*$"#
|
match app-id=r#"^steam_app_.*$"#
|
||||||
|
|||||||
4
.local/bin/focus-window-by-id.sh
Executable file
4
.local/bin/focus-window-by-id.sh
Executable 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}
|
||||||
Reference in New Issue
Block a user