niri update
This commit is contained in:
parent
22ef12abd7
commit
72b07bd11f
1 changed files with 31 additions and 5 deletions
36
config.kdl
36
config.kdl
|
@ -1,10 +1,11 @@
|
||||||
input {
|
input {
|
||||||
keyboard {
|
keyboard {
|
||||||
xkb {
|
xkb {
|
||||||
layout "gb,ru,de"
|
layout "gb,ru,de,us"
|
||||||
variant ",phonetic_winkeys,"
|
variant ",phonetic_winkeys,,dvorak"
|
||||||
options "grp:rctrl_rshift_toggle, caps:escape, "
|
options "grp:rctrl_rshift_toggle,,caps:escape, "
|
||||||
// compose:ralt
|
// compose:ralt
|
||||||
|
// compose:102
|
||||||
}
|
}
|
||||||
repeat-rate 60
|
repeat-rate 60
|
||||||
repeat-delay 200
|
repeat-delay 200
|
||||||
|
@ -66,6 +67,8 @@ layout {
|
||||||
spawn-at-startup "xwayland-satellite"
|
spawn-at-startup "xwayland-satellite"
|
||||||
spawn-at-startup "avizo-service"
|
spawn-at-startup "avizo-service"
|
||||||
spawn-at-startup "keepassxc"
|
spawn-at-startup "keepassxc"
|
||||||
|
spawn-at-startup "startxfce4"
|
||||||
|
|
||||||
|
|
||||||
environment {
|
environment {
|
||||||
DISPLAY ":0"
|
DISPLAY ":0"
|
||||||
|
@ -92,8 +95,32 @@ workspace "infra"
|
||||||
workspace "multimedia"
|
workspace "multimedia"
|
||||||
|
|
||||||
animations {
|
animations {
|
||||||
// off
|
off
|
||||||
slowdown 1.0
|
slowdown 1.0
|
||||||
|
|
||||||
|
window-open {
|
||||||
|
// duration-ms 1250
|
||||||
|
// curve "linear"
|
||||||
|
|
||||||
|
custom-shader r"
|
||||||
|
vec4 open_color(vec3 coords_geo, vec3 size_geo) {
|
||||||
|
// Get color from the window texture.
|
||||||
|
vec3 coords_tex = niri_geo_to_tex * coords_geo;
|
||||||
|
vec4 color = texture2D(niri_tex, coords_tex.st);
|
||||||
|
|
||||||
|
vec2 coords = (coords_geo.xy - vec2(0.5, 0.5)) * size_geo.xy * 2.0;
|
||||||
|
coords = coords / length(size_geo.xy);
|
||||||
|
float p = niri_clamped_progress;
|
||||||
|
if (p * p <= dot(coords, coords))
|
||||||
|
color = vec4(0.0);
|
||||||
|
|
||||||
|
return color;
|
||||||
|
}
|
||||||
|
"
|
||||||
|
}
|
||||||
|
workspace-switch {
|
||||||
|
spring damping-ratio=1.0 stiffness=1000 epsilon=0.0001
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Open the Firefox picture-in-picture player as floating by default.
|
// Open the Firefox picture-in-picture player as floating by default.
|
||||||
|
@ -118,7 +145,6 @@ cursor {
|
||||||
xcursor-size 32
|
xcursor-size 32
|
||||||
|
|
||||||
hide-when-typing
|
hide-when-typing
|
||||||
hide-after-inactive-ms 1000
|
|
||||||
}
|
}
|
||||||
|
|
||||||
binds {
|
binds {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue