ref: e5774c2a69bdef50057b7e5bb1fb1fefc8554aaf
parent: 46d9e65b6623956bc7b1f8d982dc986951cb4962
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Mon Aug 15 22:55:46 EDT 2022
acpi → pm (thanks romi)
--- a/bar.c
+++ b/bar.c
@@ -300,7 +300,7 @@
if((wctl = open("/dev/wctl", ORDWR)) < 0)
sysfatal("%r");
- bat = open("/mnt/acpi/battery", OREAD);
+ bat = open("/mnt/pm/battery", OREAD);
if(initdraw(nil, nil, "bar") < 0)
sysfatal("initdraw: %r");
f = display->defaultfont;