1
0
Fork 0

chore: updates here and there

This commit is contained in:
Arthur Khachaturov 2024-08-17 18:16:07 +03:00
parent ed190866f5
commit 05708570cb
No known key found for this signature in database
GPG key ID: CAC2B7EB6DF45D55
14 changed files with 58 additions and 67 deletions

View file

@ -1,13 +1,13 @@
PID="$$"
process_id="$$"
(
if [ "$(inxi -aG | grep -c 'Monitor')" -eq 1 ]; then
setfont Uni3-Terminus32x16.psf.gz
stty -F /proc/$PID/fd/0 rows 65 cols 195
stty -F /proc/$process_id/fd/0 rows 65 cols 195
else
setfont Uni3-Terminus16.psf.gz
stty -F /proc/$PID/fd/0 rows 90 cols 320
stty -F /proc/$process_id/fd/0 rows 90 cols 320
fi >/dev/null 2>&1 &
)
unset PID
unset process_id
# vim: ft=sh