mirror of
https://github.com/10h30/endeavouros-i3wm-setup.git
synced 2026-07-20 15:13:17 +09:00
Deleted some comments
This commit is contained in:
@@ -27,11 +27,6 @@ my $ac_adapt;
|
||||
my $full_text;
|
||||
my $short_text;
|
||||
my $label = '😅';
|
||||
#my $bat_number = $ENV{BLOCK_INSTANCE} || 0;
|
||||
# read the first line of the "acpi" command output
|
||||
# open (ACPI, "acpi -b | grep 'Battery $bat_number' |") or die;
|
||||
# $acpi = <ACPI>;
|
||||
# close(ACPI);
|
||||
open (UPOWER, "upower -i /org/freedesktop/UPower/devices/battery_BAT0 | grep 'percentage' |") or die;
|
||||
$upower = <UPOWER>;
|
||||
close(UPOWER);
|
||||
|
||||
Reference in New Issue
Block a user