aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authoruser <user@clank>2026-08-20 23:56:37 +0200
committeruser <user@clank>2026-08-20 23:56:37 +0200
commitc7a45c4ff8825ff564fa7852a08e9bbac2c2b7c8 (patch)
tree3002b2720e48d1b26775654f17ff7de7d88c27d1 /config
parentslosh: M10c, the memory -- floats survive being written down (diff)
downloadslosh-c7a45c4ff8825ff564fa7852a08e9bbac2c2b7c8.tar.gz
slosh-c7a45c4ff8825ff564fa7852a08e9bbac2c2b7c8.tar.xz
slosh-c7a45c4ff8825ff564fa7852a08e9bbac2c2b7c8.zip
slosh: the scrolled edge fade earns its name
Four rows deep at 60 a row instead of three at 45: the edge row is nearly gone (#0e0e0e from white) and the melt reads as "there is more this way" rather than as a rendering artefact. The quarter-viewport cap, the (above > 0) gate and everything else about the derivation stand; a config that writes its own scrolled chain is untouched, as ever.
Diffstat (limited to 'config')
-rw-r--r--config/config.kdl8
1 files changed, 5 insertions, 3 deletions
diff --git a/config/config.kdl b/config/config.kdl
index a39df7e..ef699ff 100644
--- a/config/config.kdl
+++ b/config/config.kdl
@@ -506,7 +506,9 @@ modal_scrim 120
// continues -- and each fade exists only while there is content past that
// edge, so hitting the top of the buffer turns the top edge solid, and
// returning to the present ends the state and everything is opaque again. Up
-// to three rows a side, never more than a quarter of the viewport each. All
+// to four rows a side, never more than a quarter of the viewport each --
+// the edge row nearly gone, so the melt is a statement rather than a
+// suspicion. All
// of it is commented below because naming a state replaces its default
// outright -- a declared copy would pin the wash to one theme's colour and
// quietly stop following the next.
@@ -517,8 +519,8 @@ states {
suspended { grayscale amount=170; dim amount=60 }
// scrolled { // derived: a wash of theme's scroll_bg, and edge fades where more content is
// tint amount=22 color="#7aa2f7"
- // dim amount="(above > 0) * max(0, (min(3, rows / 4) - y) * 45)"
- // dim amount="(below > 0) * max(0, (y - rows + min(3, rows / 4) + 1) * 45)"
+ // dim amount="(above > 0) * max(0, (min(4, rows / 4) - y) * 60)"
+ // dim amount="(below > 0) * max(0, (y - rows + min(4, rows / 4) + 1) * 60)"
// }
// dragging { }
// floating { }