Commit Graph

10 Commits

Author SHA1 Message Date
fegger 888005f2ac Replace Hyprland transform enum references with numeric constants
The Hyprland.Monitor.Transform enum values are not reliably accessible
in this context. Using the documented numeric values (0 for NORMAL,
3 for 270° rotation) avoids runtime lookup issues and keeps the
rotation logic working for both portrait and landscape modes.
2026-07-13 14:59:11 +02:00
fegger 4307713104 Remove redundant min and max props from brightness levelbar 2026-07-13 14:55:29 +02:00
fegger 0d12e4b313 Clamp brightness levelbar value and fix spinbutton adjustment initialization 2026-07-13 14:50:51 +02:00
fegger 2ba6f472ea Refactor pinenote-shell CSS for GTK compatibility
Remove global reset and `window.` element prefixing. Expand shorthand
properties to explicit directional forms and drop unsupported
`border-radius`/`transition`/`animation` rules that break GTK CSS
parsing.
2026-07-13 14:42:04 +02:00
fegger c88527b4bd Expand CSS shorthand for GTK4 compatibility
Breaks apart margin, padding, and transition shorthand properties into their
component forms and lowercases the `Icon` selector, matching GTK4 CSS
expectations. Also removes an explicit max-width from the brightness levelbar.
2026-07-13 14:39:24 +02:00
fegger fe7d25bba9 Fix CSS margin/width shorthand compatibility in shell widget
Expand shorthand `margin` and `width` properties for `.section` and
`.brightness-levelbar` to individual longhand properties, likely to
avoid issues with older GTK/CSS parsing.
2026-07-13 14:34:22 +02:00
fegger 851aad6452 Update Hyprland gesture examples to Lua syntax in README
The documentation previously showed the legacy `hyprland.conf` INI format. Since users now configure Hyprgrass via
Hyprland's Lua config, rewrite all gesture examples as Lua and update the troubleshooting note accordingly.
2026-07-13 13:54:11 +02:00
fegger 05b18bdade Improve e-ink support with forced refreshes and no animations
- Add `einkRefresh()` helper calling `pdlc-cli --refresh` after rotation,
  brightness changes, waveform changes, and when the widget opens
- Disable CSS transitions and animations globally to reduce ghosting
- Remove button hover transform and transition effects
- Update README with e-ink-specific guidance and tuning notes
2026-07-13 13:38:46 +02:00
fegger 4938bb472b Migrate pinenote-shell to AGS v3/Astal framework
Replace the custom GJS/GTK4 @agi/gtk3 setup with AGS v3 on GTK3 using
Astal services (Hyprland, Brightness). Updates README installation
instructions, package scripts, and rewrites main.js to use AGS JSX
widgets and reactive state bindings. Adds a minimal package-lock.json.
2026-07-13 13:31:57 +02:00
fegger 850a8d0b1c Add Pinenote Shell widget with control panel 2026-07-13 12:16:01 +02:00