-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.screenrc
executable file
·53 lines (45 loc) · 2.59 KB
/
.screenrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# screen init file on Arch GNU/Linux
vbell off # no bell
autodetach on # detach on hangup
startup_message off # don't display the copyright page
defutf8 on # utf-8 encoding
defscrollback 10000 # change default scrollback value for new windows
bufferfile $HOME/.screen_exchange # the file to use for "readbuf" ('<') and "writebuf" ('>'):
shell -${SHELL} # make the shell in every window a login shellz.
termcapinfo rxvt* ti@:te@:XT # improve mouse scrolling
#terminfo rxvt* 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm' # fix 256 colors for uxrvt
#shelltitle '$ |bash' # enable this to have currently running app show up in screen 'title'
#termcapinfo xterm "Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm"
#termcapinfo xterm-color "Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm"
#terminfo rxvt-unicode 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
#terminfo rxvt-256color 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
### Woohoo - setting the background differently than the Xdefault actually works now!
# http://frexx.de/xterm-256-notes/
#terminfo and termcap for nice 256 color terminal
# allow bold colors - necessary for some reason
attrcolor b ".I"
# tell screen how to set colors. AB = background, AF=foreground
termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
# erase background with current bg color
defbce "on"
# keybindings
bindkey "^[[23~" prev # f11
bindkey "^[[24~" next # f12
#bindkey "[1;3D" prev # alt-right
#bindkey "[1;3C" next # alt-left
bindkey "^[^[[D" next # alt-right ...doesn't work
bindkey "^[^[[C" next # alt-left ...doesn't work
bindkey "^o" hardstatus string ''
bindkey "^p" hardstatus string "%{G}[ %{Y}%H %{G}][%{w}%?%-Lw%?%{G}(%{W}%n*%f%t%?(%u)%?%{G})%{w}%?%+Lw%?%?%= %{G}][ Updates: %1` %2`%%][ %C ]"
#bindkey "^k" eval "copy" "stuff ^b" # enter copy mode and move up one page
#bindkey "^j" eval "stuff ^b" # when in copy mode, move down one page
#bindkey "^k" eval "copy" "stuff k" # enter copy mode and move up one line
# startup windows
# change hardstatus settings to show a window list at the bottom of the
# screen, with the current window highlighted and hostname on both ends
hardstatus alwayslastline "%{G}[ %{Y}%H %{G}][%{w}%?%-Lw%?%{G}(%{W}%n*%f%t%?(%u)%?%{G})%{w}%?%+Lw%?%?%= %{G}][ Updates: %1` %2`%%][ %C ]"
#hardstatus alwayslastline "%{G}[ %{Y}%H %{G}][%{w}%?%-Lw%?%{G}(%{W}%n*%f%t%?(%u)%?%{G})%{w}%?%+Lw%?%?%= %{G}][%{Y} %H %{G}][ Updates: %1` %2`%%][ %C ]"
sorendition Wk
backtick 50 0 0 hostname
backtick 1 60 60 sh /home/jon/bin/get_updates.sh
backtick 2 0 0 sh /home/jon/bin/cpuusage.sh