mirror of
				https://github.com/tmux-plugins/tmux-continuum.git
				synced 2025-11-04 00:07:32 +00:00 
			
		
		
		
	chore: use tabs instead of spaces for formatting
This commit is contained in:
		@@ -1,6 +1,6 @@
 | 
			
		||||
#!/usr/bin/env bash
 | 
			
		||||
 | 
			
		||||
CURRENT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
 | 
			
		||||
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
 | 
			
		||||
 | 
			
		||||
source "$CURRENT_DIR/../helpers.sh"
 | 
			
		||||
source "$CURRENT_DIR/../variables.sh"
 | 
			
		||||
@@ -16,7 +16,7 @@ template() {
 | 
			
		||||
	fi
 | 
			
		||||
 | 
			
		||||
	local content
 | 
			
		||||
  read -r -d '' content <<- EOF
 | 
			
		||||
	read -r -d '' content <<-EOF
 | 
			
		||||
	<?xml version="1.0" encoding="UTF-8"?>
 | 
			
		||||
	<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
 | 
			
		||||
	<plist version="1.0">
 | 
			
		||||
 
 | 
			
		||||
@@ -4,7 +4,7 @@
 | 
			
		||||
TRUE_FULL_SCREEN="$1"
 | 
			
		||||
 | 
			
		||||
start_terminal_and_run_tmux() {
 | 
			
		||||
  osascript <<- EOF
 | 
			
		||||
	osascript <<-EOF
 | 
			
		||||
	tell application "kitty"
 | 
			
		||||
		activate
 | 
			
		||||
		delay 5
 | 
			
		||||
@@ -18,8 +18,8 @@ start_terminal_and_run_tmux() {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
resize_window_to_full_screen() {
 | 
			
		||||
  osascript <<- EOF
 | 
			
		||||
tell application "kitty"
 | 
			
		||||
	osascript <<-EOF
 | 
			
		||||
	tell application "kitty"
 | 
			
		||||
		activate
 | 
			
		||||
		tell application "System Events"
 | 
			
		||||
			if (every window of process "kitty") is {} then
 | 
			
		||||
@@ -33,12 +33,12 @@ tell application "kitty"
 | 
			
		||||
			set position of front window of process "kitty" to {0, 0}
 | 
			
		||||
			set size of front window of process "kitty" to {item 3 of desktopSize, item 4 of desktopSize}
 | 
			
		||||
		end tell
 | 
			
		||||
end tell
 | 
			
		||||
EOF
 | 
			
		||||
	end tell
 | 
			
		||||
	EOF
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
resize_to_true_full_screen() {
 | 
			
		||||
  osascript <<- EOF
 | 
			
		||||
	osascript <<-EOF
 | 
			
		||||
	tell application "kitty"
 | 
			
		||||
		activate
 | 
			
		||||
		delay 1
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user