mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-10-14 23:34:01 -04:00
- new blur variants, glow, wobble, motion blur and groupbar support - new inputs support for mouse, touchpad and keyboard settings - greeter, cheatsheet and scroll capture dispatch in Lua - scrolling workspace screenshot focus fix - fix scrolling screenshots from being cut-off on fractional-scale displays - workspaces are keyed by address on the beta branch and upcoming stable release where named workspaces have no id - bind flags, per-device binds, new window-rule keys and effects - outputs default to preferred/auto/auto and gate HDR/VRR on hardwareDetails - new dms setup/installer systemd session support on hyprland-session.target
11 lines
336 B
JavaScript
11 lines
336 B
JavaScript
.pragma library
|
|
|
|
// The Go providers round-trip more fields than the editor shows; a save starts
|
|
// from the stored object so those survive, and clears only the keys it owns.
|
|
function carry(stored, ownedKeys) {
|
|
const out = Object.assign({}, stored || {});
|
|
for (const key of ownedKeys)
|
|
delete out[key];
|
|
return out;
|
|
}
|