Update topscrn4-10.sh

This commit is contained in:
kneutron 2022-02-22 20:16:45 -06:00 committed by GitHub
parent aa5ceb7f36
commit 4f791e2cf7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,11 +1,15 @@
#!/bin/bash
ff # fix fontsize
#ff # fix fontsize
# Requires: bwm-ng top screen iostat watch openvt/open
useprog=open
[ -e `which openvt` ] && useprog=openvt
# open 4-pane screen on vt10
# turn off screensaver
setterm -blank 0 2>/dev/null
# open 4-pane screen on vt10 and switch to it
( TERM=linux $useprog -f -c 10 -s -w -- /usr/bin/screen -S topscrn410 -c /root/.screenrc-mon1-combined ) &
disown -a