# coding=utf-8
# ##################################################### #
#                                                       #
# This is BashStyle-NG                                  #
#                                                       #
# Licensed under GNU GENERAL PUBLIC LICENSE v3          #
#                                                       #
# Copyright Christopher Bratusek                        #
#                                                       #
# ##################################################### #

color_styles = {
    0: "normal",
    1: "bright",
    2: "dimmed",
    3: "inverted",
    4: "underlined",
}

less_foreground_colors = {
    0: "$lfblack",
    1: "$lfred",
    2: "$lfgreen",
    3: "$lfyellow",
    4: "$lfblue",
    5: "$lfmagenta",
    6: "$lfcyan",
    7: "$lfgrey",
    8: "$lfwhite",
    9: "$lfcoldblue",
    10: "$lfsmoothblue",
    11: "$lficeblue",
    12: "$lfturqoise",
    13: "$lfsmoothgreen",
    14: "$lfwinered",
    15: "$lfbrown",
    16: "$lfsilver",
    17: "$lfocher",
    18: "$lforange",
    19: "$lfpurple",
    20: "$lfpink",
    21: "$lfcream",
}

less_background_colors = {
   0: "$lbblack",
   1: "$lbred",
   2: "$lbgreen",
   3: "$lbyellow",
   4: "$lbblue",
   5: "$lbmagenta",
   6: "$lbcyan",
   7: "$lbgrey",
   8: "$lbwhite",
}

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;97",
   9: "01;38;5;33",
   10: "01;38;5;111",
   11: "01;38;5;45",
   12: "01;38;5;60",
   13: "01;38;5;42",
   14: "01;38;5;637",
   15: "01;38;5;684",
   16: "01;38;5;761",
   17: "01;38;5;690",
   18: "01;38;5;714",
   19: "01;38;5;604",
   20: "01;38;5;213",
   21: "01;38;5;5344",
}

colors = {
    0: "$black",
    1: "$red",
    2: "$green",
    3: "$yellow",
    4: "$blue",
    5: "$magenta",
    6: "$cyan",
    7: "$grey",
    8: "$white",
    9: "$coldblue",
    10: "$smoothblue",
    11: "$iceblue",
    12: "$turqoise",
    13: "$smoothgreen",
    14: "$winered",
    15: "$brown",
    16: "$silver",
    17: "$ocher",
    18: "$orange",
    19: "$purple",
    20: "$pink",
    21: "$cream",
}

prompt_styles = {
    0: "separator",
    1: "vector",
    2: "clock",
    3: "equinox",
    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",
}

edit_modes = {
    0: "emacs",
    1: "vi",
 }

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

vim_foldmethods = {
   0: "indent",
   1: "marker",
   2: "manual",
   3: "expr",
   4: "syntax",
   5: "diff",
}

nano_fg_colors = {
    0: "white",
    1: "brightwhite",
    2: "black",
    3: "brightblack",
    4: "red",
    5: "brightred",
    6: "blue",
    7: "brightblue",
    8: "green",
    9: "brightgreen",
    10: "yellow",
    11: "brightyellow",
    12: "magenta",
    13: "brightmagenta",
    14: "cyan",
    15: "brightcyan",
}

nano_bg_colors = {
    0: "white",
    1: "black",
    2: "red",
    3: "blue",
    4: "green",
    5: "yellow",
    6: "magenta",
    7: "cyan",
}

ls_colors = {
    0: "$lblack",
    1: "$lred",
    2: "$lgreen",
    3: "$lyellow",
    4: "$lblue",
    5: "$lmagenta",
    6: "$lcyan",
    7: "$lgrey",
    8: "$lwhite",
    9: "$lcoldblue",
    10: "$lsmoothblue",
    11: "$liceblue",
    12: "$lturqoise",
    13: "$lsmoothgreen",
    14: "$lwinered",
    15: "$lbrown",
    16: "$lsilver",
    17: "$locher",
    18: "$lorange",
    19: "$lpurple",
    20: "$lpink",
    21: "$lcream",
}

# GCC Colors

gcc_colors = {
    0: "01;37",
    1: "01;30",
    2: "01;31",
    3: "01;34",
    4: "01;32",
    5: "01;33",
    6: "01;35",
    7: "01;36",
    8: "01",
}

# Keybindings

keybindings = {
    "undo",
    "upcase_word",
    "capitalize_word",
    "downcase_word",
    "transpose_words",
    "transpose_chars",
    "unix_word_rubout",
    "kill_word",
    "possible_filename_completions",
    "possible_hostname_completions",
    "possible_username_completions",
    "possible_variable_completions",
    "kill_line",
    "unix_line_discard",
    "beginning_of_line",
    "end_of_line",
    "clear_screen",
    "history_search_forward",
    "history_search_backward",
    "complete_path",
    "alias_expand_line",
    "backward_char",
    "backward_delete_char",
    "delete_char",
    "forward_char",
    "backward_word",
    "forward_word",
    "overwrite_mode",
    "menu_complete",
    "menu_complete_backward",
    "rerun_root",
    "backward_kill_line",
    "list_keys",
    "next_screen_line",
    "previous_screen_line"
}

# IconView Stuff

iconview_icons = ["bashstyle-ng-style", "bashstyle-ng-alias", "bashstyle-ng-advanced",
                  "bashstyle-ng-shopts", "bashstyle-ng-git", "bashstyle-ng-readline",
                  "bashstyle-ng-vim", "bashstyle-ng-nano", "bashstyle-ng-ls",
                  "bashstyle-ng-man", "bashstyle-ng-gcc", "bashstyle-ng-keys",
                  "bashstyle-ng-custom", "bashstyle-ng-config", "bashstyle-ng-doc",
                  "bashstyle-ng-info", "bashstyle-ng-shell"]

iconview_labels = {
    "bashstyle-ng-style": _("General Style"),
    "bashstyle-ng-alias": _("Aliases"),
    "bashstyle-ng-advanced": _("Advanced"),
    "bashstyle-ng-readline": _("Readline"),
    "bashstyle-ng-vim": _("Vi improved"),
    "bashstyle-ng-nano": _("GNU Nano"),
    "bashstyle-ng-ls": _("LS colors"),
    "bashstyle-ng-custom": _("Custom Prompt"),
    "bashstyle-ng-shopts": _("Shell Options"),
    "bashstyle-ng-git": _("Git"),
    "bashstyle-ng-info": _("About"),
    "bashstyle-ng-keys": _("Keybindings"),
    "bashstyle-ng-config": _("Configuration"),
    "bashstyle-ng-doc": _("Documentation"),
    "bashstyle-ng-man": _("Manpage Colors"),
    "bashstyle-ng-gcc": _("GCC Colors"),
    "bashstyle-ng-shell": _("Start Terminal"),
}

notebook_pages = {
    _("General Style"): 1,
    _("Aliases"): 2,
    _("Advanced"): 3,
    _("Readline"): 4,
    _("Vi improved"): 5,
    _("GNU Nano"): 6,
    _("LS colors"): 7,
    _("Manpage Colors"): 15,
    _("Custom Prompt"): 8,
    _("Shell Options"): 10,
    _("Git"): 9,
    _("About"): 12,
    _("Keybindings"): 11,
    _("BashStyle-NG StartUp"): 13,
    _("Configuration"): 14,
    _("GCC Colors"): 16,
    _("Documentation"): 0,
    _("Start Terminal"): 0,
}

# Custom Prompt Builder

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

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

load_getters_p_c = {
    1: "$(systemkit load1)",
    2: "$(systemkit load5)",
    3: "$(systemkit load15)",
}

load_getters_ps1 = {
    1: "\\$(systemkit load1)",
    2: "\\$(systemkit load5)",
    3: "\\$(systemkit load15)",
}

memory_getters_p_c = {
    1: "$(systemkit usedram)",
    2: "$(systemkit freeram)",
    3: "$(systemkit usedram%)",
    4: "$(systemkit freeram%)",
}

memory_getters_ps1 = {
    1: "\\$(systemkit usedram)",
    2: "\\$(systemkit freeram)",
    3: "\\$(systemkit usedram%)",
    4: "\\$(systemkit freeram%)",
 }

space_getters_p_c = {
    1: "$(systemkit usedspace <device>)",
    2: "$(systemkit freespace <device>)",
    3: "$(systemkit usedspace% <device>)",
    4: "$(systemkit freespace% <device>)",
 }

space_getters_ps1 = {
    1: "\\$(systemkit usedspace <device>)",
    2: "\\$(systemkit freespace <device>)",
    3: "\\$(systemkit usedspace% <device>)",
    4: "\\$(systemkit freespace% <device>)",
}

symbolic_colors_p_c = {
    1: "${ecolor_user}",
    2: "${ecolor_host}",
    3: "${ecolor_date}",
    4: "${ecolor_time}",
    5: "${ecolor_wdir}",
    6: "${ecolor_font}",
    7: "${ecolor_separator}",
    8: "${ecolor_uptime}",
    9: "${ecolor_ps}",
}

symbolic_colors_ps1 = {
    1: "${color_user}",
    2: "${color_host}",
    3: "${color_date}",
    4: "${color_time}",
    5: "${color_wdir}",
    6: "${color_font}",
    7: "${color_separator}",
    8: "${color_uptime}",
    9: "${color_ps}",
}

bat_themes = {
    0: "1337",
    1: "DarkNeon",
    2: "GitHub",
    3: "Monokai Extended",
    4: "Monokai Extended Bright",
    5: "Monokai Extended Light",
    6: "Monokai Extended Origin",
    7: "OneHalfDark",
    8: "OneHalfLight",
    9: "Sublime Snazzy",
    10: "TwoDark",
    11: "ansi-dark",
    12: "ansi-light",
    13: "base16",
    14: "zenburn",
}
