Created
March 7, 2019 05:16
-
-
Save Kahnix/79704467d4218bd41272fa90f29d7524 to your computer and use it in GitHub Desktop.
Fixes HIDPI readability issues on my laptop when using a tty, theres probably a better way to do this but it works if I slap it into my bashrc.
This file contains 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 | |
#Requires terminus-fonts | |
if [[ "$(tty)" == /dev/tty[0-9] ]]; #Determine if the user is using a tty | |
then setfont ter-132n; #Set font to one thats friendlier with a tty | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment