Is it possible to take a keybind/keyboard shortcut and turn it into a CLI command or integrate that keybind/keyboard shortcut into a script that can then be executed in BASH?
I know this would be highly dependent on the terminal emu that one is using. for example: i'm using "terminator", and i want to fullscreen it with a command rather than the F11 keybind that it ships with. i could make a simple alias like this:
alias fullscreen="terminator -f"
the new alias only opens another terminator window in fullscreen, while the F11 keybind fullscreens the current terminator window. ideally, i would want to incorporate the keystroke.
I'm not even sure that this can be done. if there is any other details i am forgetting, just let me know.