Parcourir la source

Import default battery status

DricomDragon il y a 4 ans
Parent
commit
1d840ac565
1 fichiers modifiés avec 9 ajouts et 2 suppressions
  1. 9 2
      Install/Templates/i3status/config

+ 9 - 2
Install/Templates/i3status/config

@@ -17,7 +17,7 @@ order += "ipv6"
 order += "wireless _first_"
 order += "ethernet _first_"
 order += "volume master"
-order += "battery all"
+order += "battery 0"
 order += "tztime local"
 
 wireless _first_ {
@@ -31,8 +31,15 @@ ethernet _first_ {
         format_down = "⇵×"
 }
 
-battery all {
+battery 0 {
         format = "%status %percentage %remaining"
+        format_down = "× No battery"
+        status_chr = "⚡ HR"
+        status_bat = "🔋 BAT"
+        status_unk = "? UNK"
+        status_full = "☻ FULL"
+        path = "/sys/class/power_supply/BAT%d/uevent"
+        low_threshold = 10
 }
 
 tztime local {