Add more into the tabbed software list

This commit is contained in:
Alexis Jhon Gaspar 2023-10-26 23:13:28 +08:00
parent 7c18f117aa
commit b4de31eec5

View file

@ -45,7 +45,7 @@ static Bool npisrelative = False;
#define OPENTERMSOFT(p) { \
.v = (char *[]){ "/bin/sh", "-c", \
"term='st' && titlearg='-t' && embedarg='-w' &&" \
"softlist=$(printf '%s\n' \"htop\" \"btm\" \"vim\" \"broot\" \"ncmpcpp\" \"cmatrix\" \"cava\" \"pipes.sh\" \"adelle-theme\" \"xplr\" \"ytfzf\") &&" \
"softlist=$(printf '%s\n' \"htop\" \"btm\" \"vim\" \"broot\" \"ncmpcpp\" \"cmatrix\" \"cava\" \"pipes.sh\" \"adelle-theme\" \"xplr\" \"ytfzf\" \"newsboat\" \"sfm\" \"vis\" \"sptlrx\" \"nvim\") &&" \
"printf '%s' \"$softlist\" |" \
"spmenu -l 10 -g 1 -p 'Softwares to run: ' |" \
"xargs -I {} $term $titlearg \"{}\" $embedarg $1 -e \"{}\"", \