flameshot full dies docked: its portal path hits niri's screenshot_all_outputs ensure!(outputs.len()==1) (upstream niri#4313, niri 26.04), so every Print press on the home desk produces error bubbles. niri's built-in screenshot UI selects only one output, so add scripts/screenshot-desk.sh: per-monitor focus + screenshot-screen with explicit --path, focus restored, one PNG per monitor in ~/Pictures/Screenshots. Bind Mod+Shift+S (Frank's call); noctalia settings moves to Mod+Shift+O. Restore screenshot-path (was null, now root-level as config.screenshot_path requires) for UI saves. Live- verified docked: valid 1920x1080 PNGs for eDP-1 + DP-2, focus restored; bats 27/27 incl. niri validate on both desk profiles.
37 lines
1.1 KiB
KDL
37 lines
1.1 KiB
KDL
prefer-no-csd
|
|
// Default save path for niri-native captures (screenshot UI,
|
|
// screenshot-screen). scripts/screenshot-desk.sh (Mod+Shift+S) writes
|
|
// one file per monitor here; flameshot full is dead on 2+ outputs
|
|
// docked — see omp-docs/tools/niri/screenshots.md.
|
|
screenshot-path "~/Pictures/Screenshots/Screenshot from %Y-%m-%d %H-%M-%S.png"
|
|
|
|
environment {
|
|
ELECTRON_OZONE_PLATFORM_HINT "auto"
|
|
QT_QPA_PLATFORM "wayland"
|
|
QT_QPA_PLATFORMTHEME "gtk3"
|
|
QT_WAYLAND_DISABLE_WINDOWDECORATION "1"
|
|
XDG_CURRENT_DESKTOP "niri"
|
|
XDG_SESSION_TYPE "wayland"
|
|
}
|
|
|
|
cursor {
|
|
xcursor-theme "capitaine-cursors"
|
|
xcursor-size 36
|
|
}
|
|
|
|
blur {
|
|
off
|
|
passes 2 // more passes = stronger blur (default: 3)
|
|
offset 3.0 // sample distance per pass (default: 3.0)
|
|
noise 0.03 // grain overlay (default: 0.02)
|
|
saturation 1.0 // color saturation boost (default: 1.5)
|
|
}
|
|
|
|
debug {
|
|
// Allows notification actions and window activation from Noctalia.
|
|
honor-xdg-activation-with-invalid-serial
|
|
}
|
|
|
|
hotkey-overlay {
|
|
}
|