1
0
Fork 0
This commit is contained in:
Arthur K. 2025-03-15 13:52:06 +03:00
parent 365e0feddc
commit ce19d6a62c
Signed by: wzray
GPG key ID: B97F30FDC4636357
24 changed files with 212 additions and 96 deletions

View file

@ -1,11 +1,12 @@
[ -f "~/.config/.fix-tty" ] || return
[ -f "$HOME/.config/.fix-tty" ] || return
process_id="$$"
(
if [ "$(inxi -aG | grep -c 'Monitor')" -eq 1 ]; then
setfont Uni3-Terminus32x16.psf.gz
if [ "$(inxi -aG | grep -c 'Monitor')" = "1" ]; then
setfont ter-v32n
stty -F /proc/$process_id/fd/0 rows 65 cols 195
else
setfont Uni3-Terminus16.psf.gz
setfont ter-v16n
stty -F /proc/$process_id/fd/0 rows 90 cols 320
fi >/dev/null 2>&1 &
)