-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcryptomilk_default.conf
71 lines (60 loc) · 3.44 KB
/
cryptomilk_default.conf
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
71
# Color definitions
# filled left triangle
f_l_t_primary_darker="#[fg=$darkplus_primary,bg=$darkplus_darker,nobold,noitalics,nounderscore]"
f_l_t_dark_darker="#[fg=$darkplus_dark,bg=$darkplus_darker,nobold,noitalics,nounderscore]"
f_l_t_darker_dark="#[fg=$darkplus_darker,bg=$darkplus_dark,nobold,noitalics,nounderscore]"
f_l_t_darker_lighter="#[fg=$darkplus_darker,bg=$darkplus_light,nobold,noitalics,nounderscore]"
f_l_t_lighter_darker="#[fg=$darkplus_light,bg=$darkplus_darker,nobold,noitalics,nounderscore]"
# filled right triangle
f_r_t_primary_dark="#[fg=$darkplus_primary,bg=$darkplus_dark,nobold,noitalics,nounderscore]"
f_r_t_primary_darker="#[fg=$darkplus_primary,bg=$darkplus_darker,nobold,noitalics,nounderscore]"
f_r_t_dark_darker="#[fg=$darkplus_dark,bg=$darkplus_darker,nobold,noitalics,nounderscore]"
# non-filled triangle
r_t_lighter_dark="#[fg=$darkplus_light,bg=$darkplus_dark,nobold,noitalics,nounderscore]"
l_t_lighter_dark="#[fg=$darkplus_light,bg=$darkplus_dark,nobold,noitalics,nounderscore]"
l_t_light_lighter="#[fg=$darkplus_lighter,bg=$darkplus_light,nobold,noitalics,nounderscore]"
# Plugin supports
prefix_highlight_fg="#{@prefix_highlight_fg}"
prefix_highlight_bg="#{@prefix_highlight_bg}"
set -g @prefix_highlight_output_prefix "#[fg=$prefix_highlight_bg]#[bg=$darkplus_darker]#[nobold]#[noitalics]#[nounderscore]#[fg=$prefix_highlight_fg]#[bg=$prefix_highlight_bg] "
set -g @prefix_highlight_output_suffix " #[fg=$darkplus_darker]#[bg=$prefix_highlight_bg]"
set -g @prefix_highlight_copy_mode_attr "fg=$prefix_highlight_fg,bg=$prefix_highlight_bg,bold"
# Status bar
session_number="#[fg=$darkplus_lighter,bg=$darkplus_primary,bold] #S $f_l_t_primary_darker"
#hostname="$f_r_t_primary_dark#[fg=$darkplus_lighter,bg=$darkplus_primary,bold] #U@#h "
hostname="$f_r_t_primary_dark#[fg=$darkplus_lighter,bg=$darkplus_primary,bold] #h "
day="$f_r_t_dark_darker#[fg=white,bg=$darkplus_dark] %Y-%m-%d"
time="$r_t_lighter_dark#[fg=white,bg=$darkplus_dark] %H:%M"
loadavg="$r_t_lighter_dark#[fg=white,bg=$darkplus_dark] ≣ #(cut -d' ' -f1,2,3 < /proc/loadavg)"
set -g status-left "$session_number"
set -g status-right "#{prefix_highlight} $day $time $loadavg $hostname"
# Windows status
window_status_number="$f_l_t_darker_dark #[fg=#{?window_last_flag,$darkplus_last,$darkplus_lighter},bg=$darkplus_dark]#I $l_t_lighter_dark"
window_status_name="#[fg=white,bg=$darkplus_dark]#W $f_l_t_dark_darker"
window_status_number_active="$f_l_t_darker_lighter #[fg=$darkplus_active,bg=$darkplus_light]#I $l_t_light_lighter"
window_status_name_active="#[fg=$darkplus_lighter,bg=$darkplus_light]#W $f_l_t_lighter_darker"
set -g window-status-format "$window_status_number $window_status_name"
set -g window-status-current-format "$window_status_number_active $window_status_name_active"
set -g window-status-separator ""
# unset variables
setenv -gru f_l_t_primary_darker
setenv -gru f_l_t_dark_darker
setenv -gru f_l_t_darker_dark
setenv -gru f_l_t_darker_lighter
setenv -gru f_l_t_lighter_darker
setenv -gru f_r_t_primary_dark
setenv -gru f_r_t_primary_darker
setenv -gru f_r_t_dark_darker
setenv -gru r_t_lighter_dark
setenv -gru l_t_lighter_dark
setenv -gru l_t_light_lighter
setenv -gru prefix_highlight_fg
setenv -gru prefix_highlight_bg
setenv -gru hostname
setenv -gru session_number
setenv -gru day
setenv -gru time
setenv -gru window_status_number
setenv -gru window_status_name
setenv -gru window_status_number_active
setenv -gru window_status_name_active