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
This commit is contained in:
Hristo Karamanliev
2024-09-03 11:52:30 +03:00
committed by GitHub
parent 3d73f6428f
commit 88bdcbe806
3 changed files with 3 additions and 3 deletions

View File

@@ -112,8 +112,8 @@ const Shortcuts = () => {
tooltip_text: shortcut.tooltip, tooltip_text: shortcut.tooltip,
class_name: className, class_name: className,
on_primary_click: (_, event) => { on_primary_click: (_, event) => {
App.closeWindow("dashboardmenu");
if (shortcut.command === "settings-dialog") { if (shortcut.command === "settings-dialog") {
App.closeWindow("dashboardmenu");
App.toggleWindow("settings-dialog"); App.toggleWindow("settings-dialog");
} else if (shortcut.command === "record") { } else if (shortcut.command === "record") {
if (isRecording.value === true) { if (isRecording.value === true) {

View File

@@ -45,7 +45,7 @@ stopRecording() {
-a "Screen Recorder" \ -a "Screen Recorder" \
-t 10000 \ -t 10000 \
-u normal \ -u normal \
--action="scriptAction:-dolphin $outputDir=Directory" \ --action="scriptAction:-xdg-open $outputDir=Directory" \
--action="scriptAction:-xdg-open $recentFile=Play" --action="scriptAction:-xdg-open $recentFile=Play"
} }

View File

@@ -31,6 +31,6 @@ if eval "$command"; then
-a "Grimblast" \ -a "Grimblast" \
-t 7000 \ -t 7000 \
-u normal \ -u normal \
--action="scriptAction:-dolphin $outputDir=Directory" \ --action="scriptAction:-xdg-open $outputDir=Directory" \
--action="scriptAction:-xdg-open $recentFile=View" --action="scriptAction:-xdg-open $recentFile=View"
fi fi