From d9c5768d20a9ce10f2b9e1c3cd80ef3841a36282 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Mon, 23 Jun 2014 23:15:47 +0200 Subject: [PATCH] updated i3 config --- .i3/config | 7 ++--- .i3/status | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 82 insertions(+), 3 deletions(-) create mode 100644 .i3/status diff --git a/.i3/config b/.i3/config index d856aa6..9aba643 100644 --- a/.i3/config +++ b/.i3/config @@ -2,7 +2,7 @@ set $mod Mod4 new_window pixel 1 -font pango:DejaVuSansMono 7 +font pango:DejaVuSansMono 13 # Use Mouse+$mod to drag floating windows to their wanted position floating_modifier $mod @@ -14,7 +14,7 @@ bindsym $mod+Return exec urxvt bindsym $mod+Shift+q kill # start dmenu (a program launcher) -bindsym $mod+d exec dmenu_run +bindsym $mod+d exec dmenu_run -fn "DejaVuSansMono 12" # move focus bindsym $mod+Left focus left @@ -119,5 +119,6 @@ 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 -c ~/.i3/status + font pango:DejaVuSansMono 12 } diff --git a/.i3/status b/.i3/status new file mode 100644 index 0000000..cca2d73 --- /dev/null +++ b/.i3/status @@ -0,0 +1,78 @@ +general { + colors = true + color_good = "#B8D68C" + color_degraded = "#E1AA5D" + color_bad = "#E84F4F" + + interval = 2 +} + +order += "volume master" +order += "load" +order += "cpu_usage" +order += "cpu_temperature 0" +order += "cpu_temperature 1" +order += "cpu_temperature 2" +order += "cpu_temperature 3" +order += "disk /" +order += "ethernet eth0" +order += "wireless wlan0" +order += "tztime local" + +volume master { + format = " ♪: %volume " + device = "default" + mixer = "Master" + mixer_idx = 0 +} + +load { + format = " Δ: %1min " +} + +cpu_usage { + format = " %usage " +} + +cpu_temperature 0 { + format = " ± %degrees°" + path = "/sys/devices/platform/coretemp.0/temp2_input" + max_threshold = 95 +} + +cpu_temperature 1 { + format = "%degrees°" + path = "/sys/devices/platform/coretemp.0/temp3_input" + max_threshold = 95 +} + +cpu_temperature 2 { + format = "%degrees°" + path = "/sys/devices/platform/coretemp.0/temp4_input" + max_threshold = 95 +} + +cpu_temperature 3 { + format = "%degrees° " + path = "/sys/devices/platform/coretemp.0/temp5_input" + max_threshold = 95 +} + +disk "/" { + format = " %avail:/ " +} + +wireless wlan0 { + format_up = " W: (%quality at %essid) %ip " + format_down = " ☡ WiFi " +} + +ethernet eth0 { + # if you use %speed, i3status requires root privileges + format_up = " Ω: %ip " + format_down = " ∅ eth0 " +} + +tztime local { + format = " %h-%d %H:%M ☰ " +}