aboutsummaryrefslogtreecommitdiff
path: root/templates/.bin/alacritty-fullscreen
blob: 42f80e323ec33b58b8a327069994b1ead494cba1 (plain)
1
2
3
4
5
6
7
8
9
10
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