diff --git a/bar/src/meteo.php b/bar/src/meteo.php new file mode 100755 index 0000000..916a8d0 --- /dev/null +++ b/bar/src/meteo.php @@ -0,0 +1,37 @@ +#!/usr/bin/php7.1 + pspan($output, '#fff'), + ] + ); + } catch(\Exception $e) { + } +} + +if (getenv('BLOCK_BUTTON') === '1') { + $url = 'https://fr.wttr.in/'; + $command = sprintf('xdg-open %s', escapeshellarg($url)); + shell_exec($command); +}