darkstego / Mudeer

KDE Plasma Screen Splitting Shortcuts ideal for Ultrawide and Super-Ultrawide Monitors
MIT License
157 stars 13 forks source link

Add two-thirds middle hotkey #13

Closed Boris-Barboris closed 1 year ago

Boris-Barboris commented 1 year ago

https://github.com/darkstego/Mudeer/issues/12

darkstego commented 1 year ago

The suggested hotkey is already used for gapless prefix. I need to think about the shortcut structure. I would like to stick to the 8 keys (ASDFZXCV) if possible. Using the 'Shift+F' key has its merit since it is being used as an alternative whole screen option. The option of 'Shift+S' makes sense too when you think about the key being used by thirds. I might have to move things around to make it work.

Boris-Barboris commented 1 year ago

The fact that most compositors already have a fullscreen hotkey comes to mind. Perhaps the current "Whole" hotkey is of questionable need?

darkstego commented 1 year ago

The fact that most compositors already have a full-screen hotkey comes to mind. Perhaps the current "Whole" hotkey is of questionable need?

It was actually requested, it serves two purposes. First, it provides a whole screen with gap as opposed to the maximize by compositors. Second, it allows users to tile to full top half/bottom half.

My current thinking is keeping it without a shortcut (I will need to handle the null shortcut option). With the suggestion of using "Shift+S", basically replacing centered 1/2 screen for users who want it. This will allow 4 centered options (Whole, 1/2, 1/3 - customizable, 2/3). With enough default options for 3 of the 4. Basically users can select the "Shift+S" shortcut for either 1/2 or 2/3 depending on their preference. Users are also free to add any other shortcut if they want to expand and use all 4.

Boris-Barboris commented 1 year ago

Sounds cool! Do I just set hotkey to empty string then? Or it will need a deeper code modification?

пт, 14 июл. 2023 г., 09:14 darkstego @.***>:

The fact that most compositors already have a fullscreen hotkey comes to mind. Perhaps the current "Whole" hotkey is of questionable need?

It was actually requested, it serves two purposes. First, it provides a whole screen with gap as opposed to the maximize by compositors. Second, it allows full top half/buttom half.

My current thinking is keeping it without a shortcut (I will need to handle the null shortcut option). With the suggestion of using "Shift+S", basically replacing centered 1/2 screen for users who want it. This will allow 4 centered options (Whole, 1/2, 1/3 - customizable, 2/3). With enough default options for 3 of the 4. Basically users can select the "Shift+S" shortcut for either 1/2 or 2/3 depending on their preference. Users are also free to add any other shortcut if they want to expand and use all 4.

— Reply to this email directly, view it on GitHub https://github.com/darkstego/Mudeer/pull/13#issuecomment-1635332760, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABAPGCNE7SXPVMRNKMRR76LXQDPV3ANCNFSM6AAAAAA2IO5QIM . You are receiving this because you authored the thread.Message ID: @.***>

darkstego commented 1 year ago

I just added a commit that handles empty strings for shortcuts. So you can just change it to an empty string now and it should be fine.

Boris-Barboris commented 1 year ago

Updated