aboutsummaryrefslogtreecommitdiff
path: root/templates/.bin/alacritty-fullscreen
diff options
context:
space:
mode:
Diffstat (limited to 'templates/.bin/alacritty-fullscreen')
-rwxr-xr-xtemplates/.bin/alacritty-fullscreen11
1 files changed, 11 insertions, 0 deletions
diff --git a/templates/.bin/alacritty-fullscreen b/templates/.bin/alacritty-fullscreen
new file mode 100755
index 0000000..42f80e3
--- /dev/null
+++ b/templates/.bin/alacritty-fullscreen
@@ -0,0 +1,11 @@
+#!/usr/bin/osascript
+
+tell application "Alacritty"
+ tell application "System Events" to tell process "Alacritty"
+ if front window exists then
+ tell front window
+ set value of attribute "AXFullScreen" to true
+ end tell
+ end if
+ end tell
+end tell