Skip to content

Instantly share code, notes, and snippets.

@dowglaz
Created November 15, 2015 00:54
Show Gist options
  • Save dowglaz/ffafaaba8abeb3c9f685 to your computer and use it in GitHub Desktop.
Save dowglaz/ffafaaba8abeb3c9f685 to your computer and use it in GitHub Desktop.
# 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 = yes
interval = 1
color_good = "#2ECC71"
color_bad = "#E74C3C"
output_format = i3bar
# color_degraded = " "
}
order += "cpu_usage"
order += "load"
order += "disk /"
#order += "disk /home"
order += "wireless _first_"
order += "ethernet _first_"
order += "battery 1"
#order += "ipv6"
order += "run_watch DHCP"
order += "cpu_temperature 0"
order += "tztime local"
order += "volume master"
# order += "run_watch VPN"
cpu_usage {
format = " cpu %usage "
}
load {
format = " load %1min %5min %15min"
# max_threshold = 0.3
}
disk "/" {
# format = " hdd %avail "
format = " ⛁ %avail "
}
disk "/home" {
format = " /home %avail "
}
wireless _first_ {
# format_up = "W: (%quality at %essid) %ip"
format_up = "  %essid %quality %ip"
format_down = " no wlan "
}
ethernet _first_ {
# if you use %speed, i3status requires root privileges
format_up = " lan: %ip %speed "
format_down = " no lan "
}
battery 1 {
format_down = "No battery"
format = "%status %percentage %remaining %emptytime"
# format = " %status %percentage"
last_full_capacity = true
integer_battery_capacity = true
status_chr = ""
#status_chr = "⚡"
#status_bat = ""
status_bat = "⚇"
# status_bat = "bat"
# status_bat = "☉"
# status_full = ""
status_full = "☻"
low_threshold = 15
threshold_type = time
path = /sys/class/power_supply/CMB0/uevent
}
cpu_temperature 0 {
format = "T: %degrees °C"
max_threshold = 55
path = /sys/devices/platform/coretemp.0/hwmon/hwmon0/temp1_input
}
tztime local {
# format = "%Y-%m-%d %H:%M:%S"
format = " %d/%m/%Y %H:%M:%S "
}
volume master {
format = "%volume ♪"
format_muted = "muted (%volume) ♪"
device = "default"
mixer = "Master"
mixer_idx = 0
}
run_watch DHCP {
pidfile = "/var/run/dhclient*.pid"
}
run_watch VPN {
pidfile = "/var/run/vpnc/pid"
}
@lemuelroberto
Copy link

Genial usar ⚡ e afins para a barra de status. Faz muito mais sentido...

Valeu 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment