all repos — dotfiles @ 7e99286300a4e8b023f03db8c582426ad03f1025

linux dotfiles

update i3 config; add i3status.conf

added i3status config file and modified the i3bar
Prithu Goswami prithugoswami524@gmail.com
Mon, 16 Apr 2018 08:01:33 +0530
commit

7e99286300a4e8b023f03db8c582426ad03f1025

parent

4d614ebabda678d93d830dde43d1cedc0eb34337

2 files changed, 66 insertions(+), 2 deletions(-)

jump to
M .config/i3/config.config/i3/config

@@ -149,7 +149,6 @@ exec ~/.screenlayout/last_layout

- # Switch to worspace 6 ( which I will never use ) just to work as a way to quickly "show desktop" bindsym $mod+q workspace 6

@@ -218,7 +217,7 @@

# Start i3bar to display a workspace bar (plus the system information i3status # finds out, if available) bar { - status_command i3status + status_command i3status -c ~/.config/i3/i3status.conf tray_output primary }
A .config/i3/i3status.conf

@@ -0,0 +1,65 @@

+# i3status configuration file. +# see "man i3status" for documentation. + +# It is important that this file is edited as UTF-8. +# The following line should contain a sharp s: +# ß +# If the above line is not correctly displayed, fix your editor first! + +general { + colors = true + interval = 5 +} + +#order += "ipv6" +order += "disk /" +#order += "run_watch DHCP" +#order += "run_watch VPN" +order += "wireless _first_" +#order += "ethernet _first_" +order += "battery 0" +order += "load" +order += "tztime local" + +wireless _first_ { + format_up = "W: (%quality at %essid)" + format_down = "W: down" +} + +ethernet _first_ { + # if you use %speed, i3status requires root privileges + format_up = "E: %ip (%speed)" + format_down = "E: down" +} + +battery 0 { + format = "%status %percentage %remaining " + path = "/sys/class/power_supply/BAT1/uevent" + status_chr = "" + status_bat = "  " + status_full = "  " + last_full_capacity = true + low_threshold = 30 + integer_battery_capacity = true + hide_seconds = true +} + +run_watch DHCP { + pidfile = "/var/run/dhclient*.pid" +} + +run_watch VPN { + pidfile = "/var/run/vpnc/pid" +} + +tztime local { + format = "%a, %d %b %Y | %I:%M:%p" +} + +load { + format = "%1min" +} + +disk "/" { + format = "%avail" +}