summaryrefslogtreecommitdiff
path: root/zsh/Zsh
diff options
context:
space:
mode:
Diffstat (limited to 'zsh/Zsh')
-rwxr-xr-xzsh/Zsh/tt20
1 files changed, 20 insertions, 0 deletions
diff --git a/zsh/Zsh/tt b/zsh/Zsh/tt
new file mode 100755
index 0000000..f74cf10
--- /dev/null
+++ b/zsh/Zsh/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
+tt -notheme