summaryrefslogtreecommitdiff
path: root/keyboards/ergodox/keymaps/algernon/tools/max-focused
diff options
context:
space:
mode:
authorcbbrowne <cbbrowne@cbbrowne.tor.int-afilias.info>2016-08-04 11:10:41 -0400
committercbbrowne <cbbrowne@cbbrowne.tor.int-afilias.info>2016-08-04 11:10:41 -0400
commit64e051652b5a8dac3ab0a2d31fb061ee50ecb0e5 (patch)
tree2385031a708ae6270e53d9b9c13db0f53e1f9e1e /keyboards/ergodox/keymaps/algernon/tools/max-focused
parent2d59c97ec16914835c55a409b460ecc79eba152d (diff)
parent213cb2c24306e198e717fc162806201567666f36 (diff)
Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware
Diffstat (limited to 'keyboards/ergodox/keymaps/algernon/tools/max-focused')
-rwxr-xr-xkeyboards/ergodox/keymaps/algernon/tools/max-focused5
1 files changed, 5 insertions, 0 deletions
diff --git a/keyboards/ergodox/keymaps/algernon/tools/max-focused b/keyboards/ergodox/keymaps/algernon/tools/max-focused
new file mode 100755
index 0000000000..4d5220aa8b
--- /dev/null
+++ b/keyboards/ergodox/keymaps/algernon/tools/max-focused
@@ -0,0 +1,5 @@
+#! /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