Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- backtick 1 1 1 date +%Y%m%d_%H%M
- logfile '/home/seiburii/logfiles/%H_-_%S_-_%t_-_%Y%m%d_%c:%s.log'
- #logfile '/home/seiburii/logfiles/%H_-_%S_-_%t_-_%1`%s.log'
- defscrollback 10000
- hardstatus alwayslastline
- hardstatus string "%{= KW} %H [%`] %{= Kw}|%{-} %-Lw%{= bW}%n%f %t%{-}%+Lw %=%1`%:"
- # Older Versions
- # last date used - 2020-01-24
- #hardstatus string "%{= KW} %H [%`] %{= Kw}|%{-} %-Lw%{= bW}%n%f %t%{-}%+Lw %=%c %Y-%M-%d"
- # Instructions for backtick and screen info
- #
- # https://www.gilesorr.com/blog/screen-backtick.html
- # http://www.gnu.org/software/screen/manual/html_node/String-Escapes.html
- #
- #
- # %{= wK} : set colors to bright white (W) on bright black (K) and keep current text styles (=)
- # %H : hostname
- # [ : opening bracket character
- # %` : print output of 'backtick' command (defined elsewhere in .screenrc)
- # ] : closing bracket character
- # %{= wW} : set colors to white (w) on bright black (K) and keep current text styles (=)
- # | : bar character
- # ${-} : restore colors to previous colors / undo last color change
- # %-Lw : list windows before current window (L [optional] = "include flags")
- # %{= bW} : set colors to bright white (W) on blue (b) and keep current text styles (=)
- # %f : window flags
- # %t : window title
- # %{-} : restore colors to previous colors / undo last color change
- # %+Lw : list windows after current window (L [optional] = "include flags")
- # %= : expand to fill all space (used here to make remaining content flush right)
- # %C : current time (12-hr; 24-hr is %c)
- # %a : am/pm (lowercase; uppercase is %A)
- # %Y : current year
- # - : hyphen character
- # %m : current month (0-padded; %M for "Jan" etc.)
- # - : hyphen character
- # %d : current date (0-padded)
- # ------------------- Setup Default Windows
- screen -t main 0 bash
- screen -t ROOT 1 su -
- screen -t install 2 bash
- screen -t logfiles 3 bash ~/logfiles
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement