You are not logged in.
I do not think this is possible but just wanted to make sure.
I was wondering if commands for the Window Manager can include some kind of access to hotkeys / actions you can assign to hotkeys in Window Manager - Keyboard.
The solution for this is probably to use a tool such as xdotool but was just curious if it could be done without it in some way.
Just to give a couple of examples....
Say you wanted to run a CL based command to use the "Cycle Window" action.
Want to run as a command, not a hotkey that applies the action.
Or
Say you have a program that you are running in full screen and you want to use your Super key + Right arrow to snap that program to the right side of your screen.
For example MPV allows user to be able to assign CL commands to a hotkey and run them within MPV. Wanted to try to see if running MPV in full screen that I can create commands to allow window snapping action to occur, because as mentioned full screen mode does not have access.
Again probably can only be done with something like xdotool.
If anyone could confirm this either way.
Thank you to anyone who reads this
Offline
Yes, you can use xdotool to automate key presses. For example:
xdotool key Alt+Tab
xdotool key Super+Right
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Thank you ToZ
As mentioned that is what I figured, would need to be done using a separate tool such as xdotool.
Was just curious if there was any tricks that would eliminated the need for a 3rd party tool.
Okay, thank you again
Offline
[ Generated in 0.007 seconds, 7 queries executed - Memory usage: 523.48 KiB (Peak: 529.48 KiB) ]