Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / applications / misc / xbattbar / sys-by-default.patch
blob367f7217eecbb1c7f3da56aa1e645ca846cbc468
1 diff --git a/xbattbar.c b/xbattbar.c
2 index 1e26019..cb3eab5 100644
3 --- a/xbattbar.c
4 +++ b/xbattbar.c
5 @@ -75,9 +75,8 @@ char *ONOUT_C = "olive drab";
6 char *OFFIN_C = "blue";
7 char *OFFOUT_C = "red";
9 -char *EXTERNAL_CHECK = "/usr/lib/xbattbar/xbattbar-check-apm";
10 +char *EXTERNAL_CHECK = "/usr/lib/xbattbar/xbattbar-check-sys";
11 char *EXTERNAL_CHECK_ACPI = "/usr/lib/xbattbar/xbattbar-check-acpi";
12 -char *EXTERNAL_CHECK_SYS = "/usr/lib/xbattbar/xbattbar-check-sys";
14 int alwaysontop = False;
16 @@ -245,10 +244,6 @@ main(int argc, char **argv)
17 EXTERNAL_CHECK = EXTERNAL_CHECK_ACPI;
18 break;
20 - case 'r':
21 - EXTERNAL_CHECK = EXTERNAL_CHECK_SYS;
22 - break;
24 case 's':
25 EXTERNAL_CHECK = optarg;
26 break;