init
This commit is contained in:
120
config/default.conf
Normal file
120
config/default.conf
Normal file
@@ -0,0 +1,120 @@
|
||||
# /$$
|
||||
# | $$
|
||||
# /$$ /$$$$$$ /$$$$$$ /$$$$$$
|
||||
# |__/|_ $$_/ /$$__ $$ /$$__ $$
|
||||
# /$$ | $$ | $$ \ $$| $$ \ $$
|
||||
# | $$ | $$ /$$| $$ | $$| $$ | $$
|
||||
# | $$ | $$$$/| $$$$$$/| $$$$$$$/
|
||||
# | $$ \___/ \______/ | $$____/
|
||||
# /$$ | $$ | $$
|
||||
#| $$$$$$/ | $$
|
||||
# \______/ |__/
|
||||
# jtop - default.conf
|
||||
# =================================
|
||||
|
||||
# --- Table Layout ---
|
||||
table.header.content = PID,NAME,PATH,USER,CPU,MEMORY,DISK_READ,DISK_WRITE,NETWORK # header content available: PID, NAME, PATH, USER, CPU, MEMORY, DISK_READ, DISK_WRITE, NETWORK
|
||||
|
||||
# --- Sorting ---
|
||||
table.sorting.ASC = false # default sorting order false for "DESC" and true for "ASC"
|
||||
table.sorting.default.header = "PID" # default sorting header available: "PID", "NAME", "PATH", "USER", "CPU", "MEMORY", "DISK_READ", "DISK_WRITE", "NETWORK"
|
||||
|
||||
# --- CPU Column ---
|
||||
table.value.CPU.accuracy = 3 # decimal places for CPU usage
|
||||
|
||||
# --- Memory Column ---
|
||||
table.value.MEMORY.accuracy = 3 # decimal places for memory
|
||||
|
||||
# --- Network Column ---
|
||||
table.value.NETWORK.format = "Mb" # valid: b,B,Kb,KB,Mb,MB,Gb,GB,Tb,TB
|
||||
table.value.NETWORK.accuracy = 3 # decimal places for network speed
|
||||
table.value.NETWORK.scientificNotation = false # use scientitic notation instead of standart notation
|
||||
|
||||
# --- Disk I/O Columns ---
|
||||
table.value.DISK_READ.format = "Mb" # valid: b,B,Kb,KB,Mb,MB,Gb,GB,Tb,TB
|
||||
table.value.DISK_READ.accuracy = 3 # decimal places for disk reaq speed
|
||||
table.value.DISK_WRITE.format = "Mb" # valid: b,B,Kb,KB,Mb,MB,Gb,GB,Tb,TB
|
||||
table.value.DISK_WRITE.accuracy = 3 # decimal places for disk write speed
|
||||
|
||||
# --- Keybinding Config ---
|
||||
footer.text.keyBindings = "Use j/k to scroll, Enter to scroll entire row, 'q' or Ctrl+C to quit"
|
||||
|
||||
# --- Design Config ---
|
||||
# ANSI color codes let you style terminal output (text & background).
|
||||
# Codes start with "\033[" and end with "m". Combine multiple codes by adding them.
|
||||
|
||||
header.color = "\033[47m" + "\033[30m" # White background, black text
|
||||
footer.color = "\033[41m" + "\033[37m" # Red background, white text
|
||||
table.color = "\033[40m" + "\033[37m" # Black background, white text
|
||||
|
||||
# --- Base Color Codes ---
|
||||
# Foreground (Text): 30–37
|
||||
# Background: 40–47
|
||||
# Bright Foreground: 90–97
|
||||
# Bright Background: 100–107
|
||||
|
||||
# --- Foreground Colors ---
|
||||
# \033[30m = Black
|
||||
# \033[31m = Red
|
||||
# \033[32m = Green
|
||||
# \033[33m = Yellow
|
||||
# \033[34m = Blue
|
||||
# \033[35m = Magenta
|
||||
# \033[36m = Cyan
|
||||
# \033[37m = White
|
||||
|
||||
# --- Background Colors ---
|
||||
# \033[40m = Black
|
||||
# \033[41m = Red
|
||||
# \033[42m = Green
|
||||
# \033[43m = Yellow
|
||||
# \033[44m = Blue
|
||||
# \033[45m = Magenta
|
||||
# \033[46m = Cyan
|
||||
# \033[47m = White
|
||||
|
||||
# --- Bright Foreground Colors ---
|
||||
# \033[90m = Bright Black (Gray)
|
||||
# \033[91m = Bright Red
|
||||
# \033[92m = Bright Green
|
||||
# \033[93m = Bright Yellow
|
||||
# \033[94m = Bright Blue
|
||||
# \033[95m = Bright Magenta
|
||||
# \033[96m = Bright Cyan
|
||||
# \033[97m = Bright White
|
||||
|
||||
# --- Bright Background Colors ---
|
||||
# \033[100m = Bright Black (Gray)
|
||||
# \033[101m = Bright Red
|
||||
# \033[102m = Bright Green
|
||||
# \033[103m = Bright Yellow
|
||||
# \033[104m = Bright Blue
|
||||
# \033[105m = Bright Magenta
|
||||
# \033[106m = Bright Cyan
|
||||
# \033[107m = Bright White
|
||||
|
||||
# --- Text Formatting (Styles) ---
|
||||
# \033[0m = Reset all styles and colors
|
||||
# \033[1m = Bold / Bright text
|
||||
# \033[2m = Dim text
|
||||
# \033[3m = Italic (may not work in all terminals)
|
||||
# \033[4m = Underline
|
||||
# \033[5m = Blink (slow)
|
||||
# \033[6m = Blink (rapid)
|
||||
# \033[7m = Reverse (swap foreground and background)
|
||||
# \033[8m = Hidden / Conceal text
|
||||
# \033[9m = Strikethrough
|
||||
# \033[21m = Double underline (rarely supported)
|
||||
# \033[22m = Normal intensity (cancel bold/dim)
|
||||
|
||||
# --- Combining Styles ---
|
||||
# Example: bold + underline + red text
|
||||
# footer.color = "\033[1m" + "\033[4m" + "\033[31m"
|
||||
|
||||
# --- 256-Color and TrueColor (Modern Terminals like Kitty) ---
|
||||
# 256-Color Foreground: \033[38;5;{n}m (0–255)
|
||||
# 256-Color Background: \033[48;5;{n}m
|
||||
# TrueColor (RGB) Foreground: \033[38;2;R;G;B m
|
||||
# TrueColor (RGB) Background: \033[48;2;R;G;B m
|
||||
# Example: = orange text
|
||||
# footer.color = "\033[38;2;255;128;0m"
|
||||
Reference in New Issue
Block a user