From 2ceb1116a3dcb9471d426d57a1a76b6a1a25fa6c Mon Sep 17 00:00:00 2001 From: Benjamin Chausse <benjamin@chausse.xyz> Date: Wed, 2 Apr 2025 16:10:16 -0400 Subject: Remove legacy X11 and general maintenance --- .local/bin/dropbox-restore | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.local/bin/dropbox-restore') diff --git a/.local/bin/dropbox-restore b/.local/bin/dropbox-restore index 3c1fcc7..54157d4 100755 --- a/.local/bin/dropbox-restore +++ b/.local/bin/dropbox-restore @@ -19,13 +19,13 @@ else exit 1 fi -excluded_files=$(dropbox-cli exclude list | awk '{print $1}' | sed 's/\/$//') +excluded_files=$(maestral excluded list) if [ -z "$excluded_files" ]; then notify-send -a " Dropbox" "No files are excluded in this directory." exit 1 fi -echo "$excluded_files" | dmenu -w "$(xdotool getactivewindow)" -p " Select a file to restore:" | while read -r file; do - dropbox-cli exclude remove "$file" +echo "$excluded_files" | tofi -p " Select a file to restore:" | while read -r file; do + maestral excluded remove "$file" done -- cgit v1.2.3