From 88bdcbe806d12310bddd7661a597d67960170cc0 Mon Sep 17 00:00:00 2001 From: Hristo Karamanliev Date: Tue, 3 Sep 2024 11:52:30 +0300 Subject: [PATCH] Fix record screen selection popup not displaying (#217) * fix record screen selection popup not displaying * fix hard coded file manager that opens the dir * fix hard coded file manger in snapshot.sh --- modules/menus/dashboard/shortcuts/index.ts | 2 +- services/screen_record.sh | 2 +- services/snapshot.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/menus/dashboard/shortcuts/index.ts b/modules/menus/dashboard/shortcuts/index.ts index fb30ffa..59bb749 100644 --- a/modules/menus/dashboard/shortcuts/index.ts +++ b/modules/menus/dashboard/shortcuts/index.ts @@ -112,8 +112,8 @@ const Shortcuts = () => { tooltip_text: shortcut.tooltip, class_name: className, on_primary_click: (_, event) => { - App.closeWindow("dashboardmenu"); if (shortcut.command === "settings-dialog") { + App.closeWindow("dashboardmenu"); App.toggleWindow("settings-dialog"); } else if (shortcut.command === "record") { if (isRecording.value === true) { diff --git a/services/screen_record.sh b/services/screen_record.sh index 09e7a9c..87544e1 100755 --- a/services/screen_record.sh +++ b/services/screen_record.sh @@ -45,7 +45,7 @@ stopRecording() { -a "Screen Recorder" \ -t 10000 \ -u normal \ - --action="scriptAction:-dolphin $outputDir=Directory" \ + --action="scriptAction:-xdg-open $outputDir=Directory" \ --action="scriptAction:-xdg-open $recentFile=Play" } diff --git a/services/snapshot.sh b/services/snapshot.sh index 3cbaa6d..0aa0697 100755 --- a/services/snapshot.sh +++ b/services/snapshot.sh @@ -31,6 +31,6 @@ if eval "$command"; then -a "Grimblast" \ -t 7000 \ -u normal \ - --action="scriptAction:-dolphin $outputDir=Directory" \ + --action="scriptAction:-xdg-open $outputDir=Directory" \ --action="scriptAction:-xdg-open $recentFile=View" fi