Is there a way to pause/play video via command (for keyboard shortcuts). #246
|
Hi, I had a question if there is a way to pause/play the video wallpaper via a command, since the plugin is very smart itself. I needed this for toggling it via a keyboard shortcut, just like KDE plasma wallpaper has it's own 'next wallpaper' keyboard shortcut in settings. This plugin is already very nice as it is, like there are battery conditions and maximized window conditions to pause the video... |
Replies: 1 comment 3 replies
|
Currently there is no way to do other than the Desktop right-click menu:
In #72 we discussed the possibility of registering such shortcut. Looking at the official Image plugin code they do the shortcut registration here https://invent.kde.org/plasma/plasma-workspace/-/blob/d3b5a422e586ee578efadfe462d0d0b5546aaa3b/wallpapers/image/plugin/imagebackend.cpp#L48 We can add a C++ plugin that does this, but it will need to be optional, like the upcoming Day-Night cycle integration (#233) that will also be conditionally loaded if the plugin is installed |

Currently there is no way to do other than the Desktop right-click menu:
In #72 we discussed the possibility of registering such shortcut.
Looking at the official Image plugin code they do the shortcut registration here https://invent.kde.org/plasma/plasma-workspace/-/blob/d3b5a422e586ee578efadfe462d0d0b5546aaa3b/wallpapers/image/plugin/imagebackend.cpp#L48
We can add a C++ plugin that does this, but it will need to be optional, like the upcoming Day-Night cycle integration (#233) that will also be conditionally loaded if the plugin is installed