nikp123 / xava

X11 Audio Visualizer for ALSA
http://nikp123.github.io/xava
Other
129 stars 14 forks source link

[feature request] ability to specify output screen #35

Closed tnymlr closed 3 years ago

tnymlr commented 3 years ago

Thank you so much for contributing into this project and providing us with awesome visualiser that is easy on CPU (everything else is much hard on CPU).

The addition of override_redirect makes it almost perfect. Now if only I could move it to another monitor of mine.

nikp123 commented 3 years ago

That feature is already in the wayland fork, so porting it back to X11 seems like a logical thing to do. Updates are going to be posted here. Also the unstable branch is filled with a lot of new things, I'll have to merge that too before doing anything.

tnymlr commented 3 years ago

Btw, for whoever else wants to move it to another screen, you can still do that, you just need to guess offsets correctly.

I've got 4k primary monitor on the left and small FHD monitor on my lapton on the right, I was able to move XAVA to my laptop screen like this:

alignment = 'bottom_left'
x_padding = 3840
y_padding = 1080
nikp123 commented 3 years ago

Yeah I thought you might notice that too

nikp123 commented 3 years ago

That's a workaround since the coordinate space is global and in essence acts as one big monitor.

nikp123 commented 3 years ago

aka. all the screen spaces are added together to make the global space, with the beginning being in the top-left (0,0)

nikp123 commented 3 years ago

Feature done. Just do some testing (just to make sure), although I believe it is done and this could be closed.

You have to download the unstable branch by:

git checkout unstable
git pull origin unstable

within the XAVA git directory

tnymlr commented 3 years ago

Hmmm, unstable branch to be ignoring override_redirect, so I can't really test it.

nikp123 commented 3 years ago

The config has been changed. Look into example_files dir within the unstable branch.

tnymlr commented 3 years ago

With updated config it works perfectly, thank you very much!

tnymlr commented 3 years ago

Config of the dream:

[x11]
 override_redirect = true
 monitor_name = eDP-1-1