I have set Firefox to always open 32px from the top of my screen with a height of 736px and to have full screen width (1366px).
How can I set up a keyboard shortcut to make any other application's window temporarily have the same dimensions? What would be the action to provide in System Settings > Custom Shortcuts? Or do I need to use a script and point to that?
How can I set up a keyboard shortcut to make any other application's window temporarily have the same dimensions? What would be the action to provide in System Settings > Custom Shortcuts? Or do I need to use a script and point to that?
Code:
#!/bin/sh wmctrl -r :ACTIVE: -b remove,maximized_vert wmctrl -r :ACTIVE: -b remove,maximized_horz #g,x,y,w,h: g is most commonly 0 wmctrl -r :ACTIVE: -e 1,0,32,1366,736
Comment