#16067

Feature request: pause media playback when the screen locks

Openroehrbacheropened 1d ago

When I lock my screen, music or a video in the browser keeps playing in the background. I'd like Omarchy's lock screen to pause whatever is playing when it locks.

I do this now with a copy of the stock lock plugin (made with omarchy plugin clone) that runs playerctl --all-players pause when the lock starts. It works well, but I have to rebuild my copy every time the stock lock plugin changes, like it did in 4.0.6.

It could be a setting in the lock section of shell.json, either on by default or opt-in. It shouldn't resume playback on unlock, so nothing starts playing by surprise.

Omarchy 4.0.6, Dell XPS 14 and a desktop PC.

Activity

0

No activity yet.