Commit Graph

13 Commits

Author SHA1 Message Date
Onur Alp Akin 684d16265a
Reverse-DNS scheme for icons & Broken initialize logic fix & Add appstream (#519)
* Add appstream

* rename platform files reverse-dns format

* rename debian install file reverse-dns format

* rename usages reverse-dns format

* Respect XDG_CONFIG while initializing safeeyes

Instead of using custom variable to define target; Continue respecting XDG specs
https://github.com/slgobinath/SafeEyes/issues/432#issuecomment-883829334

* move appstream under platform

* add flathub badge

* update flathub badge & flatpak installation
2023-05-10 05:45:38 -04:00
Sebastian Pipping 06d8f491c4
Fix support for Python 3.11 (fixes #491) (#505)
Co-authored-by: tibequadorian <tibequadorian@posteo.de>
2023-04-17 20:06:11 -04:00
Anjan Momi dd16395471
Check if using wayland via WAYLAND_DISPLAY env variable (#484)
My distro does not install loginctl. I have implemented another easy
condition for wayland.

https://stackoverflow.com/questions/45536141/how-i-can-find-out-if-a-linux-system-uses-wayland-or-x11/45537237#45537237
2022-10-13 11:52:47 -04:00
Ankit Raj Pandey ad041c7855
Add smartpause support for swaywm (#464)
If the current desktop environment is sway, the smartpause plugin will
spawn a swayidle process that outputs the current time on idle and
resume. Using that info, we can determine:

1. Whether the system is currently idle (idle timestamp > active timestamp)
2. How many seconds the system has been idle (current timestamp - idle timestamp)

Since swayidle uses the KDE idle protocol, it might be possible to
extend this to Wayland KDE as well.
2021-09-29 07:53:08 -04:00
Gobinath e90d71f9db Create startup entry only at the first time or if Safe Eyes is reset 2021-01-10 21:39:39 -05:00
Gobinath a51ff8bff0
Fix icons and desktop file installation (#408) 2020-12-31 08:34:27 -05:00
Gobinath 12b2b0b2a4 Create desktop entries from the code 2020-12-25 19:22:57 -05:00
Gobinath 25f4aa626f Add cron expression to reset health stats 2020-12-20 10:06:34 -05:00
Serhii Khoma 4939d1ff6c
fix(#402): fix config files cannot be written if copied from /nix/store (#403) 2020-12-20 09:25:30 -05:00
Gobinath 2736321048
Reset breaks after being idle longer than a long break duration (#386) 2020-10-25 08:44:29 -04:00
Gobinath 33f744f21c Fix UnknownLocaleError thrown from babel 2020-07-08 18:35:51 -04:00
Gobinath 9128e8b1fb Refactor the plugin_manager.py 2020-04-15 17:52:14 -04:00
Gobinath 5c554fffc1 Refactor modules and classes 2020-03-18 08:33:11 -04:00