-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.screenrc
43 lines (43 loc) · 2.02 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
#!/bin/bash
# ----------------------------------------
#
# ███████╗ ██████╗██████╗ ███████╗███████╗███╗ ██╗██████╗ ██████╗
# ██╔════╝██╔════╝██╔══██╗██╔════╝██╔════╝████╗ ██║██╔══██╗██╔════╝
# ███████╗██║ ██████╔╝█████╗ █████╗ ██╔██╗ ██║██████╔╝██║
# ╚════██║██║ ██╔══██╗██╔══╝ ██╔══╝ ██║╚██╗██║██╔══██╗██║
# ███████║╚██████╗██║ ██║███████╗███████╗██║ ╚████║██║ ██║╚██████╗
# ╚══════╝ ╚═════╝╚═╝ ╚═╝╚══════╝╚══════╝╚═╝ ╚═══╝╚═╝ ╚═╝ ╚═════╝
# ----------------------------------------
exit 0
# Password file
# Contains "password <hash>" line
# generate <hash> with:
# $ mkpasswd -m des -S <salt> <password>
source ~/.screen.password
#
markkeys "h=^B:l=^F:$=^E"
# Default overrides
autodetach on
crlf off
deflogin off
hardcopy_append on
nethack on
vbell on
# Escape set to M-T
escape "^Tt"
sorendition "+b kG"
# Terminal settings
startup_message off
term screen-256color
termcapinfo xterm* ti@:te@
# Decorations
hardstatus off
hardstatus alwayslastline
# IP
backtick 101 3600 0 curl ip.ctrl-q.ru
# Process ID
backtick 102 30 30 sh -c 'echo $PPID'
# Black magic fuckery
hardstatus string '%{= kG} [ %{G}%H %{g}][ %{R}%101`%{G} ][ %{Y}%S:%102`%{G} ][%=%{ kw}%?%-w%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+w%?%?%=%{g}][%{B} %d.%m %D %{W}%c%{g} ]'
activity "activity in %n (%t) [%w:%s]~"
bell "bell in %n (%t) [%w:%s]~"