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
|
@ -12,17 +12,20 @@ general {
|
|||
}
|
||||
|
||||
#order += "ipv6"
|
||||
order += "external_script cmus"
|
||||
order += "disk /home"
|
||||
order += "bluetooth"
|
||||
order += "weather_yahoo"
|
||||
#order += "run_watch DHCP"
|
||||
#order += "run_watch VPN"
|
||||
order += "wireless _first_"
|
||||
#order += "ethernet _first_"
|
||||
order += "battery 0"
|
||||
order += "battery_level"
|
||||
# order += "load"
|
||||
order += "tztime local"
|
||||
|
||||
wireless _first_ {
|
||||
format_up = "W: (%quality at %essid) %ip"
|
||||
format_up = "%essid %quality %ip"
|
||||
format_down = "W: down"
|
||||
}
|
||||
|
||||
|
@ -32,9 +35,22 @@ ethernet _first_ {
|
|||
format_down = "E: down"
|
||||
}
|
||||
|
||||
battery 0 {
|
||||
format = "%status %percentage %remaining"
|
||||
integer_battery_capacity = true
|
||||
battery_level{
|
||||
color_bad = "#ECF0F1"
|
||||
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 {
|
||||
|
@ -56,3 +72,18 @@ load {
|
|||
disk "/home" {
|
||||
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
|
||||
# finds out, if available)
|
||||
bar {
|
||||
status_command i3status
|
||||
status_command py3status -c ~/.config/i3status/config
|
||||
colors {
|
||||
# Whole color settings
|
||||
background #000000
|
||||
|
|
Loading…
Reference in New Issue