Linux Lite Forums

Development => Scripting and Bash => Topic started by: anon222 on November 05, 2014, 06:32:21 PM

Title: df to zenity --list
Post by: anon222 on November 05, 2014, 06:32:21 PM
This script displays the output of
Code: [Select]
df -Thin the zenity list. Maybe we can use this in the future for Lite Backup or some other software.
Tricky part was to display mount when there are spaces in the disk label in the same column.
Here is the script:
https://github.com/Misko-2083/furry-octo-dubstep (https://github.com/Misko-2083/furry-octo-dubstep)
Selected item will be opened in thunar.
(http://i.imgur.com/lep0KbN.png)