From f5d9cf9c98a4ab5ffa7a3236cfa5d4b3771787ea Mon Sep 17 00:00:00 2001 From: John Mertz Date: Tue, 19 Apr 2022 00:34:12 -0400 Subject: [PATCH] Remove debugging. Test brightness effect (oled) --- sway/gammastep.pl | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sway/gammastep.pl b/sway/gammastep.pl index 61e791f..22b1f58 100755 --- a/sway/gammastep.pl +++ b/sway/gammastep.pl @@ -17,7 +17,7 @@ unless ($pid) { open STDOUT, '>>/dev/null'; open STDERR, '>>/dev/null'; - `gammastep -l $lat_lon`; + `gammastep -l $lat_lon -b 1:0.7`; } sub fetch_lat_lon @@ -30,13 +30,10 @@ sub fetch_lat_lon my $raw = $ua->get($location)->content(); if (defined $raw) { - print($raw."\n"); my $decoded = $json->decode($raw); if (defined $decoded->{lat} && defined $decoded->{lon}) { return "$decoded->{lat}:$decoded->{lon}"; } - print $decoded->{lat}; - } sleep 5; return fetch_lat_lon($ua, $json, $location);