Skip to content

Latest commit

 

History

History
33 lines (19 loc) · 1.31 KB

README.md

File metadata and controls

33 lines (19 loc) · 1.31 KB

GNOME Shell DB ICE Portal extension

This extension brings you the data from the ICE portal directly to your status bar.

A screenshot of the extension

Setup

git clone https://github.com/mauricemeyer/gnome-shell-ice-portal.git ~/.local/share/gnome-shell/extensions/[email protected]

Then restart your GNOME with Alt + F2, in the opening menu type r and press enter.

After that, open the GNOME Tweaks tool and under extensions, enable the extension.

Inner workings

The extension queries both the status and the trip API of the ICE portal. Those are found at

The data is then processed and displayed in your status bar.

TODO

Currently, the extension has the following optimizable behaviour:

  • request data from both the trip and the status API every 7 seconds, no matter what -> there is no checking if we are connected to the WifiOnICE yet
  • if you disconnect from the WifiOnICE, the display does not get cleaned up, you will therefore have the last data displayed until you either; reboot your device, turn off the extension or restart GNOME.

The accuracy of the WLAN status could be optimized by reverse engineering https://iceportal.de/ itself as it uses both APIs to display its frontend.