Add autolock, new network/battery devices

This commit is contained in:
Adam Gausmann 2017-08-24 17:52:14 -05:00
parent 306f64c03a
commit 5d0748441f
2 changed files with 13 additions and 4 deletions

View file

@ -176,3 +176,5 @@ bindsym $mod+n exec networkmanager_dmenu
exec --no-startup-id redshift
# Background
exec --no-startup-id nitrogen --restore &
# Autolock
#exec --no-startup-id xautolock -locker "/usr/bin/i3lock -c 000000" -t 10m

View file

@ -14,30 +14,37 @@ general {
#order += "ipv6"
#order += "disk /"
#order += "run_watch DHCP"
order += "wireless _first_"
order += "ethernet _first_"
order += "wireless wlp2s0"
order += "ethernet enp3s0f1"
order += "ethernet endock0"
order += "path_exists VPN"
order += "volume master"
order += "battery 0"
order += "cpu_usage"
order += "tztime local"
wireless _first_ {
wireless wlp2s0 {
format_up = "WLAN %ip at %essid (%quality)"
format_down = ""
}
ethernet enp3s0f2 {
ethernet enp3s0f1 {
# if you use %speed, i3status requires root privileges
format_up = "ETH %ip"
format_down = ""
}
ethernet endock0 {
format_up = "DOCK %ip"
format_down = ""
}
battery 0 {
last_full_capacity = true
hide_seconds = true
integer_battery_capacity = true
format = "%status %percentage %remaining"
path = "/sys/class/power_supply/BAT1/uevent"
}
run_watch DHCP {