From 1d8c563eaf520a0b3f0f2d73306a788ddcdecf90 Mon Sep 17 00:00:00 2001 From: trivernis Date: Sat, 30 Mar 2024 19:56:33 +0100 Subject: [PATCH 1/2] Don't firejail exiftool --- content/config/firejail/firecfg.config | 2 +- content/local-share/scripts/pictrs.nu | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/content/config/firejail/firecfg.config b/content/config/firejail/firecfg.config index 623f8b6..2f5c870 100644 --- a/content/config/firejail/firecfg.config +++ b/content/config/firejail/firecfg.config @@ -239,7 +239,7 @@ evince-previewer evince-thumbnailer #evolution - see #3647 exfalso -exiftool +# exiftool falkon fbreader feedreader diff --git a/content/local-share/scripts/pictrs.nu b/content/local-share/scripts/pictrs.nu index 37b2d06..1dbfe5a 100755 --- a/content/local-share/scripts/pictrs.nu +++ b/content/local-share/scripts/pictrs.nu @@ -11,9 +11,9 @@ export def `main import` [ --tag-origin # tag with origin folder name ] { print "Importing" - if ("moved.csv" | path exists) == false { - "source,destination\n" | save moved.csv - } + # if ("moved.csv" | path exists) == false { + # "source,destination\n" | save moved.csv + # } let entries = ( glob $"($src | str trim --right --char '/')/**/*" | each { try { ls -l $in } catch {|e| print_line -e $"Failed to get metadata of ($e)"; []} } | where { ($in | length) > 0 } @@ -90,7 +90,7 @@ def parse_exif_timestamp [timestamp: string, offset?: any] { def archive-cp [src: string, dst: string, --link, --tag] { rsync -X -U -p -t -g -o -u --info=ALL $src $dst - $"($src),($dst)\n" | save -a moved.csv + # $"($src),($dst)\n" | save -a moved.csv if $tag { xattr -w user.xdg.tags ($src | path parse | get parent | path parse | get stem) $dst From 5cfc021582b6789f26c65783d531ea40ec33dba2 Mon Sep 17 00:00:00 2001 From: trivernis Date: Sat, 30 Mar 2024 20:01:24 +0100 Subject: [PATCH 2/2] Apply more firejail config stuff --- content/config/firejail/firecfg.config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/config/firejail/firecfg.config b/content/config/firejail/firecfg.config index 2f5c870..609e0a0 100644 --- a/content/config/firejail/firecfg.config +++ b/content/config/firejail/firecfg.config @@ -762,7 +762,7 @@ sound-juicer spectral spotify sqlitebrowser -ssh +# ssh # ssh-agent - problems on Arch with Fish shell (#1568) standardnotes-desktop start-tor-browser