Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fogine/udiskie-dmenu
Manage removable devices in couple of keystrokes!
https://github.com/fogine/udiskie-dmenu
dmenu luks mount rofi udisks unmount
Last synced: 3 months ago
JSON representation
Manage removable devices in couple of keystrokes!
- Host: GitHub
- URL: https://github.com/fogine/udiskie-dmenu
- Owner: fogine
- License: mit
- Created: 2017-07-09T09:25:05.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-30T15:15:01.000Z (almost 2 years ago)
- Last Synced: 2024-10-03T12:24:04.003Z (3 months ago)
- Topics: dmenu, luks, mount, rofi, udisks, unmount
- Language: Shell
- Homepage:
- Size: 59.6 KB
- Stars: 43
- Watchers: 4
- Forks: 5
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-rofi - udiskie-dmenu - [udiskie](https://github.com/coldfix/udiskie) frontend for managing removable media (Other)
README
# udiskie-dmenu
Lightweight nodejs script which allows to manage removable devices via `dmenu` (or `rofi` or `fuzzel`).![Preview](https://github.com/fogine/udiskie-dmenu/raw/master/udiskie-dmenu.gif)
Installation
-------------------
`npm install -g udiskie-dmenu`or copy the `udiskie-dmenu` executable somewhere to `$PATH`
##### Archlinux
[udiskie-dmenu-git](https://aur.archlinux.org/packages/udiskie-dmenu-git) AUR packageFeatures
-------------------
* mount
* umount
* Supports Luks encrypted devicesDependencies
-------------------
* [udiskie](https://github.com/coldfix/udiskie) (python `udisks2` front-end)
* [rofi](https://github.com/DaveDavenport/rofi/) OR [dmenu](http://tools.suckless.org/dmenu/)
* `notify-send`Usage
-------------------### rofi
```bash
> 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' udiskie-dmenu -dmenu -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`).
### fuzzel
```bash
> UDISKIE_DMENU_LAUNCHER="fuzzel" udiskie-dmenu --dmenu
```### dmenu
```bash
> 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)