From 76f764eff5c91f78790092eb391bbb31e77f2c46 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 20 Jul 2024 19:13:45 +0200 Subject: Disable hotkeys on hyprland because of a hyprland desktop portal bug with global shortcuts that crashes the desktop portal --- TODO | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'TODO') diff --git a/TODO b/TODO index 46cb5eb..89c8666 100644 --- a/TODO +++ b/TODO @@ -30,4 +30,6 @@ Gray out monitor capture on intel if plane is compressed. Show the user to deskt Look at showmethekey https://github.com/AlynxZhou/showmethekey to see how to do global hotkeys without x11/wayland. -Detect when using hyprland to show a popup when pressing "register hotkeys" to explain to the user to run `hyprctl globalshortcuts` and how to bind that to keys with for example `bind = SUPERSHIFT, R, global, :gpu_screen_recorder_start_recording` \ No newline at end of file +A single flatpak can only be installed either system-wide or user, so there can be a check if it's installed system-wide or user and it will only match one. With this information we can guaranteed know the flatpak directory of the running gpu screen recorder instance. The command `flatpak info -l com.dec05eba.gpu_screen_recorder` can also be used and is available for all flatpak users. + +Re-renable hotkeys on hyprland after it's fixed in the hyprland desktop portal. \ No newline at end of file -- cgit v1.2.3