updated i3 config

This commit is contained in:
Steffen Vogel 2014-06-23 23:15:47 +02:00
parent 73f97155db
commit d9c5768d20
2 changed files with 82 additions and 3 deletions

View file

@ -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
}

78
.i3/status Normal file
View file

@ -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 ☰ "
}