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 { isTauri } from "@tauri-apps/api/core" | |
import { getCurrentWindow } from "@tauri-apps/api/window" | |
import { useEffect } from "preact/hooks" | |
const EDITABLE_SELECTORS = [ | |
'input[type="text"]', | |
'input[type="password"]', | |
'input[type="email"]', | |
'input[type="tel"]', | |
'input[type="url"]', |
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
#!/bin/bash | |
# Original: https://github.com/Jeffrey-Fazal/close_apps | |
while true; do | |
echo "Starting script to close apps without windows..." | |
osascript <<'EOF' | |
use framework "Foundation" |
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
html { | |
/** Uncomment below to disable Pull to Refresh */ | |
/* overscroll-behavior: none; */ | |
height: 100vh; | |
width: 100vw; | |
} | |
@supports (height: 100dvh) and (width: 100dvw) { | |
html { | |
height: 100dvh; | |
width: 100dvw; |