Commit eb994681 authored by HS-157's avatar HS-157
Browse files

Modification mineur

parent eae17693
......@@ -133,7 +133,7 @@ URxvt*matcher.button: 1
! URxvt*tab-fg: colour
! URxvt*tabbar-bg: colour
! URxvt*tabbar-fg: colour
URxvt*url-launcher: /usr/bin/xdg-open
URxvt*url-launcher: /home/hs-157/.ouverture_lien.sh
! blue
......
[DownloadSong]
full_text=Download current song
command=$HOME/.bin/songDownload.py downloadCurrentSong
min_width=button=1
color=#77B5FE
#[DownloadSong]
#full_text=Download current song
#command=$HOME/.bin/songDownload.py downloadCurrentSong
#min_width=button=1
#color=#77B5FE
[lockScreen]
full_text=Lock screen
command=i3lock
min_width=button=1
color=#77B5FE
#[lockScreen]
#full_text=Lock screen
#command=i3lock
#min_width=button=1
#color=#77B5FE
#[youtube-dl]
#full_text=Youtube-dl
#command=notify-send "Téléchargement de la vidéo" && youtube-dl -q -o $HOME/Téléchargements/youtube-dl/"%(title)s.%(ext)s" -x --audio-format mp3 -k $(xsel -o) && notify-send "Téléchargement fini !"
#min_width=button=1
#color=#77B5FE
[youtube-dl]
full_text=Youtube-dl
command=notify-send "Téléchargement de la vidéo" && youtube-dl -q -o $HOME/Téléchargements/youtube-dl/"%(title)s.%(ext)s" -x --audio-format mp3 -k $(xsel -o) && notify-send "Téléchargement fini !"
[Nautilus]
full_text=Nautilus
command=nautilus
min_width=button=1
color=#77B5FE
......
......@@ -39,7 +39,7 @@ menu_multiple() # Fonction pour afficher un menu à choix mu
[[ "$num" != *[![:digit:]]* ]] && (( num > 0 && num <= ${#file[@]} )) || { #
msg="Option invalide : $num"; continue #
} #
if [ $num == ${#file[@]} ];then #
if [ "$num" == "${#file[@]}" ];then #
exit #
fi #
((num--)); msg="${file[num]} a été ${choices[num]:+dé}selectionné" #
......@@ -49,7 +49,7 @@ menu_multiple() # Fonction pour afficher un menu à choix mu
#
msg="Rien !" #
#
for i in ${!file[@]}; do #
for i in "${!file[@]}"; do #
[[ "${choices[i]}" ]] && { tableau[${#tableau[@]}]="${file[i]}"; msg="${tableau[*]}"; } #
done #
#
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment