Skip to content

Perl script that automatically adds entries for mounted devices to the Fluxbox menu to unmount them using dsbmc-cli

Notifications You must be signed in to change notification settings

mrclksr/fb-unmount

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

				ABOUT

This script, called by dsbmc-cli, adds a new submenu ("Mounted Devices")
to your fluxbox menu if it doesn't exist yet. If a device was mounted, it
adds a submenu to the "Mounted Devices" menu, named after the device and
mount point. It contains two entries, one for "unmount", which executes
"dsbmc-cli -u ...", and one for "eject", which executes "dsbmc-cli -e ..".
If a device was unmounted, it removes the submenu entry for the device.

				USAGE

dsbmc-cli -L mount fb-unmount -m %d %m ';' -L unmount fb-unmount -u %d ';'

or with automount:

dsbmc-cli -a -L mount fb-unmount -m %d %m ';' -L unmount fb-unmount -u %d ';'

About

Perl script that automatically adds entries for mounted devices to the Fluxbox menu to unmount them using dsbmc-cli

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages