feat: config file, cloes #47
Enable use of a config file, with custom keymap and custom colours
This commit is contained in:
@@ -0,0 +1,177 @@
|
||||
{
|
||||
"color_logs": false,
|
||||
"docker_interval": 1000,
|
||||
"gui": true,
|
||||
"host": "/var/run/docker.sock",
|
||||
"raw_logs": false,
|
||||
"show_self": false,
|
||||
"show_std_err": false,
|
||||
"show_timestamp": true,
|
||||
"use_cli": false,
|
||||
"colors": {
|
||||
"borders": {
|
||||
"selected": "lightcyan",
|
||||
"unselected": "grey"
|
||||
},
|
||||
"chart_cpu": {
|
||||
"background": "reset",
|
||||
"border": "white",
|
||||
"max": "#FFB224",
|
||||
"points": "magenta",
|
||||
"title": "green",
|
||||
"y_axis": "white"
|
||||
},
|
||||
"chart_memory": {
|
||||
"background": "reset",
|
||||
"border": "white",
|
||||
"max": "#FFB224",
|
||||
"points": "cyan",
|
||||
"title": "green",
|
||||
"y_axis": "white"
|
||||
},
|
||||
"chart_ports": {
|
||||
"background": "reset",
|
||||
"border": "white",
|
||||
"headings": "yellow",
|
||||
"text": "white",
|
||||
"title": "green"
|
||||
},
|
||||
"commands": {
|
||||
"background": "reset",
|
||||
"delete": "gray",
|
||||
"pause": "yellow",
|
||||
"restart": "magenta",
|
||||
"resume": "blue",
|
||||
"start": "green",
|
||||
"stop": "red"
|
||||
},
|
||||
"container_state": {
|
||||
"dead": "red",
|
||||
"exited": "red",
|
||||
"paused": "yellow",
|
||||
"removing": "lightred",
|
||||
"restarting": "lightgreen",
|
||||
"running_healthy": "green",
|
||||
"running_unhealthy": "#FFB224",
|
||||
"unknown": "red"
|
||||
},
|
||||
"containers": {
|
||||
"background": "reset",
|
||||
"icon": "white",
|
||||
"text": "blue",
|
||||
"text_rx": "#FFE9C1",
|
||||
"text_tx": "#CD8C8C"
|
||||
},
|
||||
"headers_bar": {
|
||||
"background": "magenta",
|
||||
"loading_spinner": "white",
|
||||
"text": "black",
|
||||
"text_selected": "gray"
|
||||
},
|
||||
"popup_delete": {
|
||||
"background": "white",
|
||||
"text": "black",
|
||||
"text_highlight": "red"
|
||||
},
|
||||
"popup_error": {
|
||||
"background": "red",
|
||||
"text": "white"
|
||||
},
|
||||
"popup_help": {
|
||||
"background": "magenta",
|
||||
"text": "black",
|
||||
"text_highlight": "white"
|
||||
},
|
||||
"popup_info": {
|
||||
"background": "blue",
|
||||
"text": "white"
|
||||
}
|
||||
},
|
||||
"keymap": {
|
||||
"clear": [
|
||||
"c",
|
||||
"esc"
|
||||
],
|
||||
"delete_confirm": [
|
||||
"y"
|
||||
],
|
||||
"delete_deny": [
|
||||
"n"
|
||||
],
|
||||
"exec": [
|
||||
"e"
|
||||
],
|
||||
"filter_mode": [
|
||||
"/",
|
||||
"F1"
|
||||
],
|
||||
"quit": [
|
||||
"q"
|
||||
],
|
||||
"save_logs": [
|
||||
"s"
|
||||
],
|
||||
"scroll_down_many": [
|
||||
"pagedown"
|
||||
],
|
||||
"scroll_down_one": [
|
||||
"down",
|
||||
"j"
|
||||
],
|
||||
"scroll_end": [
|
||||
"end"
|
||||
],
|
||||
"scroll_start": [
|
||||
"home"
|
||||
],
|
||||
"scroll_up_many": [
|
||||
"pageup"
|
||||
],
|
||||
"scroll_up_one": [
|
||||
"up",
|
||||
"k"
|
||||
],
|
||||
"select_next_panel": [
|
||||
"tab"
|
||||
],
|
||||
"select_previous_panel": [
|
||||
"backtab"
|
||||
],
|
||||
"sort_by_cpu": [
|
||||
"4"
|
||||
],
|
||||
"sort_by_id": [
|
||||
"6"
|
||||
],
|
||||
"sort_by_image": [
|
||||
"7"
|
||||
],
|
||||
"sort_by_memory": [
|
||||
"5"
|
||||
],
|
||||
"sort_by_name": [
|
||||
"1"
|
||||
],
|
||||
"sort_by_rx": [
|
||||
"8"
|
||||
],
|
||||
"sort_by_state": [
|
||||
"2"
|
||||
],
|
||||
"sort_by_status": [
|
||||
"3"
|
||||
],
|
||||
"sort_by_tx": [
|
||||
"9"
|
||||
],
|
||||
"sort_reset": [
|
||||
"0"
|
||||
],
|
||||
"toggle_help": [
|
||||
"h"
|
||||
],
|
||||
"toggle_mouse_capture": [
|
||||
"m"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user