From b857da8cdcd70cfc6d64292cee2a5b9df7984245 Mon Sep 17 00:00:00 2001 From: Sergiotarxz Date: Tue, 29 Oct 2024 21:27:19 +0100 Subject: [PATCH] Implementing open. --- lib/Exd/Gui.pm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/Exd/Gui.pm b/lib/Exd/Gui.pm index 31bdd16..cb87352 100644 --- a/lib/Exd/Gui.pm +++ b/lib/Exd/Gui.pm @@ -124,6 +124,11 @@ sub start($self) { $self->_startup; } ); + $app->signal_connect( + open => sub($files, hint) { + $self->_activate($files->[0]->get_path); + } + ) $app->signal_connect( activate => sub { my $exd_file = shift @$arguments;