I'm writing my first script (I just moved over to ubuntu to get vim, vimtex, zathura, etc. to start editing TeX documents offline and I'm having to learn everything on the fly) and I would like it to do the following:
- It should intake (as a variable if this is possible) a .tex file
- alter the geometry of the current terminal window (so its flushed left on the screen and at the maximal height)
- Open the .tex file in the current terminal in vim 2 open the corresponding compiled .pdf file for the .tex file in Zathura and have the geometry of the Zathura window be flushed left and so that is fills the screen.
Essentially, the script should produce something like this.
What script would I need to do this? If it's even possible.
 
    