diff options
-rwxr-xr-x | bin/setup.sh | 1 | ||||
-rw-r--r-- | i3/config | 2 | ||||
-rw-r--r-- | i3status.conf | 67 |
3 files changed, 69 insertions, 1 deletions
diff --git a/bin/setup.sh b/bin/setup.sh index 217be3c..0aec1ef 100755 --- a/bin/setup.sh +++ b/bin/setup.sh @@ -65,6 +65,7 @@ create_symlink ../dotfiles/ssh/config .ssh/config if which i3 >/dev/null; then mkdir -p .i3 create_symlink ../dotfiles/i3/config .i3/config + create_symlink dotfiles/i3status.conf .i3status.conf else printf "${orange}[SKIPPED]${none} i3 not installed.\n" fi @@ -25,7 +25,7 @@ bindsym Pause exec i3lock -c 2A3462 bindsym Mod4+Shift+q kill # start dmenu (a program launcher) -bindsym Mod4+d exec dmenu_run +bindsym Mod4+d exec dmenu_run -fn -*-*-*-*-*-*-20-*-*-*-*-*-*-* # change focus bindsym Mod4+h focus left diff --git a/i3status.conf b/i3status.conf new file mode 100644 index 0000000..7cea47b --- /dev/null +++ b/i3status.conf @@ -0,0 +1,67 @@ +general { + colors = true + interval = 5 +} + +order += "ipv6" +order += "disk /" +#order += "run_watch DHCP" +#order += "run_watch VPN" +order += "wireless wlp4s0" +order += "ethernet enp0s25" +order += "battery 0" +order += "cpu_temperature 0" +order += "load" +order += "volume master" +order += "time" + +volume master { + format = "♪: %volume" + format_muted = "♪: muted (%volume)" + device = "default" + mixer = "Master" + mixer_idx = 0 +} + + +wireless wlp4s0 { + format_up = "%essid %ip" + format_down = "" +} + +ethernet enp0s25 { + # if you use %speed, i3status requires root privileges + format_up = "E: %ip (%speed)" + format_down = "" +} + +battery 0 { + last_full_capacity = true + low_threshold = 15 + threshold_type = time + format = "%status %percentage %remaining (%consumption)" +} + +run_watch DHCP { + pidfile = "/var/run/dhclient*.pid" +} + +run_watch VPN { + pidfile = "/var/run/vpnc/pid" +} + +time { + format = "%Y-%m-%d %H:%M:%S" +} + +load { + format = "%1min" +} + +cpu_temperature 0 { + format = "T: %degrees °C" +} + +disk "/" { + format = "/: %free" +} |