This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "languages": { | |
| "Swift": { | |
| "tab_size": 2, | |
| "formatter": { | |
| "external": { | |
| "command": "swiftformat", | |
| "arguments": [ | |
| "stdin", | |
| "--stdinpath", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* Colors based on Catppuccin */ | |
| /* Catppucin Latte */ | |
| :root { | |
| --zen-colors-primary: #ccd0da !important; | |
| --zen-primary-color: #1e66f5 !important; | |
| --zen-colors-secondary: #ccd0da !important; | |
| --zen-colors-tertiary: #e6e9ef !important; | |
| --zen-colors-border: #1e66f5 !important; | |
| --toolbarbutton-icon-fill: #4c4f69 !important; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import SwiftUI | |
| struct SearchTextFieldStyle: TextFieldStyle { | |
| @Environment(\.controlActiveState) private var controlActiveState | |
| @FocusState private var textFieldFocused: Bool | |
| @State private var clearButtonScale: CGFloat = Constants.outScale | |
| @State private var windowIsActive: Bool = true | |
| @Binding var text: String |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import AppleScriptObjC | |
| import Foundation | |
| enum AppleScriptError: Error { | |
| case scriptCompilationFailed | |
| case executionFailed(String) | |
| } | |
| func runAppleScript(script: String) throws -> String? { | |
| var result: String? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| theme = dark:Bright Lights,light:AtomOneLight | |
| cursor-style = underline | |
| shell-integration-features = no-cursor | |
| adjust-cursor-thickness = 4 | |
| font-size = 15 | |
| font-family = Rec Mono Linear | |
| font-thicken = true | |
| selection-invert-fg-bg = true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // paste this script in Script Editor on macOS | |
| iTerm = Application('iTerm2') | |
| iTerm.includeStandardAdditions = true; | |
| // change to the path to your directory | |
| var dir = '/path/to/project' | |
| var win |