mirror of
https://github.com/virtcode/hypr-dynamic-cursors
synced 2025-09-19 16:13:21 +02:00
parent
c13cbd5ed2
commit
94eaf75d09
8 changed files with 80 additions and 2 deletions
|
@ -516,3 +516,10 @@ void CDynamicCursors::calculate(EModeUpdate type) {
|
|||
void CDynamicCursors::setMove() {
|
||||
isMove = true;
|
||||
}
|
||||
|
||||
void CDynamicCursors::dispatchMagnify(std::optional<int> duration, std::optional<float> size) {
|
||||
static auto* const* PSHAKE = (Hyprlang::INT* const*) getConfig(CONFIG_SHAKE);
|
||||
if (!**PSHAKE) return;
|
||||
|
||||
shake.force(duration, size);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue