more niri related config

This commit is contained in:
chloe 2025-05-07 19:51:31 +02:00
parent 4789d2e5d7
commit cf5af467fa
8 changed files with 199 additions and 87 deletions

View file

@ -149,7 +149,7 @@ layout {
// off
// How many logical pixels the ring extends out from the windows.
width 4
width 2
// Colors can be set in a variety of ways:
// - CSS named colors: "red"
@ -157,7 +157,7 @@ layout {
// - CSS-like notation: "rgb(255, 127, 0)", rgba(), hsl() and a few others.
// Color of the ring on the active monitor.
active-color "#7fc8ff"
active-color "#7287fd"
// Color of the ring on inactive monitors.
inactive-color "#505050"
@ -295,6 +295,7 @@ window-rule {
// - Flatpak Firefox (app-id is "org.mozilla.firefox")
match app-id=r#"firefox$"# title="^Picture-in-Picture$"
match app-id=r#"zen$"# title="^Picture-in-Picture$"
match app-id=r#"zen-beta$"# title="^Picture-in-Picture$"
open-floating true
}
@ -303,6 +304,7 @@ window-rule {
window-rule {
match app-id=r#"^org\.keepassxc\.KeePassXC$"#
match app-id=r#"^org\.gnome\.World\.Secrets$"#
match app-id=r#"Bitwarden"#
block-out-from "screen-capture"
@ -333,7 +335,7 @@ binds {
Mod+Shift+Slash { show-hotkey-overlay; }
// Suggested binds for running programs: terminal, app launcher, screen locker.
Mod+Return { spawn "foot"; }
Mod+Return { spawn "footclient"; }
Mod+D { spawn "fuzzel"; }
Super+Alt+L { spawn "swaylock"; }
@ -573,3 +575,28 @@ spawn-at-startup "xwayland-satellite"
environment {
DISPLAY ":0"
}
// apps to launch at startup
spawn-at-startup "zen-beta"
spawn-at-startup "obsidian"
spawn-at-startup "discord"
spawn-at-startup "beeper"
clipboard {
disable-primary
}
workspace "code"
workspace "internet"
workspace "chat"
window-rule {
match at-startup=true app-id=r#"^discord$"#
match at-startup=true app-id=r#"^Beeper$"#
open-on-workspace "chat"
}
window-rule {
match at-startup=true app-id=r#"zen-beta$"#
open-on-workspace "internet"
}