Skip to content

Mounting and unmounting linux devices as a user with dmenu and pmount.

License

Notifications You must be signed in to change notification settings

m0rphism/haskell-dmenu-pmount

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

haskell-dmenu-pmount

Mounting and unmounting linux devices as a user with dmenu and pmount.

dmenu-pmount screenshot

Runtime Dependencies: dmenu or dmenu2, and pmount.

Installation: Either get the sources from this repository, or from hackage.

Usage:

  • dmenu-pmount [OPTIONS] [-- DMENUOPTIONS]

    Spawns a dmenu process to let the user select devices from /dev to mount with pmount or unmount with pumount.

    All arguments, after the first -- argument, are directly passed to dmenu.

Options:

  • -u, --unmount

    Unmount instead of mount devices.

  • -f, --filter <DevPrefixList>

    Only display devices whose filenames have a certain prefix.

    Example: dmenu-pmount -f sd cdrom only displays devices beginning with sd or cdrom, e.g. /dev/sda2.

  • -k, --kilo <Natural>

    How much byte are represented by 1 KB? Usually 1024 (default) or 1000.

The application is build with the dmenu Haskell bindings, which support customizing the dmenu commandline options in a configuration file.

About

Mounting and unmounting linux devices as a user with dmenu and pmount.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published