i3: Added templates for i3 config, i3status config
This commit is contained in:
parent
55dcc7c561
commit
9201f216ef
2 changed files with 303 additions and 0 deletions
79
.config/i3status/config.example
Normal file
79
.config/i3status/config.example
Normal file
|
@ -0,0 +1,79 @@
|
|||
general {
|
||||
colors = true
|
||||
|
||||
# Good is S_cyan
|
||||
color_good = "#2aa198"
|
||||
|
||||
# Degraded is S_green
|
||||
color_degraded = "#859900"
|
||||
|
||||
# Bad is S_red
|
||||
color_bad ="#dc322f"
|
||||
|
||||
interval = 5
|
||||
}
|
||||
|
||||
#order += "ipv6"
|
||||
order += "disk /"
|
||||
#order += "run_watch DHCP"
|
||||
#order += "run_watch VPN"
|
||||
# order += "wireless wlan0"
|
||||
# order += "ethernet eth0"
|
||||
order += "battery 0"
|
||||
# order += "cpu_temperature 0"
|
||||
# order += "cpu_temperature 1"
|
||||
order += "load"
|
||||
order += "time"
|
||||
|
||||
wireless wlan0 {
|
||||
format_up = "W: (%quality at %essid) %ip"
|
||||
format_down = ""
|
||||
}
|
||||
|
||||
ethernet eth0 {
|
||||
# if you use %speed, i3status requires root privileges
|
||||
format_up = "E: %ip (%speed)"
|
||||
format_down = ""
|
||||
}
|
||||
|
||||
battery 0 {
|
||||
format = "%status %percentage %remaining"
|
||||
path = "/sys/class/power_supply/BAT0/uevent"
|
||||
format_down = ""
|
||||
}
|
||||
|
||||
battery 1 {
|
||||
format = "%status %percentage %remaining"
|
||||
path = "/sys/class/power_supply/CMB2/uevent"
|
||||
format_down = ""
|
||||
}
|
||||
|
||||
run_watch DHCP {
|
||||
pidfile = "/var/run/dhclient*.pid"
|
||||
}
|
||||
|
||||
run_watch VPN {
|
||||
pidfile = "/var/run/vpnc/pid"
|
||||
}
|
||||
|
||||
time {
|
||||
format = "%Y-%m-%d %H:%M:%S"
|
||||
}
|
||||
|
||||
load {
|
||||
format = "%1min %5min %15min"
|
||||
}
|
||||
|
||||
cpu_temperature 0 {
|
||||
format = "T1: %degrees °C"
|
||||
path = "/sys/devices/platform/coretemp.0/hwmon/hwmon1/temp2_input"
|
||||
}
|
||||
|
||||
cpu_temperature 1 {
|
||||
format = "T2: %degrees °C"
|
||||
path = "/sys/devices/platform/coretemp.0/hwmon/hwmon1/temp4_input"
|
||||
}
|
||||
|
||||
disk "/" {
|
||||
format = "%free"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue