dicts.py 5.42 KB
Newer Older
1
#!/usr/bin/env bashstyle --python
2 3 4 5 6 7 8
#coding=utf-8
#########################################################
# 							#
# This is BashStyle-NG  				#
#							#
# Licensed under GNU GENERAL PUBLIC LICENSE v3		#
#							#
9
# Copyright 2007 - 2016 Christopher Bratusek		#
10 11 12 13 14 15 16 17 18 19
#							#
#########################################################

color_styles = {
		 0 : "normal",
		 1 : "bright",
		 2 : "dimmed",
		 3 : "inverted",
		 4 : "underlined",
		}
20 21 22 23 24 25 26 27 28 29 30 31 32

termcap_bars = {
	      0 : "black-white",
	      1 : "white-yellow",
	      2 : "yellow-blue",
	     }

termcap_bodys = {
	      0 : "blueish",
	      1 : "blue-magenta",
	      2 : "magenta-cyan",
	      3 : "mostlike",
	      4 : "yellow-green",
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
	     }

grep_colors = {
		0 : "01;38;5;0",
		1 : "01;38;5;1",
		2 : "01;38;5;2",
		3 : "01;38;5;3",
		4 : "01;38;5;4",
		5 : "01;38;5;5",
		6 : "01;38;5;6",
		7 : "01;38;5;7",
		8 : "01;38;5;33",
		9 : "01;38;5;111",
	       10 : "01;38;5;45",
	       11 : "01;38;5;60",
	       12 : "01;38;5;42",
	       13 : "01;38;5;637",
	       14 : "01;38;5;684",
	       15 : "01;38;5;761",
	       16 : "01;38;5;690",
	       17 : "01;38;5;714",
	       18 : "01;38;5;604",
	       19 : "01;38;5;213",
	       20 : "01;38;5;5344",
	      }

colors = {
Christopher Roy Bratusek's avatar
Christopher Roy Bratusek committed
60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
	   0 : "$black",
	   1 : "$red",
	   2 : "$green",
	   3 : "$yellow",
	   4 : "$blue",
	   5 : "$magenta",
	   6 : "$cyan",
	   7 : "$white",
	   8 : "$coldblue",
	   9 : "$smoothblue",
	  10 : "$iceblue",
	  11 : "$turqoise",
	  12 : "$smoothgreen",
	  13 : "$winered",
	  14 : "$brown",
	  15 : "$silver",
	  16 : "$ocher",
	  17 : "$orange",
	  18 : "$purple",
	  19 : "$pink",
	  20 : "$cream",
81 82 83 84 85 86
	 }

prompt_styles = {
		  0 : "separator",
		  1 : "vector",
		  2 : "clock",
87
		  3 : "equinox",
88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109
		  4 : "elite",
		  5 : "poweruser",
		  6 : "dirks",
		  7 : "dot_prompt",
		  8 : "sepa_ng",
		  9 : "quirk",
		 10 : "sputnik",
		 11 : "ayoli",
		}

history_types = {
		 0 : "erasedups",
		 1 : "ignoredups",
		 2 : "ignorespace",
		 3 : "ignoreboth",
		}

bell_styles = {
		0 : "audible",
		1 : "visible",
		2 : "none",
	      }
110

111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138
edit_modes = {
	      0 : "emacs",
	      1 : "vi",
	     }

memory_types = {
		0 : "free",
		1 : "used",
		2 : "both",
		3 : "none",
	       }

vim_colors = {
	       0 : "default",
	       1 : "adaryn",
	       2 : "advantage",
	       3 : "desert",
	       4 : "gobo",
	       5 : "impact",
	       6 : "nightshade",
	       7 : "nightwish",
	       8 : "wombat",
	       9 : "asu1dark",
	      10 : "candycode",
	      11 : "dw_orange",
	      12 : "fruit",
	      13 : "relaxedgreen",
	      14 : "tango",
139 140 141 142 143 144 145
	      15 : "molokai",
	      16 : "vividchalk",
	      17 : "meta5",
	      18 : "woju",
	      19 : "lightning",
	      20 : "papercolor",
	      21 : "solarized",
146 147
	     }

148 149 150 151 152 153 154 155 156
vim_foldmethods = {
	       0 : "indent",
	       1 : "marker",
	       2 : "manual",
	       3 : "expr",
	       4 : "syntax",
	       5 : "diff",
	}

157 158 159 160 161 162 163 164 165 166 167
nano_colors = {
              0 : "white",
              1 : "black",
              2 : "red",
              3 : "blue",
              4 : "green",
              5 : "yellow",
              6 : "magenta",
              7 : "cyan",
}

168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191
ls_colors = {
	      0 : "$lblack",
	      1 : "$lred",
	      2 : "$lgreen",
	      3 : "$lyellow",
	      4 : "$lblue",
	      5 : "$lmagenta",
	      6 : "$lcyan",
	      7 : "$lwhite",
	      8 : "$lcoldblue",
	      9 : "$lsmoothblue",
	     10 : "$liceblue",
	     11 : "$lturqoise",
	     12 : "$lsmoothgreen",
	     13 : "$lwinered",
	     14 : "$lbrown",
	     15 : "$lsilver",
	     16 : "$locher",
	     17 : "$lorange",
	     18 : "$lpurple",
	     19 : "$lpink",
	     20 : "$lcream",
	    }

192 193 194 195 196 197 198 199 200

##### Custom Prompt Builder #####

counters_p_c = {
	    1 : "\\$(systemkit countoverallfiles)",
	    2 : "\\$(systemkit countvisiblefiles)",
	   }

counters_ps1 = {
201 202
	    1 : "\\$(systemkit countoverallfiles)",
	    2 : "\\$(systemkit countvisiblefiles)",
203 204
	   }

205 206 207 208 209 210 211
load_getters_p_c = {
		1 : "$(systemkit load1)",
		2 : "$(systemkit load5)",
		3 : "$(systemkit load15)",
	       }

load_getters_ps1 = {
212 213 214
		1 : "\\$(systemkit load1)",
		2 : "\\$(systemkit load5)",
		3 : "\\$(systemkit load15)",
215 216
	       }

217 218 219 220 221 222 223 224
memory_getters_p_c = {
		  1 : "$(systemkit usedram)",
		  2 : "$(systemkit freeram)",
		  3 : "$(systemkit usedram%)",
		  4 : "$(systemkit freeram%)",
		 }

memory_getters_ps1 = {
225 226 227 228
		  1 : "\\$(systemkit usedram)",
		  2 : "\\$(systemkit freeram)",
		  3 : "\\$(systemkit usedram%)",
		  4 : "\\$(systemkit freeram%)",
229 230
		 }

231 232 233 234 235 236 237 238
space_getters_p_c = {
		  1 : "$(systemkit usedspace <device>)",
		  2 : "$(systemkit freespace <device>)",
		  3 : "$(systemkit usedspace% <device>)",
		  4 : "$(systemkit freespace% <device>)",
		 }

space_getters_ps1 = {
239 240 241 242
		  1 : "\\$(systemkit usedspace <device>)",
		  2 : "\\$(systemkit freespace <device>)",
		  3 : "\\$(systemkit usedspace% <device>)",
		  4 : "\\$(systemkit freespace% <device>)",
243 244
		 }

245 246 247 248 249 250 251 252 253 254
symbolic_colors_p_c = {
		   1 : "${eusercolor}",
		   2 : "${ehostcolor}",
		   3 : "${edatecolor}",
		   4 : "${etimecolor}",
		   5 : "${ewdircolor}",
		   6 : "${efontcolor}",
		   7 : "${esepacolor}",
		   8 : "${eupcolor}",
		   9 : "${epscolor}",
255 256 257
		  10 : "${eps2color}",
		  11 : "${eps3color}",
		  12 : "${eps4color}",
258 259 260 261 262 263 264 265 266 267 268 269
		  }

symbolic_colors_ps1 = {
		   1 : "${usercolor}",
		   2 : "${hostcolor}",
		   3 : "${datecolor}",
		   4 : "${timecolor}",
		   5 : "${wdircolor}",
		   6 : "${fontcolor}",
		   7 : "${sepacolor}",
		   8 : "${upcolor}",
		   9 : "${pscolor}",
270 271 272
		  10 : "${ps2color}",
		  11 : "${ps3color}",
		  12 : "${ps4color}",
273
		  }