mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-20 15:41:38 +01:00
nixpkgs moves from d3b13ad (2026-10-24) to f05535a (2026-10-27) and rust-overlay from c7e9d51 to 19ecdd0; the other six inputs have no newer revision. KWin, Plasma and KRDP go from 6.8.1 to 6.8.2, so testedMax in nix/supported-kwin.nix goes to 6.8.2, with its dated comment. Qt (6.12.0), FreeRDP (3.32.2) and the glibc of nixpkgs (2.44) keep their versions. The stable Rust toolchain stays at 1.99.1; the nightly rustfmt moves from 2026-10-27 to 2026-10-28. nixpkgs now has KDE Rounded Corners 0.11.0. nix/kde-rounded-corners.nix still sets the version and the source, because its patch is written for the 0.11.0 source, so the package does not change: it builds with its patch, and Geometry Change builds, against KWin 6.8.2. The dated sentences of README.md, DESIGN.md, PLATFORM.md, COMPARE.md and of the docs of kwin/effects.rs say 2026-10-28 and the new versions. Measurements taken on 6.8.1 keep their date and version, since none was repeated on 6.8.2. The glibc floor does not move: komorebi and komorebic still need 2.39 on aarch64 and on x86_64 (pidfd_getpid and pidfd_spawnp, both weak references), measured as the build job measures it, before and after patchelf. The gate with the nix checks passes on an aarch64 box and on x86-1, nixos-module-eval among them (the KWin version scenarios included). The VM suites run against the tip of these two commits; the result is in the message of the next commit.
37 lines
2.0 KiB
Nix
37 lines
2.0 KiB
Nix
{ kde-rounded-corners, fetchFromGitHub }:
|
|
|
|
# 0.11.0 is the release that draws the outline in the right place on KWin 6.8: 6.8 inverted the
|
|
# texture coordinates of the offscreen window, and with Breeze's shadow (deeper below a window than
|
|
# above it) the whole ring of 0.10.0 lands about 24px too low, across the title bar ("KWin 6.8
|
|
# compatibility for inverted texture coordinates"). nixpkgs has 0.11.0 too (2026-10-28; it had
|
|
# 0.10.0 at d3b13ad of 2026-10-24), and the version and the source are set here all the same: the
|
|
# patch below is written for the 0.11.0 source.
|
|
kde-rounded-corners.overrideAttrs (old: {
|
|
version = "0.11.0";
|
|
|
|
# per-window outline colors, set over D-Bus (org.komorebi.BorderColours1): komorebi colors a
|
|
# window by what it is to the layout (the focused one on each monitor, a stack, a monocle, a
|
|
# floating window, a locked container), which "the active window" cannot say. Without this the
|
|
# effect still works, with the colors of the settings for the active and the other windows. The
|
|
# patch also redraws a window from a fresh texture when only its opacity changes, which the
|
|
# effect's texture would not show otherwise.
|
|
patches = (old.patches or [ ]) ++ [ ./kde-rounded-corners/komorebi-border-colours.patch ];
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "matinlotfali";
|
|
repo = "KDE-Rounded-Corners";
|
|
rev = "v0.11.0";
|
|
hash = "sha256-rdVXukBh7doyuZaFGVQghwKqkWGtuLOXxJgvZbZG0hQ=";
|
|
};
|
|
|
|
# KWin loads every effect that is enabled by default when it starts, with the settings the effect
|
|
# has then, and at its defaults this one draws a one pixel black outline inside every window,
|
|
# over its title bar. Disabled by default, it stays unloaded until it is asked for (`loadEffect`
|
|
# on KWin's `/Effects`), which can happen after its settings are written. KWin reads the flag
|
|
# from the metadata compiled into the plugin.
|
|
postPatch = (old.postPatch or "") + ''
|
|
substituteInPlace src/metadata.json \
|
|
--replace-fail '"EnabledByDefault": true' '"EnabledByDefault": false'
|
|
'';
|
|
})
|