default apps config entries, revert focus property on root shell
Lint & Format (JS/TS) / lint-format (pull_request) Successful in 11s
Python / lint-format (pull_request) Successful in 20s
Python / test (pull_request) Successful in 28s
Lint & Format (Rust) / lint-format (pull_request) Successful in 1m10s

This commit is contained in:
2026-06-10 19:29:20 +02:00
parent 6b77ebd9be
commit e90f1facb7
5 changed files with 25 additions and 9 deletions
+7 -8
View File
@@ -28,26 +28,25 @@ Item {
let cmd = [];
switch (type) {
case "image":
cmd = [Config.options.apps.imageViewer, filePath];
cmd = [Config.general.apps.image, filePath];
break;
case "video":
cmd = [Config.options.apps.videoPlayer, filePath];
cmd = [Config.general.apps.playback, filePath];
break;
case "audio":
cmd = [Config.options.apps.audioPlayer, filePath];
cmd = [Config.general.apps.audio, filePath];
break;
case "archive":
cmd = [Config.options.apps.archiveManager, filePath];
cmd = [Config.general.apps.archiver, filePath];
break;
case "directory":
cmd = [Config.options.apps.fileManager, filePath];
cmd = [Config.general.apps.explorer, filePath];
break;
case "code":
case "text":
cmd = [Config.options.apps.textEditor, filePath];
cmd = [Config.general.apps.editor, filePath];
break;
case "document":
cmd = [Config.options.apps.documentViewer, filePath];
cmd = [Config.general.apps.document, filePath];
break;
default:
cmd = ["xdg-open", filePath];