From c28643ce5bc8c7fd825e4eabbd915bad2b91dbd0 Mon Sep 17 00:00:00 2001 From: Aaron Marcher Date: Sun, 27 May 2018 16:46:03 +0200 Subject: Revert "Add basic backlight percentage support" On OpenBSD the backlight percentage cannot be retrieved in a simple way. The only two solutions we are aware of for now are: - reading from /dev/ttyC0: which isn't possible without changing permissions or running slstatus as root - linking against xcb-xrandr: which is bloat and does not work in every case appearently This reverts commit 37724ac2c3f496f4736223d0d8e5d8fecb933590 for now. --- config.def.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index 75debe5..58e935a 100644 --- a/config.def.h +++ b/config.def.h @@ -12,8 +12,6 @@ static const char unknown_str[] = "n/a"; /* * function description argument (example) * - * backlight_perc backlight percentage device name - * (intel_backlight) * battery_perc battery percentage battery name (BAT0) * NULL on OpenBSD * battery_state battery charging state battery name (BAT0) -- cgit v1.2.3