|
|
|
@ -1806,6 +1806,10 @@ get_disk() { |
|
|
|
# Subtitle. |
|
|
|
# Subtitle. |
|
|
|
case "$disk_subtitle" in |
|
|
|
case "$disk_subtitle" in |
|
|
|
"name") disk_sub="${disk_info[0]}" ;; |
|
|
|
"name") disk_sub="${disk_info[0]}" ;; |
|
|
|
|
|
|
|
"dir") |
|
|
|
|
|
|
|
disk_sub="${disk_info[5]/*\/}" |
|
|
|
|
|
|
|
[[ -z "$disk_sub" ]] && disk_sub="${disk_info[5]}" |
|
|
|
|
|
|
|
;; |
|
|
|
*) disk_sub="${disk_info[5]}" ;; |
|
|
|
*) disk_sub="${disk_info[5]}" ;; |
|
|
|
esac |
|
|
|
esac |
|
|
|
|
|
|
|
|
|
|
|
@ -3844,12 +3848,15 @@ INFO: |
|
|
|
|
|
|
|
|
|
|
|
NOTE: Multiple values can be given. (--disk_show '/' '/dev/sdc1') |
|
|
|
NOTE: Multiple values can be given. (--disk_show '/' '/dev/sdc1') |
|
|
|
|
|
|
|
|
|
|
|
--disk_subtitle name/mount What information to append to the Disk subtitle. |
|
|
|
--disk_subtitle type What information to append to the Disk subtitle. |
|
|
|
|
|
|
|
Takes: name, mount, dir |
|
|
|
|
|
|
|
|
|
|
|
'name' shows the disk's name (sda1, sda2, etc) |
|
|
|
'name' shows the disk's name (sda1, sda2, etc) |
|
|
|
|
|
|
|
|
|
|
|
'mount' shows the disk's mount point (/, /mnt/Local Disk, etc) |
|
|
|
'mount' shows the disk's mount point (/, /mnt/Local Disk, etc) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
'dir' shows the basename of the disks's path. (/, Local Disk, etc) |
|
|
|
|
|
|
|
|
|
|
|
--ip_host url URL to query for public IP |
|
|
|
--ip_host url URL to query for public IP |
|
|
|
--song_shorthand on/off Print the Artist/Title on separate lines |
|
|
|
--song_shorthand on/off Print the Artist/Title on separate lines |
|
|
|
--install_time on/off Enable/Disable showing the time in Install Date output. |
|
|
|
--install_time on/off Enable/Disable showing the time in Install Date output. |
|
|
|
|