G-dH / custom-hot-corners-extended

A GNOME Shell Extension that allows you to give a function to any corner or edge of your monitors and expand your keyboard capabilities.
GNU General Public License v3.0
133 stars 19 forks source link

[FEATURES] add window control options #95

Open JE-Amouel opened 7 months ago

JE-Amouel commented 7 months ago

HI,

is it possible to add RESIZE and MOVE in window control options? look like it not available in menus.

Screenshot from 2024-03-30 11-18-10

THANKS.

G-dH commented 7 months ago

Could you provide more details on that?

JE-Amouel commented 7 months ago

okay i send you a screen record of my desktop, gnome already provide those window's control by right clicking on a window's title bar, and almost all window's control options are already existing in CHC-E, but only window resizing and window moving options are not.

Screencast from 2024-03-30 14-44-33.webm

G-dH commented 7 months ago

I'm curious to understand the additional benefits it might provide over what the window manager already offers.

JE-Amouel commented 7 months ago

to tell the truth, I prefer to use a detached menu for window control, as you can see in the video I removed all the control buttons from my windows), and I manage to control them by determining a custom menu in CHC-E which contains all the control buttons (minimize, maximize, close, unminimize all windows) that you can see in the top right corner of my screen in the video, and with a low scroll on the right corner of my screen I easily access the menu, it allows me to control my windows from a single location, which is very beneficial in terms of efficiency, basically one location one action, regardless of window size or position.

Screencast from 2024-03-30 17-51-39.webm

JE-Amouel commented 7 months ago

at least if possible, add at least one option that allows the user to determine action, we could have two types of action:

  1. command: here it would be a question of determining a command chain to launch when the trigger corner is initiated/

  2. keybinding: here, we define a keyboard shortcut to simulate.

all we would have to do is determine what type of action (command to run or keyboard shortcuts to simulate) once the choice is made and configure, choose a name for this action, and this action could appear in the list of action choices, can be in a drop-down menu called custom action, in the same way as custom menu,

it could be very useful to be able to trigger third-party extensions, which would extend the field of possibilities of CHC-E.

G-dH commented 7 months ago

CHC-E allows for the execution of system shell commands but cannot control other extensions unless they support it.

JE-Amouel commented 7 months ago

I understand, I saw that the only extension that is compatible on my set of extensions is only arc menu,

but as we can interact with most extensions using keyboard shortcuts, if CHC-E gave the possibility of recording a keyboard shortcut as an action, it would resolve the aspect of interacting with other extensions,

suppose i have in extension that recorde window screen when i press CTRL + SUPER + s, and suppose CHC-E grants the ability to record a keyboard shortcut as an action, I can just record this keyboard shortcut as an action, and just choose a corner of my screen to trigger the recording,

It could allow you to interact with other extensions while waiting for them to support the CHC-E extension with all the advantages of native support.

G-dH commented 7 months ago

CHC-E provides an action that allows you to execute shell commands, including programs that can emulate keyboard input, such as xte. If you're running GNOME on Wayland, however, you need other tools and root privileges.

You can fill another feature request for an action that can emulate keyboard input.

JE-Amouel commented 7 months ago

Thanks, noted.