19 Commits
Author SHA1 Message Date
gitea-actions e773a47158 Bump PLUGIN_VERSION to 0.1.2 0.1.2 2026-07-29 22:15:29 +00:00
darman 2b377ed58e Merge pull request 'Feature/gradient border' (#8) from feature/gradient-border into develop
Reviewed-on: #8
2026-07-30 00:15:12 +02:00
darman b328a3cb8f Merge branch 'develop' into feature/gradient-border
Version Bump / check-bump-label (pull_request) Skipped
Version Bump / apply-version-bump (pull_request) Successful in 23s
2026-07-30 00:13:25 +02:00
gitea-actions 45345f5c6c Bump PLUGIN_VERSION to 0.1.1 0.1.1 2026-07-29 22:08:02 +00:00
darman ef24d18d37 Merge pull request 'Move plugin version into .env, fix version-bump workflow to only touch it' (#6) from fix/plugin-version-env into develop
Reviewed-on: #6
2026-07-30 00:07:36 +02:00
darmanandClaude Sonnet 5 9acfd2b946 Move plugin version into .env, fix version-bump workflow to only touch it
Version Bump / check-bump-label (pull_request) Skipped
Version Bump / apply-version-bump (pull_request) Successful in 23s
The old workflow grepped CMakeLists.txt for the first "VERSION X.Y" match,
which was cmake_minimum_required's own version rather than the project's,
mangling it to 3.27.0.0 on the first real bump. PLUGIN_VERSION in .env is
now the single source of truth for both CMakeLists.txt and flake.nix, and
the workflow's bump/commit steps only ever touch that one file.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-30 00:02:19 +02:00
darman d5338c3d6a Merge pull request 'use CI Bot token for push' (#5) from fix/gitea-workflow into develop
Reviewed-on: #5
2026-07-29 23:50:03 +02:00
darman 5004064ca4 use CI Bot token for push
Version Bump / check-bump-label (pull_request) Skipped
Version Bump / apply-version-bump (pull_request) Successful in 24s
2026-07-29 23:49:36 +02:00
darman 48b277207f Merge branch 'develop' into feature/gradient-border
Version Bump / check-bump-label (pull_request) Skipped
Version Bump / apply-version-bump (pull_request) Failing after 23s
2026-07-29 21:26:44 +02:00
darman e454d769c2 Merge pull request 'Feature/gitea workflow' (#2) from feature/gitea-workflow into develop
Reviewed-on: #2
2026-07-29 21:24:12 +02:00
darmanandClaude Sonnet 5 b1bb4aecea Scope version-bump workflow to PRs targeting develop
Version Bump / check-bump-label (pull_request) Skipped
Version Bump / apply-version-bump (pull_request) Successful in 41s
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-29 21:13:44 +02:00
darmanandClaude Sonnet 5 44689cca8d Switch version-bump labels to bump/ scope and add bump/skip
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-29 21:12:03 +02:00
darmanandClaude Sonnet 5 9a6b5e9b4c Add Gitea Actions workflow to enforce and automate version bumps on PRs to master
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-29 20:39:08 +02:00
darmanandClaude Opus 5 375cfe1f00 Unload the config-installed plugin copy in buildAndLoad.sh
The session loads its own copy of the plugin from the Hyprland config, a
separate dlopen with its own decorations - so iterating with a dev build on
top of it drew two frames on every window.

Grep the path back out of $XDG_CONFIG_HOME/hypr rather than hardcoding it:
a home-manager-installed copy lives at a /nix/store path that changes on
every rebuild. -R, since those config files are symlinks into the store.
hyprctl plugin list reports no path, so the config is the only place to
read it from.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-29 20:36:41 +02:00
darmanandClaude Opus 5 b9dafe2ce1 Render border gradients instead of a flat first stop
The frame collapsed Hyprland's border gradient to m_colors.front(), so a
gradient col.active_border showed up as a single flat color.

Snapshot the gradient (stops + angle) into a new header-only ChromeGradient
and fill the cairo path with a linear gradient built from it:

- AxisFor() reproduces the border shader's quadrant-folding progress
  function (y*sin(a) + x*(1-sin(a)), not a true rotation) as a cairo axis,
  so the frame's sweep stays in step with the window border it wraps.
  Checked against a port of the shader across all 360 degrees: cardinal
  angles exact, worst case 0.003 of the sweep (the shader folds on literal
  1.57/3.14/4.71 where this uses pi).
- SampleAt() interpolates in OkLab, where the shader interpolates, with
  each segment subdivided into sampled cairo stops so cairo's own sRGB lerp
  tracks that curve.

active_color/inactive_color become gradient config values, taking the same
syntax as general:col.active_border. Single-color configs are unaffected.

The cross-focus fade (m_realBorderColorPrevious + fade progress, lerped
between two gradients in-shader) is still not reproduced.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-29 20:36:24 +02:00
darman 73ce9ddbdf Merge pull request 'Fix/claude md branch rule' (#1) from fix/claude-md-branch-rule into develop
Reviewed-on: #1
2026-07-28 21:39:37 +02:00
darmanandClaude Sonnet 5 48a56b31f6 Document develop/master branching model in CLAUDE.md
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-28 21:32:55 +02:00
darmanandClaude Sonnet 5 6d9d1bcd82 Require feature/fix branches instead of direct master commits
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-28 21:27:32 +02:00
darman a28a899874 hypr-chrome v0.1 2026-07-28 21:22:13 +02:00