From b707aa356f7dfec5bf23f6b27d374d5329d3cb0e Mon Sep 17 00:00:00 2001 From: dbroqua Date: Tue, 20 Jun 2017 20:04:40 +0200 Subject: [PATCH] - Added py3status --- i3/config | 16 +++++++++++++++- i3status/config | 34 +++++++++++----------------------- 2 files changed, 26 insertions(+), 24 deletions(-) diff --git a/i3/config b/i3/config index 27ea6d0..f680995 100644 --- a/i3/config +++ b/i3/config @@ -161,9 +161,23 @@ bindsym $mod+r mode "resize" # Start i3bar to display a workspace bar (plus the system information i3status # finds out, if available) 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 xscreensaver -no-splash &' exec --no-startup-id i3-msg 'exec blueman-applet &' diff --git a/i3status/config b/i3status/config index dd9eedf..f67ba33 100644 --- a/i3status/config +++ b/i3status/config @@ -23,12 +23,18 @@ order += "battery 0" #order += "cpu_temperature 0" #order += "cpu_temperature 1" #order += "load" -order += "cpu_usage" +#order += "cpu_usage" +order += "sysdata" order += "volume master" order += "tztime local" +sysdata { + format = "CPU: {cpu_usage}%, MEM: {mem_used_percent}%" +} + 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" } @@ -48,19 +54,15 @@ path_exists VPN { } tztime local { - format = "%Y-%m-%d %H:%M:%S" -} - -load { - format = "Load: %1min" + format = "%m/%d %H:%M:%S" } disk "/" { - format = "Root: %percentage_free" + format = "/ %percentage_free" } disk "/home" { - format = "Home: %percentage_free" + format = "/home %percentage_free" } volume master { @@ -71,20 +73,6 @@ volume master { 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 { format = "%status %percentage %remaining" format_down = "No battery"