chore(config): add i3status config

main
Tran Hau 2021-04-02 16:27:51 +07:00
parent 903ccaea70
commit 78fbb6094d
2 changed files with 42 additions and 0 deletions

View File

@ -43,6 +43,14 @@
"external": "~/.config/i3/config"
}
]
},
"i3status": {
"files": [
{
"internal": "config/i3status/config",
"external": "~/.config/i3status/config"
}
]
}
}
}

34
config/i3status/config Normal file
View File

@ -0,0 +1,34 @@
general {
colors = true
interval = 5
}
order += "wireless _first_"
order += "ethernet _first_"
order += "battery all"
order += "memory"
order += "tztime local"
wireless _first_ {
format_up = "W: (%quality at %essid) %ip"
format_down = "W: down"
}
ethernet _first_ {
format_up = "E: %ip (%speed)"
format_down = "E: down"
}
battery all {
format = "%status %percentage %remaining"
}
memory {
format = "Used %used Avail %available"
threshold_degraded = "1G"
format_degraded = "MEMORY < %available"
}
tztime local {
format = "%Y-%m-%d %H:%M:%S"
}