Skip to content

Commit ede266f

Browse files
committed
hypr
1 parent 397ae19 commit ede266f

File tree

2 files changed

+38
-38
lines changed

2 files changed

+38
-38
lines changed

config/hypr/hyprland.conf

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -287,22 +287,22 @@ bind = $mainMod, l, movefocus, r
287287
# bind = $mainMod, G, mouse_up, ,10
288288

289289

290-
plugin:dynamic-cursors {
290+
#plugin:dynamic-cursors {
291291

292292
# enables the plugin
293-
enabled = true
293+
# enabled = true
294294

295295
# sets the cursor behaviour, supports these values:
296296
# tilt - tilt the cursor based on x-velocity
297297
# rotate - rotate the cursor based on movement direction
298298
# stretch - stretch the cursor shape based on direction and velocity
299299
# none - do not change the cursors behaviour
300300
# mode = tilt
301-
mode = stretch
301+
# mode = stretch
302302

303303
# minimum angle difference in degrees after which the shape is changed
304304
# smaller values are smoother, but more expensive for hw cursors
305-
threshold = 1
305+
# threshold = 1
306306

307307
# override the mode behaviour per shape
308308
# this is a keyword and can be repeated many times
@@ -311,113 +311,113 @@ plugin:dynamic-cursors {
311311
# shaperule = <shape-name>, <mode> (optional), <property>: <value>, ...
312312
# shaperule = <shape-name>, <mode> (optional), <property>: <value>, ...
313313
# ...
314-
shaperule = text, rotate:offset: 90
314+
# shaperule = text, rotate:offset: 90
315315
# use stretch mode when grabbing, and set the limit low
316-
shaperule = grab, stretch, stretch:limit: 1000
316+
# shaperule = grab, stretch, stretch:limit: 1000
317317
# do not show any effects on clientside cursors
318318
# shaperule = clientside, none
319319

320320
# for mode = rotate
321-
rotate {
321+
# rotate {
322322

323323
# length in px of the simulated stick used to rotate the cursor
324324
# most realistic if this is your actual cursor size
325-
length = 20
325+
# length = 20
326326

327327
# clockwise offset applied to the angle in degrees
328328
# this will apply to ALL shapes
329-
offset = 0.0
330-
}
329+
# offset = 0.0
330+
#}
331331

332332
# for mode = tilt
333-
tilt {
333+
#tilt {
334334

335335
# controls how powerful the tilt is, the lower, the more power
336336
# this value controls at which speed (px/s) the full tilt is reached
337-
limit = 100
337+
# limit = 100
338338
# 5000
339339

340340
# relationship between speed and tilt, supports these values:
341341
# linear - a linear function is used
342342
# quadratic - a quadratic function is used (most realistic to actual air drag)
343343
# negative_quadratic - negative version of the quadratic one, feels more aggressive
344-
function = negative_quadratic
345-
}
344+
# function = negative_quadratic
345+
# }
346346

347347
# for mode = stretch
348-
stretch {
348+
#stretch {
349349

350350
# controls how much the cursor is stretched
351351
# this value controls at which speed (px/s) the full stretch is reached
352-
limit = 100
352+
# limit = 100
353353
# 3000
354354

355355
# relationship between speed and stretch amount, supports these values:
356356
# linear - a linear function is used
357357
# quadratic - a quadratic function is used
358358
# negative_quadratic - negative version of the quadratic one, feels more aggressive
359-
function = negative_quadratic
360-
}
359+
#function = negative_quadratic
360+
#}
361361

362362
# configure shake to find
363363
# magnifies the cursor if its is being shaken
364-
shake {
364+
# shake {
365365

366366
# enables shake to find
367-
enabled = true
367+
#enabled = true
368368

369369
# use nearest-neighbour (pixelated) scaling when shaking
370370
# may look weird when effects are enabled
371-
nearest = true
371+
#nearest = true
372372

373373
# controls how soon a shake is detected
374374
# lower values mean sooner
375-
threshold = 2.0
375+
#threshold = 2.0
376376

377377
# magnification level immediately after shake start
378-
base = 4.0
378+
#base = 4.0
379379
# magnification increase per second when continuing to shake
380-
speed = 4.0
380+
#speed = 4.0
381381
# how much the speed is influenced by the current shake intensitiy
382-
influence = 0.0
382+
#influence = 0.0
383383

384384
# maximal magnification the cursor can reach
385385
# values below 1 disable the limit (e.g. 0)
386-
limit = 0.0
386+
#limit = 0.0
387387

388388
# time in millseconds the cursor will stay magnified after a shake has ended
389-
timeout = 2000
389+
# timeout = 2000
390390

391391
# show cursor behaviour `tilt`, `rotate`, etc. while shaking
392-
effects = true
392+
# effects = true
393393

394394
# enable ipc events for shake
395395
# see the `ipc` section below
396-
ipc = true
397-
}
396+
# ipc = true
397+
#}
398398

399399
# use hyprcursor to get a higher resolution texture when the cursor is magnified
400400
# see the `hyprcursor` section below
401-
hyprcursor {
401+
#hyprcursor {
402402

403403
# use nearest-neighbour (pixelated) scaling when magnifing beyond texture size
404404
# this will also have effect without hyprcursor support being enabled
405405
# 0 / false - never use pixelated scaling
406406
# 1 / true - use pixelated when no highres image
407407
# 2 - always use pixleated scaling
408-
nearest = true
408+
# nearest = true
409409

410410
# enable dedicated hyprcursor support
411-
enabled = true
411+
# enabled = true
412412

413413
# resolution in pixels to load the magnified shapes at
414414
# be warned that loading a very high-resolution image will take a long time and might impact memory consumption
415415
# -1 means we use [normal cursor size] * [shake:base option]
416-
resolution = -1
416+
# resolution = -1
417417

418418
# shape to use when clientside cursors are being magnified
419419
# see the shape-name property of shape rules for possible names
420420
# specifying clientside will use the actual shape, but will be pixelated
421-
fallback = clientside
422-
}
423-
}
421+
# fallback = clientside
422+
## }
423+
#}

nixos/environment/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ in
289289
hyprkeys
290290
hyprland-monitor-attached
291291
hyprland-protocols
292-
inputs.hypr-dynamic-cursors.packages.${pkgs.system}.hypr-dynamic-cursors
292+
#inputs.hypr-dynamic-cursors.packages.${pkgs.system}.hypr-dynamic-cursors
293293
hyprlock
294294
hyprpicker
295295
hyprshade

0 commit comments

Comments
 (0)