From 062ec5305830e05833761e2920de23874cc48d1a Mon Sep 17 00:00:00 2001 From: Adam Gausmann Date: Wed, 18 Jan 2017 18:49:25 -0600 Subject: [PATCH] Add i3status config --- .bashrc | 3 ++ .config/i3status/config | 66 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) create mode 100644 .config/i3status/config diff --git a/.bashrc b/.bashrc index eaef5d5..b1d93a3 100644 --- a/.bashrc +++ b/.bashrc @@ -22,6 +22,9 @@ alias se="sudoedit" alias ed=$EDITOR alias sc="sudo systemctl" alias ssu="sudo su" +alias tb="nc termbin.com 9999" + +eval $(thefuck --alias) if [ -e ~/.dailyfortune ] then diff --git a/.config/i3status/config b/.config/i3status/config new file mode 100644 index 0000000..118fedc --- /dev/null +++ b/.config/i3status/config @@ -0,0 +1,66 @@ +# 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 += "volume master" +order += "battery 0" +order += "load" +order += "tztime local" + +wireless _first_ { + format_up = "W: (%quality at %essid) %ip" + 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" +} + +run_watch DHCP { + pidfile = "/var/run/dhclient*.pid" +} + +path_exists VPN { + path = "/proc/sys/net/ipv4/conf/tun0" + format = "VPN: UP" + format_down = "VPN: DN" +} + +tztime local { + format = "%Y-%m-%d %H:%M:%S" +} + +load { + format = "CPU %1min" +} + +disk "/" { + format = "%avail" +} + +volume master { + device = "pulse" + format = "VOL %volume" + format_muted = "MUT %volume" +}