Gestion des liens symboliques dans music-convert

This commit is contained in:
Breizh 2022-10-18 01:34:52 +02:00
parent 0709e13d8c
commit 90aa8ddad1
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}}
${endif}
${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}
#${voffset 2}Usage${goto 140}${texeci 3 conky_radeon}%
#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}
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}
Kernel${goto 140}$kernel

View file

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

View file

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

View file

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