chore: use tabs instead of spaces for formatting

This commit is contained in:
Dillon Lees 2020-07-07 10:16:53 -04:00 committed by Bruno Sutic
parent 9f0cf6581b
commit cf5715d5fa
No known key found for this signature in database
GPG Key ID: CAFA7B1B2914ED81
2 changed files with 61 additions and 61 deletions

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/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/../helpers.sh"
source "$CURRENT_DIR/../variables.sh" source "$CURRENT_DIR/../variables.sh"
@ -16,7 +16,7 @@ template() {
fi fi
local content local content
read -r -d '' content <<- EOF read -r -d '' content <<-EOF
<?xml version="1.0" encoding="UTF-8"?> <?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"> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0"> <plist version="1.0">

View File

@ -4,7 +4,7 @@
TRUE_FULL_SCREEN="$1" TRUE_FULL_SCREEN="$1"
start_terminal_and_run_tmux() { start_terminal_and_run_tmux() {
osascript <<- EOF osascript <<-EOF
tell application "kitty" tell application "kitty"
activate activate
delay 5 delay 5
@ -18,8 +18,8 @@ start_terminal_and_run_tmux() {
} }
resize_window_to_full_screen() { resize_window_to_full_screen() {
osascript <<- EOF osascript <<-EOF
tell application "kitty" tell application "kitty"
activate activate
tell application "System Events" tell application "System Events"
if (every window of process "kitty") is {} then 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 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} set size of front window of process "kitty" to {item 3 of desktopSize, item 4 of desktopSize}
end tell end tell
end tell end tell
EOF EOF
} }
resize_to_true_full_screen() { resize_to_true_full_screen() {
osascript <<- EOF osascript <<-EOF
tell application "kitty" tell application "kitty"
activate activate
delay 1 delay 1