The original section did not give me a list of desktop files to be generated.
Instead it only returned the last one.
I changed the command tail -1 ; which only returns the last item in a list.
The option tail -n +1 ensures that entries from the first line down are included.
This may seem redundant, but I left it as an example for future tinkerers.
And also because the widgets do not provide a drag and drop feature for items on the desktop; as of yet.
The option tail -n +2 would hide the Desktop folder, I leave this for future imaginings.
I also added the sort command to sort entries after generating a list.
The original section did not give me a list of desktop files to be generated. Instead it only returned the last one.
I changed the command
tail -1
; which only returns the last item in a list.The option
tail -n +1
ensures that entries from the first line down are included. This may seem redundant, but I left it as an example for future tinkerers. And also because the widgets do not provide a drag and drop feature for items on the desktop; as of yet.The option
tail -n +2
would hide the Desktop folder, I leave this for future imaginings.I also added the
sort
command to sort entries after generating a list.