udiskie-dmenu

0.5.0 • Public • Published

udiskie-dmenu

Lightweight nodejs script which allows to manage removable devices via dmenu (or rofi).

Preview

Installation

npm install -g udiskie-dmenu

or copy the udiskie-dmenu executable somewhere to $PATH

Archlinux

udiskie-dmenu-git AUR package

Features

  • mount
  • umount
  • Supports Luks encrypted devices

Dependencies

Usage

rofi

    > UDISKIE_DMENU_LAUNCHER="rofi" udiskie-dmenu -matching regex -dmenu -i -no-custom -multi-select

User defined shortcut -kb-custom-1 (defaults to Alt+1) will detach drive (umount) by e.g. powering down its physical port.
The following example redefines the custom shortcut to Shift+Enter:

UDISKIE_DMENU_LAUNCHER='rofi -kb-accept-alt "" -kb-custom-1 "Shift+Return"'

You must ensure that the key combination isn't already binded to other operation (in this case -kb-accept-alt).

dmenu

    > udiskie-dmenu [dmenu-options]

system notifications

To be notified about mount & umount device status, run udiskie as a daemon when system starts (see man udiskie for more info)

Readme

Keywords

none

Package Sidebar

Install

npm i udiskie-dmenu

Weekly Downloads

10

Version

0.5.0

License

MIT

Unpacked Size

3.43 kB

Total Files

4

Last publish

Collaborators

  • fogine