- Added py3status
This commit is contained in:
parent
70104f1b8f
commit
b707aa356f
2 changed files with 26 additions and 24 deletions
16
i3/config
16
i3/config
|
@ -161,9 +161,23 @@ bindsym $mod+r mode "resize"
|
||||||
# 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 i3status
|
||||||
|
status_command py3status
|
||||||
|
colors {
|
||||||
|
#color class border back. text
|
||||||
|
focused_workspace #555555 #6a9ef2 #ffffff
|
||||||
|
active_workspace #555555 #555555 #ffffff
|
||||||
|
inactive_workspace #000000 #000000 #888888
|
||||||
|
urgent_workspace #2f343a #900000 #ffffff
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#colors: border backgr. text indicator
|
||||||
|
client.focused #222222 #6a9ef2 #ffffff #2b2b2b
|
||||||
|
client.focused_inactive #888888 #2b2b2b #ffffff #2b2b2b
|
||||||
|
client.unfocused #888888 #2b2b2b #ffffff #2b2b2b
|
||||||
|
client.urgent #900000 #900000 #ffffff #2b2b2b
|
||||||
|
|
||||||
exec --no-startup-id i3-msg 'exec xcompmgr -c &'
|
exec --no-startup-id i3-msg 'exec xcompmgr -c &'
|
||||||
exec --no-startup-id i3-msg 'exec xscreensaver -no-splash &'
|
exec --no-startup-id i3-msg 'exec xscreensaver -no-splash &'
|
||||||
exec --no-startup-id i3-msg 'exec blueman-applet &'
|
exec --no-startup-id i3-msg 'exec blueman-applet &'
|
||||||
|
|
|
@ -23,12 +23,18 @@ order += "battery 0"
|
||||||
#order += "cpu_temperature 0"
|
#order += "cpu_temperature 0"
|
||||||
#order += "cpu_temperature 1"
|
#order += "cpu_temperature 1"
|
||||||
#order += "load"
|
#order += "load"
|
||||||
order += "cpu_usage"
|
#order += "cpu_usage"
|
||||||
|
order += "sysdata"
|
||||||
order += "volume master"
|
order += "volume master"
|
||||||
order += "tztime local"
|
order += "tztime local"
|
||||||
|
|
||||||
|
sysdata {
|
||||||
|
format = "CPU: {cpu_usage}%, MEM: {mem_used_percent}%"
|
||||||
|
}
|
||||||
|
|
||||||
wireless wlp2s0 {
|
wireless wlp2s0 {
|
||||||
format_up = "W: %ip (%quality at %essid, %bitrate)"
|
# format_up = "W: %ip (%quality at %essid, %bitrate)"
|
||||||
|
format_up = "W: %ip (%essid)"
|
||||||
format_down = "W: down"
|
format_down = "W: down"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -48,19 +54,15 @@ path_exists VPN {
|
||||||
}
|
}
|
||||||
|
|
||||||
tztime local {
|
tztime local {
|
||||||
format = "%Y-%m-%d %H:%M:%S"
|
format = "%m/%d %H:%M:%S"
|
||||||
}
|
|
||||||
|
|
||||||
load {
|
|
||||||
format = "Load: %1min"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
disk "/" {
|
disk "/" {
|
||||||
format = "Root: %percentage_free"
|
format = "/ %percentage_free"
|
||||||
}
|
}
|
||||||
|
|
||||||
disk "/home" {
|
disk "/home" {
|
||||||
format = "Home: %percentage_free"
|
format = "/home %percentage_free"
|
||||||
}
|
}
|
||||||
|
|
||||||
volume master {
|
volume master {
|
||||||
|
@ -71,20 +73,6 @@ volume master {
|
||||||
mixer_idx = 0
|
mixer_idx = 0
|
||||||
}
|
}
|
||||||
|
|
||||||
cpu_usage {
|
|
||||||
format = "CPU: %usage"
|
|
||||||
}
|
|
||||||
|
|
||||||
cpu_temperature 0 {
|
|
||||||
format = "Core 0: %degrees °C"
|
|
||||||
path = "/sys/bus/acpi/devices/LNXTHERM:00/thermal_zone/temp"
|
|
||||||
}
|
|
||||||
cpu_temperature 1 {
|
|
||||||
format = "Core 1: %degrees °C"
|
|
||||||
path = "/sys/bus/acpi/devices/LNXTHERM:01/thermal_zone/temp"
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
battery 0 {
|
battery 0 {
|
||||||
format = "%status %percentage %remaining"
|
format = "%status %percentage %remaining"
|
||||||
format_down = "No battery"
|
format_down = "No battery"
|
||||||
|
|
Loading…
Reference in a new issue