minor(draw): rename rnote open command config

This commit is contained in:
arne314
2025-08-04 13:07:11 +02:00
parent 64523e2db7
commit a76daa88a9
3 changed files with 3 additions and 3 deletions

View File

@@ -22,7 +22,7 @@ local default_config = {
filename = 'drawing-%Y-%m-%d-%H-%M-%S',
fileExtension = '.rnote',
fileExtensionInserted = '.rnote.svg', -- valid rnote export type
openCommand = 'xdg-open', -- see comment above for excalidraw
uriOpenCommand = 'xdg-open', -- see comment above for excalidraw
templatePath = {},
},
snippets = {

View File

@@ -42,7 +42,7 @@ end
local function launch_rnote(path, path_inserted)
print(string.format('Opening %s in Rnote', path))
utils.run_shell_command(string.format('%s %s', config_rnote.openCommand, path), false)
utils.run_shell_command(string.format('%s %s', config_rnote.uriOpenCommand, path), false)
auto_export_rnote(path, path_inserted)
end