2017-03-23 21:42:21 +00:00
|
|
|
# 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
|
2019-03-05 05:08:30 +00:00
|
|
|
output_format = "i3bar"
|
2017-03-23 21:42:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#order += "ipv6"
|
2017-07-13 14:35:50 +00:00
|
|
|
order += "volume PCH"
|
2017-05-12 19:07:44 +00:00
|
|
|
order += "volume master"
|
2017-03-23 21:42:21 +00:00
|
|
|
order += "disk /"
|
|
|
|
#order += "run_watch DHCP"
|
|
|
|
order += "run_watch VPN"
|
2017-06-07 18:07:26 +00:00
|
|
|
#order += "wireless _first_"
|
|
|
|
#order += "ethernet _first_"
|
2017-03-23 21:42:21 +00:00
|
|
|
order += "battery 0"
|
2017-03-25 06:21:26 +00:00
|
|
|
order += "battery 1"
|
2017-09-13 18:49:27 +00:00
|
|
|
#order += "load"
|
2017-03-23 21:42:21 +00:00
|
|
|
order += "tztime local"
|
|
|
|
|
|
|
|
wireless _first_ {
|
|
|
|
format_up = "W: (%quality at %essid) %ip"
|
|
|
|
#format_down = "W: down"
|
|
|
|
format_down = ""
|
|
|
|
}
|
|
|
|
|
|
|
|
ethernet _first_ {
|
|
|
|
# if you use %speed, i3status requires root privileges
|
|
|
|
format_up = "E: %ip (%speed)"
|
|
|
|
#format_down = "E: down"
|
|
|
|
format_down = ""
|
|
|
|
}
|
|
|
|
|
|
|
|
battery 0 {
|
2017-06-07 18:07:26 +00:00
|
|
|
status_chr = "⚡"
|
|
|
|
format = "%status %percentage"
|
|
|
|
#format = "%status %percentage %remaining"
|
2017-03-25 06:21:26 +00:00
|
|
|
path = "/sys/class/power_supply/BAT0/uevent"
|
2017-03-23 21:42:21 +00:00
|
|
|
#format = "upower -i /org/freedesktop/UPower/devices/battery_BAT1 | grep -E 'state|to\ full|percentage'"
|
2017-07-13 14:42:05 +00:00
|
|
|
format_down = ""
|
2017-03-23 21:42:21 +00:00
|
|
|
}
|
|
|
|
|
2017-03-25 06:21:26 +00:00
|
|
|
battery 1 {
|
|
|
|
status_chr = "CHR ⚡"
|
|
|
|
format = "%status %percentage %remaining"
|
|
|
|
path = "/sys/class/power_supply/BAT1/uevent"
|
|
|
|
format_down = ""
|
|
|
|
}
|
|
|
|
|
2017-03-23 21:42:21 +00:00
|
|
|
run_watch DHCP {
|
|
|
|
pidfile = "/var/run/dhclient*.pid"
|
|
|
|
}
|
|
|
|
|
|
|
|
run_watch VPN {
|
|
|
|
pidfile = "/var/run/vpnc/pid"
|
|
|
|
format_down = ""
|
|
|
|
}
|
|
|
|
|
|
|
|
tztime local {
|
2017-06-09 18:54:39 +00:00
|
|
|
#format = "%Y-%m-%d %H:%M:%S"
|
2019-03-05 05:08:30 +00:00
|
|
|
format = " %b-%d %H:%M"
|
|
|
|
#on_click 1 = "exec orange"
|
2017-03-23 21:42:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
load {
|
|
|
|
format = "%1min"
|
|
|
|
}
|
|
|
|
|
|
|
|
disk "/" {
|
|
|
|
format = "%avail"
|
|
|
|
}
|
2017-05-12 19:07:44 +00:00
|
|
|
|
|
|
|
volume master {
|
2017-07-13 14:35:50 +00:00
|
|
|
format = " %volume"
|
|
|
|
format_muted = ""
|
2017-05-12 19:07:44 +00:00
|
|
|
device = "sysdefault"
|
|
|
|
mixer = "Master"
|
|
|
|
}
|
2017-07-13 14:35:50 +00:00
|
|
|
|
|
|
|
volume PCH {
|
|
|
|
format = " %volume"
|
|
|
|
format_muted = ""
|
|
|
|
device = "hw:1"
|
|
|
|
mixer = "Master"
|
|
|
|
}
|
2019-03-05 05:08:30 +00:00
|
|
|
|
2019-03-05 05:30:27 +00:00
|
|
|
external_script_notification {
|
|
|
|
script_path = "~/bin/notification_state"
|
|
|
|
strip_output = True
|
|
|
|
cache_timeout = 30
|
|
|
|
}
|