diff --git a/.config/pikaur.conf b/.config/pikaur.conf index eba3c8b..7d86763 100644 --- a/.config/pikaur.conf +++ b/.config/pikaur.conf @@ -40,6 +40,8 @@ warnaboutpackageupdates = sudoloopinterval = 30 pacmanpath = pacman privilegeescalationtool = sudo +privilegeescalationtarget = pikaur +userid = 0 [network] aururl = https://aur.archlinux.org diff --git a/.config/ranger/rc.conf b/.config/ranger/rc.conf index a714e2b..48dbf3d 100644 --- a/.config/ranger/rc.conf +++ b/.config/ranger/rc.conf @@ -321,6 +321,7 @@ set nested_ranger_warning true # setlocal path=~/downloads sort mtime # setlocal path=~/mnt preview_max_size 52428800 setlocal path=~/mnt preview_directories false +setlocal path=~/mnt/seedbox sort_directories_first false setlocal path=~/cache/ranger use_preview_script false setlocal path=~/cache/ranger preview_images false @@ -368,7 +369,8 @@ map scroll_preview -1 map ? help map W display_log map w taskview_open -map S shell $SHELL +#map S shell $SHELL +map S shell fish map : console map ; console diff --git a/.local/bin/music-convert b/.local/bin/music-convert index 25587c0..ab9002a 100755 --- a/.local/bin/music-convert +++ b/.local/bin/music-convert @@ -44,19 +44,19 @@ do continue fi + # Définition du fichier de destination + dstfile="${file%.*}.opus" + + # Passe les fichiers déjà traités + if [[ "${dstdir}${dstfile}" -nt "${file}" ]] + then + echo "[${blue}SKIP${reset}] ${dir#./}$file" + continue + fi + # Converti uniquement les vidéos if [[ "$(file --mime-type -b -e ascii -e compress -e tar -e cdf "$file")" =~ video/ ]] then - # Définition du fichier de destination - dstfile="${file%.*}.opus" - - # Passe les fichiers déjà traités - if [[ "${dstdir}${dstfile}" -nt "${file}" ]] - then - echo "[${blue}SKIP${reset}] ${dir#./}$file" - continue - fi - # Parallélisation des conversions declare -a running