Skip to content

Instantly share code, notes, and snippets.

@mczuchnowski
Last active May 8, 2018 20:30
Show Gist options
  • Save mczuchnowski/557e53c8ac1623d5c09e to your computer and use it in GitHub Desktop.
Save mczuchnowski/557e53c8ac1623d5c09e to your computer and use it in GitHub Desktop.
Simplified i3 status bar
# 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
}
order += "volume master"
#order += "ipv6"
order += "disk /"
#order += "run_watch DHCP"
order += "wireless _first_"
#order += "run_watch VPN"
#order += "ethernet _first_"
order += "battery 0"
order += "load"
order += "tztime local"
volume master {
format = " ♫ %volume "
device = "default"
mixer = "Master"
mixer_idx = 0
}
wireless _first_ {
format_up = "  %quality at %essid %ip "
format_down = "  down "
}
ethernet _first_ {
# if you use %speed, i3status requires root privileges
format_up = "E: %ip (%speed)"
format_down = "E: down"
}
battery 0 {
format = "  %percentage %remaining "
}
run_watch DHCP {
pidfile = "/var/run/dhclient*.pid"
}
run_watch VPN {
pidfile = "/sys/class/net/tun0/dev_id"
}
tztime local {
format = "  %Y-%m-%d  %H:%M:%S "
}
load {
format = "  %1min "
}
disk "/" {
format = "  %avail "
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment