guest@dotshare [~/groups/shells/bash] $ ls Powerline/ | cat

"Powerline" (scrot)

Nsyo Nov 07, 2018 (shells/bash)

Prompt(raw, dl)

SCROT

1
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;30;43m\]\u\[\033[01;33;41m\]\[\033[01;30;41m\]\h\[\033[01;31;44m\]\[\033[01;44;30m\]\w\[\033[01;34;42m\]\[\033[01;30;42m\]$(parse_git_branch)\[\033[0;32;48m\]\[\033[01;30;47m\]\n\$\[\033[01;49;37m\]\[\033[0m\] '

CLICK TO VIEW

x

Git_branch(raw, dl)

1
2
3
parse_git_branch() {
    git branch 2> /dev/null | sed -n -e '/^*/p' -e 's/* \(.*\)/*\1/'
}
 

x

Xresources(raw, dl)

 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#define nord0 #2E3440
#define nord1 #3B4252
#define nord2 #434C5E
#define nord3 #4C566A
#define nord4 #D8DEE9
#define nord5 #E5E9F0
#define nord6 #ECEFF4
#define nord7 #8FBCBB
#define nord8 #88C0D0
#define nord9 #81A1C1
#define nord10 #5E81AC
#define nord11 #BF616A
#define nord12 #D08770
#define nord13 #EBCB8B
#define nord14 #A3BE8C
#define nord15 #B48EAD

*.foreground:   nord4
*.background:   nord0
*.cursorColor:  nord4
! *fading: 35
! *fadeColor: nord3

*.highlightColor: #3c4350

*.color0: nord1
*.color1: nord11
*.color2: nord14
*.color3: nord13
*.color4: nord9
*.color5: nord15
*.color6: nord8
*.color7: nord5
*.color8: nord3
*.color9: nord11
*.color10: nord14
*.color11: nord13
*.color12: nord9
*.color13: nord15
*.color14: nord7
*.color15: nord6

*.cursorBlink: true
*.scrollBar: false
*.internalBorder: 10


xft.antialias: true
URxvt.letterSpace: -1
URxvt.font:xft:Hack:size=12
! URxvt.font:xft:Fantasque Sans Mono:size=12

URxvt.saveLines: 200
URxvt.geometry: 60x22


! Terminfo
URxvt.termName: rxvt-unicode-256color

!Disable Keycap Picture insert mode
URxvt.iso14755: false
URxvt.iso14755_52: false

URxvt.perl-ext-common: matcher,clipboard-osc
! URxvt.perl-ext-common: selection_to_clipboard

URxvt.keysym.M-l: perl:matcher:select
URxvt.matcher.button:    1
URxvt.matcher.launcher:  firefox
URxvt.matcher.underline: true 
 

x

Notes

A Powerline style prompt + git branch