diff --git a/niri-screensaver/Main.qml b/niri-screensaver/Main.qml index 508924e2e..0b896373f 100644 --- a/niri-screensaver/Main.qml +++ b/niri-screensaver/Main.qml @@ -126,6 +126,7 @@ Item { "NOW_PLAYING_DURATION=\"" + _shEscape(s.nowPlayingDuration || 3) + "\"", "LOGO_FILE=\"" + _shEscape(s.logoPath) + "\"", "CURSOR_HIDE=\"" + bool(s.cursorHide) + "\"", + "CURSOR_WARP=\"" + bool(s.cursorWarp) + "\"", "DISMISS_ON_KEY=\"" + bool(s.dismissOnKey) + "\"", "RANDOM_LOGO=\"" + bool(s.randomLogo) + "\"", "LOGO_DIR=\"" + _shEscape(s.logoDir) + "\"", diff --git a/niri-screensaver/README.md b/niri-screensaver/README.md index 753894239..d7c067a8d 100644 --- a/niri-screensaver/README.md +++ b/niri-screensaver/README.md @@ -89,7 +89,7 @@ installed `share/logos/`) and auto-refreshes when files appear or disappear; the fade lists come from `niri-screensaver-ctl effects`. Settings not surfaced in the UI (`FRAME_RATE`, `CLOCK_DURATION`, -`CLOCK_FONT`, `CURSOR_HIDE`, `DISMISS_ON_KEY`) can be edited directly in +`CLOCK_FONT`, `CURSOR_HIDE`, `CURSOR_WARP`, `DISMISS_ON_KEY`) can be edited directly in `~/.config/niri-screensaver/config` — they round-trip through the plugin on next reload. diff --git a/niri-screensaver/manifest.json b/niri-screensaver/manifest.json index a05161eee..4e3dd6a57 100644 --- a/niri-screensaver/manifest.json +++ b/niri-screensaver/manifest.json @@ -1,7 +1,7 @@ { "id": "niri-screensaver", "name": "Niri Screensaver", - "version": "0.7.0", + "version": "0.8.0", "minNoctaliaVersion": "4.7.0", "author": "jfreed-dev", "license": "GPL-3.0-only", @@ -34,6 +34,7 @@ "nowPlayingDuration": 3, "logoPath": "", "cursorHide": true, + "cursorWarp": false, "dismissOnKey": true, "randomLogo": false, "logoDir": "",