mirror of
https://bitbucket.org/skobkin/dotfiles.git
synced 2024-12-22 07:24:21 +00:00
added screenrc config for remote servers.
This commit is contained in:
parent
6b86bb8c53
commit
3077bdbafa
17
screen/simple-remote-server.screenrc
Normal file
17
screen/simple-remote-server.screenrc
Normal file
|
@ -0,0 +1,17 @@
|
|||
# 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 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}]'
|
||||
|
Loading…
Reference in a new issue