Gestion des liens symboliques dans music-convert

This commit is contained in:
Breizh 2022-10-18 01:34:52 +02:00
parent fda9287cf5
commit a42df05a8e
4 changed files with 13 additions and 6 deletions

View file

@ -75,14 +75,14 @@ $alignc${addrs tun0}
$alignc${scroll left 39 2 1 ${v6addrs tun0 -n -s}} $alignc${scroll left 39 2 1 ${v6addrs tun0 -n -s}}
${endif} ${endif}
${color2}${font2}Capteurs $hr$font$color${voffset 2} ${color2}${font2}Capteurs $hr$font$color${voffset 2}
CPU${goto 140}${if_match ${execi 5 sensors -j | jq '."zenpower-pci-00c3"."Tdie"."temp1_input"'}>70}${color F2777A}$endif${execi 5 sensors -j | jq '."zenpower-pci-00c3"."Tdie"."temp1_input"' | cut -d. -f1}°C${color} CPU${goto 140}${if_match ${hwmon zenpower temp 1}>70}${color F2777A}$endif${hwmon zenpower temp 1}°C${color}
${color2}${font2}Carte graphique $hr${font}${color} ${color2}${font2}Carte graphique $hr${font}${color}
#${voffset 2}Usage${goto 140}${texeci 3 conky_radeon}% #${voffset 2}Usage${goto 140}${texeci 3 conky_radeon}%
#VRAM: ${texeci 3 conky_radeon vram mb}M${goto 140}${texeci 3 conky_radeon vram}% #VRAM: ${texeci 3 conky_radeon vram mb}M${goto 140}${texeci 3 conky_radeon vram}%
Temp${goto 140}${if_match ${execi 5 sensors -j | jq '."amdgpu-pci-2900"."edge"."temp1_input"'}>70}${color F2777A}$endif${execi 5 sensors -j | jq '."amdgpu-pci-2900"."edge"."temp1_input"' | cut -d. -f1}°C${color} Temp${goto 140}${if_match ${hwmon amdgpu temp 1}>70}${color F2777A}$endif${hwmon amdgpu temp 1}°C${color}
Conso${goto 140}${if_match ${execi 5 sensors -j | jq '."amdgpu-pci-2900"."PPT"."power1_average"'}>180}${color F2777A}$endif${execi 5 sensors -j | jq '."amdgpu-pci-2900"."PPT"."power1_average"' | cut -d. -f1} W${color} Conso${goto 140}${if_match ${execi 5 sensors -j | jq '."amdgpu-pci-2900"."PPT"."power1_average"'}>180}${color F2777A}$endif${execi 5 sensors -j | jq '."amdgpu-pci-2900"."PPT"."power1_average"' | cut -d. -f1} W${color}
Ventilo${goto 140}${if_match ${execi 5 sensors -j | jq '."amdgpu-pci-2900"."fan1"."fan1_input"'}>3000}${color F2777A}$endif${execi 5 sensors -j | jq '."amdgpu-pci-2900"."fan1"."fan1_input"' | cut -d. -f1} RPM${color} Ventilo${goto 140}${if_match ${hwmon amdgpu fan 1}>3000}${color F2777A}$endif${hwmon amdgpu fan 1} RPM${color}
${color2}${font2}Système $hr$font$color${voffset 2} ${color2}${font2}Système $hr$font$color${voffset 2}
Kernel${goto 140}$kernel Kernel${goto 140}$kernel

View file

@ -5,8 +5,8 @@ cscale=ewa_lanczossharp
video-sync=display-resample video-sync=display-resample
# Interpolation # Interpolation
interpolation # interpolation
tscale=oversample # tscale=oversample
# Codecs # Codecs
hwdec=auto-copy hwdec=auto-copy

View file

@ -12,6 +12,7 @@ keepbuilddeps = no
skipfailedbuild = no skipfailedbuild = no
alwaysusedynamicusers = no alwaysusedynamicusers = no
ignorearch = no ignorearch = no
gpgdir =
[review] [review]
donteditbydefault = no donteditbydefault = no
@ -41,7 +42,7 @@ privilegeescalationtool = sudo
[network] [network]
aururl = https://aur.archlinux.org aururl = https://aur.archlinux.org
newsurl = https://archlinux.fr/category/news/feed newsurl = https://archlinux.org/feeds/news/
socks5proxy = socks5proxy =
aurhttpproxy = aurhttpproxy =
aurhttpsproxy = aurhttpsproxy =

View file

@ -20,6 +20,12 @@ cd "$rootdir"
# Pour tous les sous-répertoires, à tous les niveaux # Pour tous les sous-répertoires, à tous les niveaux
for dir in **/ . for dir in **/ .
do do
# Ignorer les liens symboliques
if [[ -h "${rootdir}/${dir::-1}" ]]
then
continue
fi
# Affichage du répertoire en cours de traitement # Affichage du répertoire en cours de traitement
echo "$bold$dir$reset" echo "$bold$dir$reset"