summaryrefslogtreecommitdiff
path: root/scripts/Scripts/tt
blob: 8ebef9eb8168739a4c5fd984fd60c144538b22f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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
~/Scripts/tt.elf -notheme