qmk-dactyl-manuform-a/keyboards/ergodox/keymaps/algernon/tools/max-focused

6 lines
197 B
Bash
Executable File

#! /bin/sh
WIN="$(xdotool getactivewindow)"
wmctrl -i -r ${WIN} -b remove,maximized_vert,maximized_horz
xdotool windowsize ${WIN} 100% 100%
wmctrl -i -r ${WIN} -b add,maximized_vert,maximized_horz