dotfiles/.i3/i3status.conf

99 lines
2.1 KiB
Plaintext
Executable File

# 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
output_format = "i3bar"
}
#order += "ipv6"
order += "volume PCH"
order += "volume master"
order += "disk /"
#order += "run_watch DHCP"
order += "run_watch VPN"
#order += "wireless _first_"
#order += "ethernet _first_"
order += "battery 0"
order += "battery 1"
#order += "load"
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 {
status_chr = "⚡"
format = "%status %percentage"
#format = "%status %percentage %remaining"
path = "/sys/class/power_supply/BAT0/uevent"
#format = "upower -i /org/freedesktop/UPower/devices/battery_BAT1 | grep -E 'state|to\ full|percentage'"
format_down = ""
}
battery 1 {
status_chr = "CHR ⚡"
format = "%status %percentage %remaining"
path = "/sys/class/power_supply/BAT1/uevent"
format_down = ""
}
run_watch DHCP {
pidfile = "/var/run/dhclient*.pid"
}
run_watch VPN {
pidfile = "/var/run/vpnc/pid"
format_down = ""
}
tztime local {
#format = "%Y-%m-%d %H:%M:%S"
format = " %b-%d %H:%M"
#on_click 1 = "exec orange"
}
load {
format = "%1min"
}
disk "/" {
format = "%avail"
}
volume master {
format = " %volume"
format_muted = ""
device = "sysdefault"
mixer = "Master"
}
volume PCH {
format = " %volume"
format_muted = ""
device = "hw:1"
mixer = "Master"
}
external_script_notification {
script_path = "~/bin/notification_state"
strip_output = True
cache_timeout = 30
}