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