mirror of
https://github.com/virtcode/hypr-dynamic-cursors
synced 2025-09-19 16:13:21 +02:00
feat: inverted config, setup and docs
This commit is contained in:
parent
c8ae8fedb8
commit
c6a2b45f97
9 changed files with 120 additions and 40 deletions
32
README.md
32
README.md
|
@ -23,6 +23,13 @@ The plugin supports shake to find, akin to how KDE Plasma, MacOS, etc. do it. It
|
|||
|
||||
https://github.com/VirtCode/hypr-dynamic-cursors/assets/41426325/9ff64a9b-64e5-4595-b721-dcb4d62bee18
|
||||
|
||||
### inverted cursor (experimental)
|
||||
You can also finally have an inverted cursor with this plugin. This is similar to the inverted cursor theme found in MS Windows.
|
||||
|
||||
**Note:** Inverted cursors have about the same performance impact as a *basic* screen shader. They are also only supported as software cursors.
|
||||
|
||||
INSERT VIDEO HERE
|
||||
|
||||
## state
|
||||
This plugin is still very early in its development. There are also multiple things which may or may not be implemented in the future:
|
||||
|
||||
|
@ -34,7 +41,7 @@ This plugin is still very early in its development. There are also multiple thin
|
|||
- [ ] per-shape length and starting angle (if possible)
|
||||
- [X] cursor shake to find
|
||||
- [ ] overdue refactoring (wait for aquamarine merge)
|
||||
- [ ] inverted cursor?
|
||||
- [X] inverted cursor!
|
||||
- [ ] hyprcursor magified shape
|
||||
|
||||
If anything here sounds interesting to you, don't hesitate to contribute.
|
||||
|
@ -157,6 +164,29 @@ plugin:dynamic-cursors {
|
|||
# see #3
|
||||
ipc = false
|
||||
}
|
||||
|
||||
# enables inverted cursor
|
||||
# this replaces your cursor shape with the inverted colors of the background
|
||||
# by default, this replaces the non transparent parts of your cursor
|
||||
# WARNING: inverted cursors are experimental and have a high performance impact
|
||||
invert = true
|
||||
|
||||
# for when invert = true
|
||||
invert {
|
||||
|
||||
# shader function that is used on the background color, supports:
|
||||
# invert - take the negative of the color
|
||||
# invert_hue - take the negative of the color and shift hue by 180°
|
||||
# hue - only shift hue by 180°
|
||||
shader = invert
|
||||
|
||||
# apply a chroma key algorithm to the cursor
|
||||
# this allows for only replacing certain parts of the cursor texture
|
||||
chroma = false
|
||||
|
||||
# color to replace when chroma = true
|
||||
chroma:color = rgba(000000ff)
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue