Add progress bar to Thunar actions

This commit is contained in:
herypt 2021-05-16 17:39:01 +02:00
parent b1d8302b2b
commit df928ba7cb
No known key found for this signature in database
GPG Key ID: BF96198750F33955
2 changed files with 4 additions and 6 deletions

View File

@ -13,12 +13,10 @@ shift
# copy and move handle a list of files where other actions don't
case "$action" in
copy)
#shellcheck disable=SC2016
qvm-copy-to-vm '$default' "$@" | zenity --notification --text="Copying files..." --timeout 3
/usr/lib/qubes/qvm-copy-to-vm.gnome "$@"
;;
move)
#shellcheck disable=SC2016
qvm-move-to-vm '$default' "$@" | zenity --notification --text="Moving files..." --timeout 3
/usr/lib/qubes/qvm-move-to-vm.gnome "$@"
;;
img)
for file in "$@"

View File

@ -707,7 +707,9 @@ rm -f %{name}-%{version}
/usr/lib/qubes/qopen-in-vm
/usr/lib/qubes/qrun-in-vm
/usr/lib/qubes/qubes-trigger-sync-appmenus.sh
/usr/lib/qubes/qvm-copy-to-vm.gnome
/usr/lib/qubes/qvm-copy-to-vm.kde
/usr/lib/qubes/qvm-move-to-vm.gnome
/usr/lib/qubes/qvm-move-to-vm.kde
/usr/lib/qubes/tar2qfile
/usr/lib/qubes/vm-file-editor
@ -774,8 +776,6 @@ rm -f %{name}-%{version}
%endif
%files nautilus
/usr/lib/qubes/qvm-copy-to-vm.gnome
/usr/lib/qubes/qvm-move-to-vm.gnome
/usr/share/nautilus-python/extensions/qvm_copy_nautilus.py*
/usr/share/nautilus-python/extensions/qvm_move_nautilus.py*
/usr/share/nautilus-python/extensions/qvm_dvm_nautilus.py*