y4my4my4m / kde-shader-wallpaper

KDE / Plasma - Shader Wallpaper plugin
GNU General Public License v3.0
237 stars 12 forks source link

Multi monitor support. #6

Open solonovamax opened 4 years ago

solonovamax commented 4 years ago

I would love to see some support for multiple monitors, like perhaps the ability to stretch/crop/widen the view of the shader across the monitors.

y4my4my4m commented 4 years ago

@solonovamax good idea, should be possible to split the uv.

More customization will be available for v2.0.

Currently you can have a separate instance on multiple monitors, but if you'd like to have a multimonitor shader wallpaper right now here's what you can do:

  1. Copy the shader you want by the amount of monitors you have.
  2. Offset the uv.x by amount of monitor. (e.g. uv.x / 3 for three monitors) and properly position the offset according to which monitor that shaderfile will be used.
  3. Load each respective shader on each monitor
  4. Restart plasmashell and they should start in quasi-sync.

It's a cheap workaround but if you'd like to have something right now it should work good enough.

solonovamax commented 4 years ago

One thing I'd like to add is that I have an odd monitor configuration where my middle one and my left one are 1080p, but my right one is 1600x[insert number here that I forget]. It'd be nice if it could treat it as a 1080p monitor, but then downscale it to the correct resolution so it looks a bit more symmetrical.