Skip to content

Commit 41368e2

Browse files
committed
Use name "Safe Eyes" more consistently
(outside of translation strings)
1 parent ce055c8 commit 41368e2

File tree

5 files changed

+8
-7
lines changed

5 files changed

+8
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ It is also available in Ubuntu PPA, Arch AUR and Python PyPI. You can choose any
5050

5151
### Ubuntu, Linux Mint and other Ubuntu Derivatives
5252

53-
The [Official PPA for Safe Eyes](https://launchpad.net/~safeeyes-team/+archive/ubuntu/safeeyes) hosts the latest (as much as allowed by dependencies) version of safeeyes **for Ubuntu 22.04 and above**.
53+
The [Official PPA for Safe Eyes](https://launchpad.net/~safeeyes-team/+archive/ubuntu/safeeyes) hosts the latest (as much as allowed by dependencies) version of Safe Eyes **for Ubuntu 22.04 and above**.
5454
```bash
5555
sudo add-apt-repository ppa:safeeyes-team/safeeyes
5656
sudo apt update

safeeyes/plugins/smartpause/ext_idle_notify.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def _run(self) -> None:
128128
# Note that this creates a new connection to the wayland compositor.
129129
# This is not an issue per se, but does mean that the compositor sees this as
130130
# a new, separate client, that just happens to run in the same process as
131-
# the SafeEyes gtk application.
131+
# the Safe Eyes gtk application.
132132
# (This is not a problem, currently. swayidle does the same, it even runs in a
133133
# separate process.)
134134
# If in the future, a compositor decides to lock down ext-idle-notify-v1 to

safeeyes/plugins/smartpause/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ def disable() -> None:
287287

288288

289289
def on_exit() -> None:
290-
"""SafeEyes is exiting."""
290+
"""Safe Eyes is exiting."""
291291
global idle_monitor
292292

293293
if idle_monitor is not None:

safeeyes/safeeyes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def do_handle_local_options(self, options):
137137
utility.cleanup_old_user_stylesheet()
138138

139139
if options.contains("version"):
140-
print(f"safeeyes {SAFE_EYES_VERSION}")
140+
print(f"Safe Eyes {SAFE_EYES_VERSION}")
141141
return 0 # exit
142142

143143
# needed for calling is_remote
@@ -347,7 +347,7 @@ def show_required_plugin_dialog(self, error: RequiredPluginException) -> None:
347347
dialog.show()
348348

349349
def disable_plugin(self, plugin_id):
350-
"""Temporarily disable plugin, and restart SafeEyes."""
350+
"""Temporarily disable plugin, and restart Safe Eyes."""
351351
config = self.config.clone()
352352

353353
for plugin in config.get("plugins"):

safeeyes/utility.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ def create_startup_entry(force=False):
480480
startup_entry = os.path.join(
481481
startup_dir_path, "io.github.slgobinath.SafeEyes.desktop"
482482
)
483-
# until SafeEyes 2.1.5 the startup entry had another name
483+
# until Safe Eyes 2.1.5 the startup entry had another name
484484
# https://github.com/slgobinath/safeeyes/commit/684d16265a48794bb3fd670da67283fe4e2f591b#diff-0863348c2143a4928518a4d3661f150ba86d042bf5320b462ea2e960c36ed275L398
485485
obsolete_entry = os.path.join(startup_dir_path, "safeeyes.desktop")
486486

@@ -568,7 +568,8 @@ def initialize_platform():
568568
# This icon is already added to the /usr/share/icons/hicolor folder.
569569
# No need to create a link but we delete potentially stale symlinks
570570
# from e.g. past runs from a virtualenv that has been removed in the
571-
# meantime to avoid ending up with hard-to-debug SafeEyes without icons.
571+
# meantime to avoid ending up with hard-to-debug Safe Eyes without
572+
# icons.
572573
if os.path.lexists(local_icon):
573574
logging.debug(f"Delete duplicate icon link at {local_icon}")
574575
delete(local_icon)

0 commit comments

Comments
 (0)