/argos-sunrise-and-sunset

Extension shows in top bar for linux devices with Argos GNOME Shell extension sunrise and sunset for current date.

Primary LanguagePythonMIT LicenseMIT

GNOME Shell extension Argos for displaying sunrise and sunset times

This extension is created specially for Argos GNOME Shell extension. It shows in top bar sunrise and sunset for current date. When extension is connected to the internet, it downloads all data for the rest of the month and saves it into data.plk. If there is no internet connection and no downloaded data available, it shows in top bar offline and no data available.

extension_wifi

downloaded data available

extension_no_wifi

no internet connection and no downloaded data available

Installing

Setting up config.py

LATITUDE = "LATITUDE"
LONGITUDE = "LONGITUDE"
DATA_PATH = "/FULL/PATH/TO/data.plk"

Setting up sunrise-sunset.1s.sh

#!/bin/bash

data=$(python3 /FULL/PATH/TO/main.py)
echo $data
  • make sunrise-sunset.1s.sh executable
  • move to .config/argos/
  • enjoy