Development > Scripting and Bash

df to zenity --list

(1/1)

anon222:
This script displays the output of
--- Code: ---df -Th
--- End code ---
in 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
Selected item will be opened in thunar.

Navigation

[0] Message Index

Go to full version