update status bars

This commit is contained in:
Frieder Schlesier 2018-01-06 15:34:00 +01:00
parent d48269ebb2
commit 9d841fb4c7
3 changed files with 44 additions and 29 deletions

View File

@ -116,11 +116,15 @@ assign [class=".*\ -\ Oracle\ VM\ Virtualbox$"] $WS5
assign [class="^Thunderbird$"] $WS4 assign [class="^Thunderbird$"] $WS4
assign [class=".*KeePass.*"] $WS8 assign [class=".*KeePass.*"] $WS8
workspace $WS1 output VGA-1 # https://faq.i3wm.org/question/3726/workspace-output-multiple-values/index.html%3Fanswer=3731.html#post-id-3731
workspace $WS2 output VGA-1 set $OUTPUT1 LVDS-1
set $OUTPUT2 VGA-1
workspace $WS1 output $OUTPUT2
workspace $WS2 output $OUTPUT2
workspace $WS3 output LVDS-1 workspace $WS3 output LVDS-1
workspace $WS4 output LVDS-1 workspace $WS4 output LVDS-1
workspace $WS5 output VGA-1 workspace $WS5 output $OUTPUT2
workspace $WS8 output LVDS-1 workspace $WS8 output LVDS-1
workspace $WS9 output LVDS-1 workspace $WS9 output LVDS-1
@ -209,7 +213,7 @@ bar {
} }
bar { bar {
output VGA-1 output $OUTPUT2
output DP-1 output DP-1
output HDMI-1 output HDMI-1
status_command i3status --config ~/.i3/status_small.conf status_command i3status --config ~/.i3/status_small.conf

View File

@ -14,6 +14,7 @@ general {
order += "disk /" order += "disk /"
order += "disk /var" order += "disk /var"
order += "disk /home" order += "disk /home"
order += "disk /media/driveBay"
#order += "run_watch Docker" #order += "run_watch Docker"
#order += "run_watch DHCP" #order += "run_watch DHCP"
order += "path_exists VPN" order += "path_exists VPN"
@ -95,6 +96,10 @@ disk "/var" {
disk "/home" { disk "/home" {
format = "/ %avail" format = "/ %avail"
} }
disk "/media/driveBay" {
format = "/ %avail"
}
volume master { volume master {
format = " %volume" format = " %volume"

View File

@ -7,8 +7,14 @@
# 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 = 15 interval = 15
color_good = "#56F5B2"
color_degraded = "#CEB746"
color_bad = "#EE6B6F"
color_separator = "#334E8F"
} }
order += "run_watch Docker" order += "run_watch Docker"
@ -22,51 +28,51 @@ order += "load"
order += "tztime local" order += "tztime local"
battery 0 { battery 0 {
format = "%status %percentage %remaining" format = "%status %percentage %remaining"
format_down = "∞ PLUG" format_down = "∞ PLUG"
status_chr = "⚇ CHR" status_chr = "⚇ CHR"
status_bat = "⚡ BAT" status_bat = "⚡ BAT"
status_full = "☻ FULL" status_full = "☻ FULL"
path = "/sys/class/power_supply/BAT%d/uevent" path = "/sys/class/power_supply/BAT%d/uevent"
low_threshold = 10 low_threshold = 10
} }
wireless wlp3s0 { wireless wlp3s0 {
format_up = " %essid (%quality)" format_up = " %essid (%quality)"
format_down = " -" format_down = " -"
} }
ethernet eth0 { ethernet eth0 {
# if you use %speed, i3status requires root privileges # if you use %speed, i3status requires root privileges
format_up = "E: up" format_up = "E: up"
format_down = "E: down" format_down = "E: down"
} }
run_watch Docker { run_watch Docker {
pidfile = "/run/docker.pid" pidfile = "/run/docker.pid"
} }
run_watch DHCP { run_watch DHCP {
pidfile = "/var/run/dhclient*.pid" pidfile = "/var/run/dhclient*.pid"
} }
path_exists VPN { path_exists VPN {
path = "/proc/sys/net/ipv4/conf/tun0" path = "/proc/sys/net/ipv4/conf/tun0"
} }
tztime local { tztime local {
format = "%m-%d %H:%M:%S" format = "%m-%d %H:%M:%S"
} }
load { load {
format = "%1min" format = "%1min"
} }
volume master { volume master {
format = " %volume" format = " %volume"
format_muted = " %volume" format_muted = " %volume"
device = "default" device = "default"
mixer = "Master" mixer = "Master"
mixer_idx = 0 mixer_idx = 0
} }