78 lines
1.6 KiB
Text
78 lines
1.6 KiB
Text
# i3status configuration file.
|
|
# see "man i3status" for documentation.
|
|
|
|
# It is important that this file is edited as UTF-8.
|
|
# The following line should contain a sharp s:
|
|
# ß
|
|
# If the above line is not correctly displayed, fix your editor first!
|
|
|
|
general {
|
|
colors = true
|
|
interval = 5
|
|
}
|
|
|
|
order += "window"
|
|
order += "coin_market"
|
|
order += "keyboard_layout"
|
|
order += "volume_status"
|
|
order += "battery_level"
|
|
order += "disk /"
|
|
order += "load"
|
|
order += "memory"
|
|
order += "tztime local"
|
|
# order += "external_script"
|
|
|
|
window {
|
|
format = '🪟 {title}'
|
|
max_width = 30
|
|
color = '#ee5253'
|
|
}
|
|
|
|
coin_market {
|
|
api_key = "b4ffb549-c4b2-422d-8e8e-fbed4aa33041"
|
|
# format_coin = "[\?color=name {name}] "
|
|
format_coin = "[\?color=symbol {symbol}] ${usd_price:.2f} "
|
|
format_coin += "[\?color=usd_percent_change_24h {usd_percent_change_24h}%]"
|
|
markets = ["btc", "xmr"]
|
|
thresholds = {
|
|
"name": [
|
|
("Bitcoin", "greenyellow"),
|
|
("Monero", "orange"),
|
|
],
|
|
"symbol": [
|
|
("BTC", "darkgray"),
|
|
("XMR", "darkgray"),
|
|
],
|
|
"usd_percent_change_24h": [(-100, "bad"), (0, "good")],
|
|
}
|
|
}
|
|
|
|
keyboard_layout {
|
|
layouts = ['ru', 'en']
|
|
cache_timeout = 0.1
|
|
}
|
|
|
|
volume_status {
|
|
cache_timeout = 0.1
|
|
}
|
|
|
|
battery_level {}
|
|
|
|
load {
|
|
format = "%1min"
|
|
}
|
|
|
|
memory {
|
|
format = "%used/%available"
|
|
threshold_degraded = "1G"
|
|
format_degraded = "MEMORY < %available"
|
|
}
|
|
|
|
tztime local {
|
|
format = "%Y-%m-%d %H:%M:%S"
|
|
}
|
|
|
|
# external_script {
|
|
# format = " "
|
|
# script_path = "telegram-desktop"
|
|
# }
|