mirror of https://github.com/captn3m0/dotfiles.git
Switches to py3status
- Adds support for cmus in statusbar
This commit is contained in:
parent
f5999344d8
commit
a7e33d09aa
|
@ -7,52 +7,83 @@
|
||||||
# If the above line is not correctly displayed, fix your editor first!
|
# If the above line is not correctly displayed, fix your editor first!
|
||||||
|
|
||||||
general {
|
general {
|
||||||
colors = true
|
colors = true
|
||||||
interval = 5
|
interval = 5
|
||||||
}
|
}
|
||||||
|
|
||||||
#order += "ipv6"
|
#order += "ipv6"
|
||||||
|
order += "external_script cmus"
|
||||||
order += "disk /home"
|
order += "disk /home"
|
||||||
|
order += "bluetooth"
|
||||||
|
order += "weather_yahoo"
|
||||||
#order += "run_watch DHCP"
|
#order += "run_watch DHCP"
|
||||||
#order += "run_watch VPN"
|
#order += "run_watch VPN"
|
||||||
order += "wireless _first_"
|
order += "wireless _first_"
|
||||||
#order += "ethernet _first_"
|
#order += "ethernet _first_"
|
||||||
order += "battery 0"
|
order += "battery_level"
|
||||||
# order += "load"
|
# order += "load"
|
||||||
order += "tztime local"
|
order += "tztime local"
|
||||||
|
|
||||||
wireless _first_ {
|
wireless _first_ {
|
||||||
format_up = "W: (%quality at %essid) %ip"
|
format_up = "%essid %quality %ip"
|
||||||
format_down = "W: down"
|
format_down = "W: down"
|
||||||
}
|
}
|
||||||
|
|
||||||
ethernet _first_ {
|
ethernet _first_ {
|
||||||
# if you use %speed, i3status requires root privileges
|
# if you use %speed, i3status requires root privileges
|
||||||
format_up = "E: %ip (%speed)"
|
format_up = "E: %ip (%speed)"
|
||||||
format_down = "E: down"
|
format_down = "E: down"
|
||||||
}
|
}
|
||||||
|
|
||||||
battery 0 {
|
battery_level{
|
||||||
format = "%status %percentage %remaining"
|
color_bad = "#ECF0F1"
|
||||||
integer_battery_capacity = true
|
color_charging = "#FCE94F"
|
||||||
|
color = "#FCE94F"
|
||||||
|
color_degraded = "#2ECC71"
|
||||||
|
color_good = "#2ECC71"
|
||||||
|
format = "⚡ {}"
|
||||||
|
mode = "text"
|
||||||
|
}
|
||||||
|
|
||||||
|
external_script "cmus" {
|
||||||
|
# Refresh every 5 seconds
|
||||||
|
cache_timeout = 5
|
||||||
|
format = "► {output}"
|
||||||
|
color = "#E67E22"
|
||||||
|
script_path = "~/projects/scripts/get-current-track.sh"
|
||||||
}
|
}
|
||||||
|
|
||||||
run_watch DHCP {
|
run_watch DHCP {
|
||||||
pidfile = "/var/run/dhclient*.pid"
|
pidfile = "/var/run/dhclient*.pid"
|
||||||
}
|
}
|
||||||
|
|
||||||
run_watch VPN {
|
run_watch VPN {
|
||||||
pidfile = "/var/run/vpnc/pid"
|
pidfile = "/var/run/vpnc/pid"
|
||||||
}
|
}
|
||||||
|
|
||||||
tztime local {
|
tztime local {
|
||||||
format = "%Y-%m-%d %H:%M:%S"
|
format = "%Y-%m-%d %H:%M:%S"
|
||||||
}
|
}
|
||||||
|
|
||||||
load {
|
load {
|
||||||
format = "%1min"
|
format = "%1min"
|
||||||
}
|
}
|
||||||
|
|
||||||
disk "/home" {
|
disk "/home" {
|
||||||
format = "%avail"
|
format = "%avail"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
weather_yahoo {
|
||||||
|
city_code = "INKA0686"
|
||||||
|
}
|
||||||
|
|
||||||
|
bluetooth {
|
||||||
|
format = "{name}"
|
||||||
|
format_no_conn = ""
|
||||||
|
format_prefix = "ß "
|
||||||
|
format_no_conn_prefix = ""
|
||||||
|
}
|
||||||
|
|
||||||
|
pomodoro {
|
||||||
|
|
||||||
|
}
|
|
@ -200,7 +200,7 @@ bindsym XF86AudioMute exec amixer -D pulse set Master toggle
|
||||||
# Start i3bar to display a workspace bar (plus the system information i3status
|
# Start i3bar to display a workspace bar (plus the system information i3status
|
||||||
# finds out, if available)
|
# finds out, if available)
|
||||||
bar {
|
bar {
|
||||||
status_command i3status
|
status_command py3status -c ~/.config/i3status/config
|
||||||
colors {
|
colors {
|
||||||
# Whole color settings
|
# Whole color settings
|
||||||
background #000000
|
background #000000
|
||||||
|
|
Loading…
Reference in New Issue