jarcode-foss / glava

GLava - OpenGL audio spectrum visualizer
GNU General Public License v3.0
1.18k stars 59 forks source link

Start glava at specific coordinates when launching #220

Closed hosua closed 2 years ago

hosua commented 2 years ago

Hi, I've been trying to figure out a way to either launch glava on a specific coordinate or even "full screened".

I'm currently using dwm with a patch that allows glava (or any application for that matter) to be in the background of my desktop. It works, but with this patch, I'm unable to resize any unmanaged windows once they are created.

This causes issues because glava seems to spawn wherever it wants to whenever I use the command.

A quick fix to this issue would be to just have it spawn full screened/maximized, or as mentioned in the title, spawn glava at specified coordinates (similarly to how Conky operates).

Is this possible? Or would a change like this be difficult to implement? I am not very familiar with C.

hosua commented 2 years ago

Sorry, I really should have read your README more thoroughly, I'm really sleep deprived right now, lol.

If anyone runs into the same issue, please note this part of the README.

To embed GLava in your desktop (for EWMH compliant window managers), run it with the --desktop flag and then position it accordingly with #request setgeometry x y width height in your rc.glsl.