-
-
Notifications
You must be signed in to change notification settings - Fork 95
Description
If you'd like to put out an incentive for implementing this feature, you can do so at https://issuehunt.io/r/bk138/gromit-mpx
Is your feature request related to a problem? Please describe.
Hello,
I am using Gromit with Hyprland and like others on Wayland I found some issues.
-
When starting Gromit is taking half of one of my monitor and displayed on top of the others windows.
Workaround:
# When starting gromit we need to trick it to hide the window # toggling twice the visibility seems to do the trick exec-once = gromit-mpx & sleep 1 && gromit-mpx -v && gromit-mpx -v # Force the window to take 100% of the space on the current monitor # This prevent Gromit-mpx to be placed/sized strangely windowrule = size 100% 100%, class:(Gromit-mpx) windowrule = noanim, class:(Gromit-mpx) -
The shortcuts don't seems to work out of the box.
Workaround:
Optional: Disabe the default shortcuts in Gromit-mpx to make sure they don't conflict with Hyprland.
HOTKEY = ""; UNDOKEY = "";
Then set the shortcuts in Hyprland:
bind = , F9, exec, gromit-mpx -t bind = SHIFT, F9, exec, gromit-mpx -v bind = CTRL, F9, exec, gromit-mpx -c bind = , F8, exec, gromit-mpx --undo bind = SHIFT , F8, exec, gromit-mpx --redo -
When I am not in drawing mode, Gromit don't let me click through the window, unless the window below is running on XWayland.
To work around this, limitation I could use Hyperland
nofocuswindows rules.But because, Gromit only allows to toggle via CLI it is no easy to make a robust script.
Describe the solution you'd like
Would it be possible to provide a way to get information about the state of Gromit-mpx via CLI or to add more CLI options to set the state of Gromit-mpx?
Instead of gromit-mpx -t, if we had something like:
gromit-mpx showgromit-mpx hidegromit-mpx cursor grabgromit-mpx cursor off
It would make it much easier to know the state of Gromit-mpx, and use it in scripts to toggle tags or Hyprland rules.
Describe alternatives you've considered
I am considering writting a script which check if a Gromit-mpx window is open in order to determine the state of Gromit-mpx.
However, this is not perfect because it will not allow me to determine if the cursor is in drawing mode or not.
Additional context