Ventto / mons

POSIX Shell script to quickly manage monitors on X

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature request: cycle through modes

sheinz opened this issue · comments

First of all thanks for such a nice tool!

I would like to hook this tool to the "display" key on my laptop. So, just by hitting a single key I can cycle through different display modes. (I'm using i3 wm)

I can try to implement such feature myself but there's one question. Whether to store current mode or try to guess it from the xrand output.

commented

Thanks @sheinz for the feedback.

I will add soon a new option called -n [EXTEND] as "next" to cycle through different 2-monitors display modes which are:

  1. Preferred monitor only
  2. Second monitor only
  3. Duplication
  4. Extend (whose the side is given with EXTEND)
  5. Mirror

PS: back from holidays.