.config/niri/niri.d/window-rules.kdl hinzugefügt
This commit is contained in:
@@ -0,0 +1,94 @@
|
|||||||
|
// ────── Chat ──────
|
||||||
|
|
||||||
|
window-rule {
|
||||||
|
match app-id="discord"
|
||||||
|
open-on-workspace "chat"
|
||||||
|
}
|
||||||
|
|
||||||
|
window-rule {
|
||||||
|
match app-id="com.rtosta.zapzap"
|
||||||
|
open-on-workspace "chat"
|
||||||
|
}
|
||||||
|
|
||||||
|
window-rule {
|
||||||
|
match app-id="signal"
|
||||||
|
open-on-workspace "chat"
|
||||||
|
}
|
||||||
|
|
||||||
|
window-rule {
|
||||||
|
match app-id="Element"
|
||||||
|
open-on-workspace "chat"
|
||||||
|
}
|
||||||
|
|
||||||
|
window-rule {
|
||||||
|
match app-id="org.mozilla.Thunderbird"
|
||||||
|
open-on-workspace "chat"
|
||||||
|
open-maximized true
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// ────── Games ──────
|
||||||
|
|
||||||
|
window-rule {
|
||||||
|
match app-id="heroic"
|
||||||
|
open-on-workspace "games"
|
||||||
|
}
|
||||||
|
|
||||||
|
window-rule {
|
||||||
|
match app-id="steam"
|
||||||
|
open-on-workspace "games"
|
||||||
|
open-maximized true
|
||||||
|
}
|
||||||
|
|
||||||
|
window-rule {
|
||||||
|
match app-id="Lutris"
|
||||||
|
open-on-workspace "games"
|
||||||
|
}
|
||||||
|
|
||||||
|
window-rule {
|
||||||
|
match app-id="Bottles"
|
||||||
|
open-on-workspace "games"
|
||||||
|
}
|
||||||
|
|
||||||
|
// ────────────── Sonstige Window Rules ──────────────
|
||||||
|
|
||||||
|
window-rule {
|
||||||
|
match app-id=r#"firefox$"# title="^Picture-in-Picture$"
|
||||||
|
open-floating true // Always float Firefox PiP windows
|
||||||
|
}
|
||||||
|
|
||||||
|
window-rule {
|
||||||
|
geometry-corner-radius 7 // Set every window radius to 20
|
||||||
|
clip-to-geometry true
|
||||||
|
}
|
||||||
|
|
||||||
|
// 1. Umbenennen-Dialog (Thunar)
|
||||||
|
window-rule {
|
||||||
|
match app-id="thunar" title="umbenennen$"
|
||||||
|
open-floating true
|
||||||
|
// Zentriert das Fenster
|
||||||
|
default-column-width { fixed 400; }
|
||||||
|
}
|
||||||
|
|
||||||
|
// 2. Dateivorgangsfortschritt (Kopieren/Verschieben)
|
||||||
|
window-rule {
|
||||||
|
match app-id="thunar" title="^Dateivorgangsfortschritt"
|
||||||
|
open-floating true
|
||||||
|
default-column-width { fixed 450; }
|
||||||
|
default-window-height { fixed 150; }
|
||||||
|
}
|
||||||
|
|
||||||
|
// 3. Bestätigungsdialoge (Ersetzen/Konflikte)
|
||||||
|
window-rule {
|
||||||
|
match app-id="thunar" title="^Ersetzen von Dateien bestätigen"
|
||||||
|
open-floating true
|
||||||
|
// Hier geben wir etwas mehr Breite für die Details
|
||||||
|
default-column-width { fixed 650; }
|
||||||
|
}
|
||||||
|
window-rule {
|
||||||
|
// Wir kombinieren App ID und den spezifischen Titel der Extension
|
||||||
|
match app-id="vivaldi-stable" title="^Bitwarden"
|
||||||
|
open-floating true
|
||||||
|
default-column-width { fixed 450; }
|
||||||
|
default-window-height { fixed 700; }
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user