Changed battery percentage to relative to last full charge

Switched clock to 12 hours and seperated date
This commit is contained in:
Christian Colglazier 2018-07-25 18:43:10 -04:00
parent 72b8fdf26d
commit 4e1af90a3a

View File

@ -12,15 +12,13 @@ general {
order += "ipv6" order += "ipv6"
order += "disk /" order += "disk /"
order += "run_watch DHCP" order += "run_watch DHCP"
order += "run_watch VPNC"
order += "path_exists VPN"
order += "wireless wlan0" order += "wireless wlan0"
order += "ethernet eth0" order += "ethernet eth0"
order += "battery 0" order += "battery 0"
order += "cpu_temperature 0" order += "cpu_temperature 0"
order += "load" order += "load"
order += "tztime date"
order += "tztime local" order += "tztime local"
#order += "tztime berlin"
wireless wlan0 { wireless wlan0 {
format_up = "W: (%quality at %essid, %bitrate) %ip" format_up = "W: (%quality at %essid, %bitrate) %ip"
@ -40,6 +38,7 @@ battery 0 {
status_bat = "🔋 BAT" status_bat = "🔋 BAT"
status_unk = "? UNK" status_unk = "? UNK"
status_full = "☻ FULL" status_full = "☻ FULL"
last_full_capacity = true
path = "/sys/class/power_supply/BAT%d/uevent" path = "/sys/class/power_supply/BAT%d/uevent"
low_threshold = 10 low_threshold = 10
} }
@ -53,13 +52,12 @@ run_watch VPNC {
pidfile = "/var/run/vpnc/pid" pidfile = "/var/run/vpnc/pid"
} }
path_exists VPN { tztime date {
# path exists when a VPN tunnel launched by nmcli/nm-applet is active format = "%m/%d"
path = "/proc/sys/net/ipv4/conf/tun0"
} }
tztime local { tztime local {
format = "%m-%d %H:%M:%S" format = "%I:%M:%S"
} }
load { load {