alex-courtis / way-displays

way-displays: Auto Manage Your Wayland Displays
MIT License
252 stars 13 forks source link

Feature: toggles #121

Open alex-courtis opened 1 year ago

alex-courtis commented 1 year ago

-t --toggle command

global:

per-display

jeadorf commented 10 months ago

:+1: This feature would allow me to conveniently plug waydisplay -s DISABLED <screen> -t in my rofi menu in order to turn the internal display on and off. Currently, I can easily turn the internal display off (see screenshot below), but I have not found a way to turn it back on (except restarting way-displays, which is not as neat, and well, restarts everything).

way-displays-toggle

alex-courtis commented 10 months ago

I have not found a way to turn it back on

You can --delete disabled <screen> however that is very unintuitive and not particularly useful.

alex-courtis commented 10 months ago

👍 This feature would allow me to conveniently plug waydisplay -s DISABLED <screen> -t in my rofi menu in order to turn the internal display on and off.

This is incredible! A beautiful TUI to manage displays.

Would you care to share your setup / configuration? That would be the start of the Recipes wiki page.

jeadorf commented 10 months ago

I just tested it: waydisplay --delete disabled <screen> covers all my use cases. I had simply overlooked the option.

I opened https://github.com/alex-courtis/way-displays/issues/140 for documenting rofi recipes.