francma / wob

A lightweight overlay volume/backlight/progress/anything bar for Wayland.
ISC License
896 stars 49 forks source link

Feature request: add rotation option #44

Closed paper42 closed 1 year ago

paper42 commented 4 years ago

Something like -r, --rotate=vertical would be nice.

paper42 commented 4 years ago

I was thinking about this and maybe something like rotate=90 (degrees) would be better if it is not too much harder to implement. Imagine someone wanted to create a bar which goes from up to down, this way wob wouldn't need another flag which reverses the direction of the bar.

0Karakurt0 commented 4 years ago

There is another way to do it, automatic one. It limits directions to only 2, but why would you need more anyway? What I am talking about is to define direction based on geometry. If Width > height then horisontal; else vertical. Something along these lines

0Karakurt0 commented 3 years ago

I tried to implement my idea, but could not get it to work somewhy

7ff04da4aa6ac37197e249299066ac30 commented 2 years ago

97 works well and I've been using it for a week with no issues.