Skip to content

Commit 95c2bcf

Browse files
committed
fix(trayicon): remove dep on xprop and wlrctl
this was accidentally added in slgobinath#558, but never needed.
1 parent b7abdb9 commit 95c2bcf

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

safeeyes/plugins/trayicon/dependency_checker.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
# You should have received a copy of the GNU General Public License
1717
# along with this program. If not, see <http://www.gnu.org/licenses/>.
1818

19-
from safeeyes import utility
2019
from safeeyes.model import PluginDependency
2120
from safeeyes.translations import translate as _
2221

@@ -48,15 +47,3 @@ def validate(plugin_config, plugin_settings):
4847
link="https://github.com/slgobinath/SafeEyes/wiki/How-to-install-backend-for-Safe-Eyes-tray-icon",
4948
retryable=True,
5049
)
51-
52-
command = None
53-
if utility.IS_WAYLAND:
54-
if utility.DESKTOP_ENVIRONMENT == "gnome":
55-
return None
56-
command = "wlrctl"
57-
else:
58-
command = "xprop"
59-
if not utility.command_exist(command):
60-
return _("Please install the command-line tool '%s'") % command
61-
else:
62-
return None

0 commit comments

Comments
 (0)