diff options
| author | bh <qn+git@epicurus.dev> | 2026-03-23 00:16:51 +0800 |
|---|---|---|
| committer | bh <qn+git@epicurus.dev> | 2026-03-23 00:16:51 +0800 |
| commit | 5b63cb778a6ad0902bf40293c02c7a12de3e3c7d (patch) | |
| tree | 659bef30189e6e5c28dc4148212059aba80eb063 /scripts/Scripts/tt | |
| parent | a16a2e3d85830082e3c33e318a4399859e4516b1 (diff) | |
Change Scripts to scripts
Diffstat (limited to 'scripts/Scripts/tt')
| -rwxr-xr-x | scripts/Scripts/tt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/scripts/Scripts/tt b/scripts/Scripts/tt new file mode 100755 index 0000000..48824a3 --- /dev/null +++ b/scripts/Scripts/tt @@ -0,0 +1,20 @@ +#!/usr/bin/env bash + +# How much to zoom in +ZOOM="+12" + +# Store current font size +# ORIG_SIZE=$(kitty @ get-font-size) + +# Zoom in +kitty @ set-font-size "$ZOOM" + +# Restore on exit +restore_font() { + # kitty @ set-font-size "$ORIG_SIZE" + kitty @ set-font-size 10.5 +} +trap restore_font EXIT + +# Run tt +~/Zsh/tt.elf -notheme |
