Skip to content

feat(wallpaper): support random cycling order - #2936

Open
hthienloc wants to merge 1 commit into
AvengeMedia:masterfrom
hthienloc:feat/random-wallpaper-cycling
Open

feat(wallpaper): support random cycling order#2936
hthienloc wants to merge 1 commit into
AvengeMedia:masterfrom
hthienloc:feat/random-wallpaper-cycling

Conversation

@hthienloc

@hthienloc hthienloc commented Jul 26, 2026

Copy link
Copy Markdown
Member

Description

This PR introduces a Random Order option for automatic wallpaper cycling. Currently, wallpapers in the active folder are strictly cycled in alphabetical order. With this change, users can enable random cycling so that the next wallpaper is selected at random, providing a surprise element.

How tested

  • Verified that the "Random Order" switch displays in the settings under "Automatic Cycling".
  • Verified that with random cycling enabled, wallpapers change in non-alphabetical random order and avoid duplicating the active image.

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that changes existing behavior)
  • Refactor / internal cleanup
  • Documentation
  • Other

Related issues

Closes #1085

Screenshots / video

dms_capture_1785065763152

Checklist

  • My code follows the conventions in CONTRIBUTING.md
  • I have tested my changes locally
  • New user-facing strings are wrapped in I18n.tr() with translator context, reusing existing terms where possible
  • Go changes: ran make fmt, added/updated tests, make test passes, and go mod tidy is clean
  • QML changes: ran make lint-qml with no new warnings
  • I have opened a corresponding pull request in dlx-docs to document any new behaviors: https://github.com/AvengeMedia/DankLinux-Docs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

add a random wallpaper cycle instead of having them in order of the dir they are in

1 participant