The script genconfig.bash concatenates the main configuration file with
a host specific one to create a session-specific configration file that
is then passed to i3. It therefore has to be called in .xinitrc or
something comparable before starting i3. If no host specific
configuration is found, a default file will be used instead. This is
useful for providing default that should not go into the main
configuration file, maybe because they are incompatible with some host
specific settings. For example a default bar{} block goes there, as if
this was in the main config, two i3bar instances would be started when a
host specific config specifies its own.
86 lines
1.7 KiB
Plaintext
86 lines
1.7 KiB
Plaintext
# 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 = 1
|
|
}
|
|
|
|
#order += "ipv6"
|
|
#order += "disk /"
|
|
#order += "disk /var"
|
|
#order += "disk /home"
|
|
#order += "cpu_temperature 0"
|
|
#order += "run_watch DHCP"
|
|
#order += "run_watch VPN"
|
|
order += "wireless wlp2s0"
|
|
order += "ethernet enp1s0"
|
|
#order += "ethernet eth0"
|
|
order += "battery 0"
|
|
#order += "load"
|
|
order += "volume master"
|
|
order += "tztime local"
|
|
|
|
wireless wlp2s0 {
|
|
format_up = "W: %quality %ip"
|
|
# format_up = "W: %essid: %quality %ip"
|
|
format_down = "W: down"
|
|
}
|
|
|
|
ethernet enp1s0 {
|
|
# if you use %speed, i3status requires root privileges
|
|
format_up = "E: %ip (%speed)"
|
|
format_down = "E: down"
|
|
}
|
|
|
|
battery 0 {
|
|
format = "%status %remaining (%percentage)"
|
|
integer_battery_capacity = true
|
|
low_threshold = 10
|
|
threshold_type = percentage
|
|
}
|
|
|
|
run_watch DHCP {
|
|
pidfile = "/var/run/dhclient*.pid"
|
|
}
|
|
|
|
run_watch VPN {
|
|
pidfile = "/var/run/vpnc/pid"
|
|
}
|
|
|
|
tztime local {
|
|
format = "%a %Y-%m-%d %H:%M:%S"
|
|
}
|
|
|
|
load {
|
|
format = "L: %1min"
|
|
max_threshold = 5
|
|
}
|
|
|
|
disk "/" {
|
|
format = "/: %avail/%total free (%percentage_avail)"
|
|
}
|
|
|
|
disk "/var" {
|
|
format = "/var: %avail/%total free (%percentage_avail)"
|
|
}
|
|
|
|
disk "/home" {
|
|
format = "/home: %avail/%total free (%percentage_avail)"
|
|
}
|
|
|
|
cpu_temperature 0 {
|
|
format = "T: %degrees °C"
|
|
}
|
|
|
|
volume master {
|
|
format = "VOL: %volume"
|
|
device = "default"
|
|
mixer = "Master"
|
|
}
|