This commit is contained in:
Nicole 2025-11-06 15:09:46 +01:00
parent 571079fe31
commit 42bbd50fdf

View file

@ -7,36 +7,27 @@ config-notification {
}
// Outputs from existing configuration
output "DP-1" {
// Uncomment this line to disable this output.
// off
// Resolution and, optionally, refresh rate of the output.
// The format is "<width>x<height>" or "<width>x<height>@<refresh rate>".
// If the refresh rate is omitted, niri will pick the highest refresh rate
// for the resolution.
// If the mode is omitted altogether or is invalid, niri will pick one automatically.
// Run `niri msg outputs` while inside a niri instance to list all outputs and their modes.
mode "3440x1440@160"
// You can use integer or fractional scale, for example use 1.5 for 150% scale.
mode "3440x1440@160.000"
scale 1
// Transform allows to rotate the output counter-clockwise, valid values are:
// normal, 90, 180, 270, flipped, flipped-90, flipped-180 and flipped-270.
transform "normal"
// Position of the output in the global coordinate space.
// This affects directional monitor actions like "focus-monitor-left", and cursor movement.
// The cursor can only move between directly adjacent outputs.
// Output scale and rotation has to be taken into account for positioning:
// outputs are sized in logical, or scaled, pixels.
// For example, a 3840×2160 output with scale 2.0 will have a logical size of 1920×1080,
// so to put another output directly adjacent to it on the right, set its x to 1920.
// If the position is unset or results in an overlap, the output is instead placed
// automatically.
position x=0 y=0
}
output "HDMI-A-1" {
//off
mode "1920x1080@60"
scale 1
transform "normal"
position x=760 y=1440
}
output "DP-2" {
//off
mode "1920x1080@60"
scale 1
transform "normal"
position x=760 y=1440
}
gestures {
hot-corners {
@ -148,7 +139,7 @@ spawn-at-startup "bash" "-c" "wl-paste --watch cliphist store &"
spawn-at-startup "dms" "run"
spawn-at-startup "xwayland-satellite"
spawn-at-startup "telegram-desktop"
spawn-at-startup "Telegram"
spawn-at-startup "vesktop"
spawn-at-startup "steam"
spawn-at-startup "geary"
@ -158,7 +149,8 @@ spawn-at-startup "kitty"
spawn-at-startup "app.zen_browser.zen"
spawn-at-startup "nextcloud"
spawn-at-startup "element-desktop"
spawn-at-startup "Jan"
//spawn-at-startup "Jan"
spawn-at-startup "msty-studio"
xwayland-satellite {
path "/run/current-system/sw/bin/xwayland-satellite"
@ -271,6 +263,17 @@ window-rule {
default-floating-position x=0 y=0 relative-to="bottom-left"
open-on-workspace "special"
}
window-rule {
match app-id="MstyStudio"
open-maximized false
open-floating true
default-column-width { proportion 0.3; }
default-window-height { proportion 1.0; }
default-floating-position x=0 y=0 relative-to="bottom-left"
opacity 0.95
open-on-workspace "special"
}
window-rule {
match app-id=r#"^org\.telegram\.desktop$"# title="^Media viewer$"
open-fullscreen false
@ -315,10 +318,10 @@ window-rule {
match app-id="kitty"
draw-border-with-background false
}
window-rule {
match is-active=false
opacity 0.9
}
//window-rule {
// match is-active=false
// opacity 0.9
//}
window-rule {
match app-id=r#"firefox$"# title="^Picture-in-Picture$"
match app-id="zoom"
@ -329,17 +332,39 @@ window-rule {
clip-to-geometry true
}
workspace "terminal"
workspace "browser"
workspace "social"
workspace "mail"
workspace "code"
workspace "games"
workspace "generic1"
workspace "generic2"
workspace "music"
workspace "windows"
workspace "special"
workspace "terminal" {
open-on-output "DP-1"
}
workspace "browser" {
open-on-output "DP-1"
}
workspace "social" {
open-on-output "DP-1"
}
workspace "mail" {
open-on-output "DP-1"
}
workspace "code" {
open-on-output "DP-1"
}
workspace "games" {
open-on-output "DP-1"
}
workspace "generic1" {
open-on-output "DP-1"
}
workspace "generic2" {
open-on-output "DP-1"
}
workspace "music" {
open-on-output "DP-1"
}
workspace "windows" {
open-on-output "DP-1"
}
workspace "special" {
open-on-output "DP-1"
}
binds {
// === System & Overview ===
@ -348,7 +373,7 @@ binds {
Mod+Shift+Slash { show-hotkey-overlay; }
// === AI toggle ===
Mod+A { spawn "~/.config/niri/scripts/toggleai.sh"; }
Mod+A { spawn "~/.config/niri/scripts/togglemsty.sh"; }
// === Application Launchers ===