Skip to content

Commit

Permalink
Merge pull request slgobinath#558 from deltragon/trayicon-statusnotifier
Browse files Browse the repository at this point in the history
trayicon: migrate from libappindicator to org.kde.StatusNotifierItem
  • Loading branch information
archisman-panigrahi authored Jul 18, 2024
2 parents 8fb1eb9 + 239bb99 commit 7895913
Show file tree
Hide file tree
Showing 59 changed files with 2,143 additions and 267 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ sudo apt-get install safeeyes
### Fedora

```bash
sudo dnf install libappindicator-gtk3 python3-psutil python3-packaging cairo-devel python3-devel gobject-introspection-devel cairo-gobject-devel
sudo dnf install python3-psutil python3-packaging cairo-devel python3-devel gobject-introspection-devel cairo-gobject-devel
sudo pip3 install safeeyes
sudo gtk-update-icon-cache /usr/share/icons/hicolor
```
Expand Down Expand Up @@ -105,9 +105,7 @@ flatpak install flathub io.github.slgobinath.SafeEyes

Ensure to meet the following dependencies:

- gir1.2-appindicator3-0.1 or gir1.2-ayatanaappindicator3-0.1
- gir1.2-notify-0.7
- libappindicator-gtk3
- python3-psutil
- xprintidle (optional)
- wlrctl (wayland optional)
Expand Down
2 changes: 1 addition & 1 deletion debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Homepage: https://github.com/slgobinath/SafeEyes/

Package: safeeyes
Architecture: all
Depends: ${misc:Depends}, ${python3:Depends}, gir1.2-ayatanaappindicator3-0.1, python3 (>= 3.10.0), python3-xlib, python3-dbus, gir1.2-notify-0.7, python3-babel, x11-utils, xprintidle, alsa-utils, python3-psutil, python3-croniter, python3-packaging
Depends: ${misc:Depends}, ${python3:Depends}, python3 (>= 3.10.0), python3-xlib, gir1.2-notify-0.7, python3-babel, x11-utils, xprintidle, alsa-utils, python3-psutil, python3-croniter, python3-packaging
Description: Safe Eyes
Safe Eyes is a simple tool to remind you to take periodic breaks for your eyes. This is essential for anyone spending more time on the computer to avoid eye strain and other physical problems.
.
Expand Down
27 changes: 27 additions & 0 deletions safeeyes/config/locale/ar/LC_MESSAGES/safeeyes.po
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,33 @@ msgstr ""
msgid "RSI Prevention"
msgstr ""

msgid ""
"Please install service providing tray icons for your desktop environment."
msgstr ""

msgid "Next long break at %s"
msgstr ""

msgid "Next breaks at %s/%s"
msgstr ""

msgid "The required plugin '%s' is missing dependencies!"
msgstr ""

msgid ""
"Please install the dependencies or disable the plugin. To hide this message, "
"you can also deactivate the plugin in the settings."
msgstr ""

msgid "Click here for more information"
msgstr ""

msgid "Disable plugin temporarily"
msgstr ""

msgid "Disable permanently"
msgstr ""

# plugin/healthstats
#~ msgid "Interval to reset statistics (in hours)"
#~ msgstr "مهلة تصفير الإعدادات (ساعات)"
27 changes: 27 additions & 0 deletions safeeyes/config/locale/bg/LC_MESSAGES/safeeyes.po
Original file line number Diff line number Diff line change
Expand Up @@ -527,3 +527,30 @@ msgstr ""
# safeeyes/platform/io.github.slgobinath.SafeEyes.desktop
msgid "RSI Prevention"
msgstr ""

msgid ""
"Please install service providing tray icons for your desktop environment."
msgstr ""

msgid "Next long break at %s"
msgstr ""

msgid "Next breaks at %s/%s"
msgstr ""

msgid "The required plugin '%s' is missing dependencies!"
msgstr ""

msgid ""
"Please install the dependencies or disable the plugin. To hide this message, "
"you can also deactivate the plugin in the settings."
msgstr ""

msgid "Click here for more information"
msgstr ""

msgid "Disable plugin temporarily"
msgstr ""

msgid "Disable permanently"
msgstr ""
27 changes: 27 additions & 0 deletions safeeyes/config/locale/ca/LC_MESSAGES/safeeyes.po
Original file line number Diff line number Diff line change
Expand Up @@ -531,3 +531,30 @@ msgstr ""
# safeeyes/platform/io.github.slgobinath.SafeEyes.desktop
msgid "RSI Prevention"
msgstr ""

msgid ""
"Please install service providing tray icons for your desktop environment."
msgstr ""

msgid "Next long break at %s"
msgstr ""

msgid "Next breaks at %s/%s"
msgstr ""

msgid "The required plugin '%s' is missing dependencies!"
msgstr ""

msgid ""
"Please install the dependencies or disable the plugin. To hide this message, "
"you can also deactivate the plugin in the settings."
msgstr ""

msgid "Click here for more information"
msgstr ""

msgid "Disable plugin temporarily"
msgstr ""

msgid "Disable permanently"
msgstr ""
27 changes: 27 additions & 0 deletions safeeyes/config/locale/cs/LC_MESSAGES/safeeyes.po
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,33 @@ msgstr ""
msgid "RSI Prevention"
msgstr ""

msgid ""
"Please install service providing tray icons for your desktop environment."
msgstr ""

msgid "Next long break at %s"
msgstr ""

msgid "Next breaks at %s/%s"
msgstr ""

msgid "The required plugin '%s' is missing dependencies!"
msgstr ""

msgid ""
"Please install the dependencies or disable the plugin. To hide this message, "
"you can also deactivate the plugin in the settings."
msgstr ""

msgid "Click here for more information"
msgstr ""

msgid "Disable plugin temporarily"
msgstr ""

msgid "Disable permanently"
msgstr ""

# plugin/healthstats
#~ msgid "Interval to reset statistics (in hours)"
#~ msgstr "Interval pro resetování statistik (v hodinách)"
27 changes: 27 additions & 0 deletions safeeyes/config/locale/da/LC_MESSAGES/safeeyes.po
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,33 @@ msgstr ""
msgid "RSI Prevention"
msgstr ""

msgid ""
"Please install service providing tray icons for your desktop environment."
msgstr ""

msgid "Next long break at %s"
msgstr ""

msgid "Next breaks at %s/%s"
msgstr ""

msgid "The required plugin '%s' is missing dependencies!"
msgstr ""

msgid ""
"Please install the dependencies or disable the plugin. To hide this message, "
"you can also deactivate the plugin in the settings."
msgstr ""

msgid "Click here for more information"
msgstr ""

msgid "Disable plugin temporarily"
msgstr ""

msgid "Disable permanently"
msgstr ""

# plugin/healthstats
#~ msgid "Interval to reset statistics (in hours)"
#~ msgstr "Interval for nulstilling af statistik (i timer)"
27 changes: 27 additions & 0 deletions safeeyes/config/locale/de/LC_MESSAGES/safeeyes.po
Original file line number Diff line number Diff line change
Expand Up @@ -540,6 +540,33 @@ msgstr ""
msgid "RSI Prevention"
msgstr ""

msgid ""
"Please install service providing tray icons for your desktop environment."
msgstr ""

msgid "Next long break at %s"
msgstr ""

msgid "Next breaks at %s/%s"
msgstr ""

msgid "The required plugin '%s' is missing dependencies!"
msgstr ""

msgid ""
"Please install the dependencies or disable the plugin. To hide this message, "
"you can also deactivate the plugin in the settings."
msgstr ""

msgid "Click here for more information"
msgstr ""

msgid "Disable plugin temporarily"
msgstr ""

msgid "Disable permanently"
msgstr "Permanent deaktivieren"

# plugin/healthstats
#~ msgid "Interval to reset statistics (in hours)"
#~ msgstr "Zeit bis die Statistik zurückgesetzt wird (in Stunden)"
27 changes: 27 additions & 0 deletions safeeyes/config/locale/en_US/LC_MESSAGES/safeeyes.po
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,33 @@ msgstr "Skipped or postponed %d/%d breaks in a row"
msgid "RSI Prevention"
msgstr "RSI Prevention"

msgid ""
"Please install service providing tray icons for your desktop environment."
msgstr ""

msgid "Next long break at %s"
msgstr ""

msgid "Next breaks at %s/%s"
msgstr ""

msgid "The required plugin '%s' is missing dependencies!"
msgstr ""

msgid ""
"Please install the dependencies or disable the plugin. To hide this message, "
"you can also deactivate the plugin in the settings."
msgstr ""

msgid "Click here for more information"
msgstr ""

msgid "Disable plugin temporarily"
msgstr ""

msgid "Disable permanently"
msgstr ""

# plugin/healthstats
#~ msgid "Interval to reset statistics (in hours)"
#~ msgstr "Interval to reset statistics (in hours)"
27 changes: 27 additions & 0 deletions safeeyes/config/locale/eo/LC_MESSAGES/safeeyes.po
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,33 @@ msgstr ""
msgid "RSI Prevention"
msgstr ""

msgid ""
"Please install service providing tray icons for your desktop environment."
msgstr ""

msgid "Next long break at %s"
msgstr ""

msgid "Next breaks at %s/%s"
msgstr ""

msgid "The required plugin '%s' is missing dependencies!"
msgstr ""

msgid ""
"Please install the dependencies or disable the plugin. To hide this message, "
"you can also deactivate the plugin in the settings."
msgstr ""

msgid "Click here for more information"
msgstr ""

msgid "Disable plugin temporarily"
msgstr ""

msgid "Disable permanently"
msgstr ""

# plugin/healthstats
#~ msgid "Interval to reset statistics (in hours)"
#~ msgstr "Intertempo por restarigi statistikojn (en horoj)"
27 changes: 27 additions & 0 deletions safeeyes/config/locale/es/LC_MESSAGES/safeeyes.po
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,33 @@ msgstr ""
msgid "RSI Prevention"
msgstr ""

msgid ""
"Please install service providing tray icons for your desktop environment."
msgstr ""

msgid "Next long break at %s"
msgstr ""

msgid "Next breaks at %s/%s"
msgstr ""

msgid "The required plugin '%s' is missing dependencies!"
msgstr ""

msgid ""
"Please install the dependencies or disable the plugin. To hide this message, "
"you can also deactivate the plugin in the settings."
msgstr ""

msgid "Click here for more information"
msgstr ""

msgid "Disable plugin temporarily"
msgstr ""

msgid "Disable permanently"
msgstr ""

# plugin/healthstats
#~ msgid "Interval to reset statistics (in hours)"
#~ msgstr "Intervalo para restablecer estadísticas (en horas)"
27 changes: 27 additions & 0 deletions safeeyes/config/locale/et/LC_MESSAGES/safeeyes.po
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,33 @@ msgstr ""
msgid "RSI Prevention"
msgstr ""

msgid ""
"Please install service providing tray icons for your desktop environment."
msgstr ""

msgid "Next long break at %s"
msgstr ""

msgid "Next breaks at %s/%s"
msgstr ""

msgid "The required plugin '%s' is missing dependencies!"
msgstr ""

msgid ""
"Please install the dependencies or disable the plugin. To hide this message, "
"you can also deactivate the plugin in the settings."
msgstr ""

msgid "Click here for more information"
msgstr ""

msgid "Disable plugin temporarily"
msgstr ""

msgid "Disable permanently"
msgstr ""

# plugin/healthstats
#~ msgid "Interval to reset statistics (in hours)"
#~ msgstr "Statistika lähtestamise intervall (tundides)"
27 changes: 27 additions & 0 deletions safeeyes/config/locale/eu/LC_MESSAGES/safeeyes.po
Original file line number Diff line number Diff line change
Expand Up @@ -537,3 +537,30 @@ msgstr ""
# safeeyes/platform/io.github.slgobinath.SafeEyes.desktop
msgid "RSI Prevention"
msgstr ""

msgid ""
"Please install service providing tray icons for your desktop environment."
msgstr ""

msgid "Next long break at %s"
msgstr ""

msgid "Next breaks at %s/%s"
msgstr ""

msgid "The required plugin '%s' is missing dependencies!"
msgstr ""

msgid ""
"Please install the dependencies or disable the plugin. To hide this message, "
"you can also deactivate the plugin in the settings."
msgstr ""

msgid "Click here for more information"
msgstr ""

msgid "Disable plugin temporarily"
msgstr ""

msgid "Disable permanently"
msgstr ""
Loading

0 comments on commit 7895913

Please sign in to comment.