Skip to content

feat(wallpaper): add option to pause video wallpaper on battery - #4332

Merged
bbedward merged 2 commits into
duxlabs-dev:masterfrom
hthienloc:feat/pause-video-wallpaper-on-battery
Nov 19, 2026
Merged

bbedward merged 2 commits into
duxlabs-dev:masterfrom
hthienloc:feat/pause-video-wallpaper-on-battery

Conversation

@hthienloc

Copy link
Copy Markdown
Member

Description

Add a Pause video wallpaper on battery toggle (default false) under Settings → Wallpaper & colors → Wallpaper (shown when a battery is available). When enabled, WallpaperBackground pauses video wallpaper playback while running on battery and resumes automatically when plugged in.

Default behavior remains unchanged.

Type of change

  • New feature (non-breaking change that adds functionality)

Related issues

Closes #4071

@github-actions github-actions Bot added feature ui Quickshell UI under quickshell/ labels Nov 19, 2026
@github-actions

github-actions Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Claude review

Looks good. The pause logic is correct and only reads BatteryService when the setting is on. One minor i18n nit.

  • Missing translator comment on the new I18n.tr() string, quickshell/Modules/Settings/WallpaperColorsTab.qml:667
    Docs pending: new pauseVideoWallpaperOnBattery setting, no dux-docs PR linked
    Checked: settings spec/data/profile registration, videoShouldPlay gating and battery state, settings toggle visibility, idle CPU impact, i18n and search index. Model: claude-opus-5-5.

@github-actions

github-actions Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Claude review

No issues found. The translator comment from the last review has been added.
Docs pending: new pauseVideoWallpaperOnBattery setting, no dux-docs PR linked
Checked: spec, SettingsData and profile registration, videoShouldPlay gating with BatteryService.batteryAvailable/isPluggedIn (only read when the setting is on, so no idle cost), toggle visibility and imports, i18n context, generated search index entry. Model: claude-opus-5-5.

@bbedward
bbedward merged commit f41aa3a into duxlabs-dev:master Nov 19, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature ui Quickshell UI under quickshell/

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow pause animated wallpapers when on battery

2 participants