desktop/niri: change settings

Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
2025-06-18 22:53:34 +03:00
parent 268e527db6
commit 71d94e52a8

View File

@ -100,6 +100,7 @@ in {
CLUTTER_BACKEND "wayland"
SDL_VIDEODRIVER "wayland"
}
input {
keyboard {
xkb {
@ -108,34 +109,23 @@ in {
}
repeat-delay 200
repeat-rate 50
track-layout "global"
track-layout "window"
}
touchpad {
// off
tap
// dwt
// dwtp
natural-scroll
accel-speed 0.2
accel-profile "flat"
// scroll-method "two-finger"
// disabled-on-external-mouse
}
mouse {
// off
// natural-scroll
accel-speed 0.0
accel-profile "flat"
// scroll-method "no-scroll"
}
touch {
map-to-output "eDP-1"
}
warp-mouse-to-focus
// focus-follows-mouse
}
output "eDP-1" {
// off
scale 1.2
transform "normal"
// position x=1920 y=0
workspace-auto-back-and-forth
}
cursor {
@ -143,17 +133,36 @@ in {
xcursor-size ${toString cursor.size}
}
hotkey-overlay {
skip-at-startup
}
prefer-no-csd
screenshot-path "${xdgPics}/screenshots/screenshot-%Y-%m-%d-%H-%M-%S.png"
animations {
slowdown 0.5
}
layout {
gaps 3
// background-color "#${colors.base02}"
background-color "transparent"
center-focused-column "never" // "on-overflow"
default-column-width { proportion 1.0; }
preset-column-widths {
proportion 0.33333
proportion 0.66667
}
background-color "transparent"
default-column-width { proportion 1.0; }
// default-column-width { proportion 0.5; }
struts {
left 33
right 33
}
tab-indicator {
active-color "#${colors.base04}"
inactive-color "#${colors.base03}"
@ -175,19 +184,10 @@ in {
width 3
active-color "#${colors.base0D}"
inactive-color "#${colors.base03}"
}
struts {
left 33
right 33
urgent-color "#${colors.base08}"
}
}
prefer-no-csd
hotkey-overlay {
skip-at-startup
}
window-rule {
geometry-corner-radius 12
clip-to-geometry true
@ -204,32 +204,17 @@ in {
active-color "#${colors.base0F}"
inactive-color "#${colors.base03}"
}
shadow {
on
color "#${colors.base0F}"
inactive-color "#${colors.base03}"
}
}
// Make the wallpaper stationary, rather than moving with workspaces.
layer-rule {
// This is for swaybg; change for other wallpaper tools.
// Find the right namespace by running niri msg layers.
match namespace="^wallpaper$"
match namespace="^wpaperd.*$"
place-within-backdrop true
}
// Optionally, disable the workspace shadows in the overview.
overview {
workspace-shadow {
off
}
}
screenshot-path "${xdgPics}/screenshots/screenshot-%Y-%m-%d-%H-%M-%S.png"
animations {
slowdown 0.5
}
window-rule {
match title="Картинка в картинці"