dotfiles/screen/homeserver.screenrc

19 lines
612 B
Plaintext
Raw Permalink Normal View History

# Including common settings
source ~/.dotfiles/screen/common.screenrc
# Creating default windows
screen -t shell
screen -t root1 sudo -i
screen -t root2 sudo -i
# Selecting first window
select 0
# Backtick commands to output in the hardstatus
backtick 1 10 10 sh -c '~/.dotfiles/screen/backticks/hwtemp-homeserver.sh'
backtick 2 10 10 sh -c '~/.dotfiles/screen/backticks/loadavg.sh'
backtick 3 10 10 sh -c '~/.dotfiles/screen/backticks/memory.sh'
hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][ %1` ][ %2` ][ %3` ][%{B} %d-%m-%Y %{W}%c %{g}]'