From 1a92ded9a172d2e7e4858de3ae0f833fdc300b88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Hamal=20Dvo=C5=99=C3=A1k?= <mordae@anilinux.org> Date: Thu, 13 Mar 2025 22:31:02 +0100 Subject: [PATCH] Implement "o" to show overlay for a bit --- lazy_player/main_window.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lazy_player/main_window.py b/lazy_player/main_window.py index be7f01f..fab6894 100644 --- a/lazy_player/main_window.py +++ b/lazy_player/main_window.py @@ -324,6 +324,10 @@ class MainWindow(Gtk.ApplicationWindow, Watcher): self.player.seek_end() return True + elif keyval == Gdk.keyval_from_name("o"): + self.player.last_user_input.value = self.now + return True + elif keyval == Gdk.keyval_from_name("j"): has_subs, index, lang = self.player.cycle_subtitles()