Closed The-Compiler closed 4 years ago
This is a wrapper script I use:
#!/bin/sh
UDISKIE_DMENU_LAUNCHER="rofi" udiskie-dmenu -matching regex -dmenu -i -kb-accept-alt "" -kb-custom-1 "Shift+Return" -no-custom -multi-select -theme $HOME/.dotfiles/rofi/dmenu_vertical_theme.css
if that doesn't work with the most recent version of rofi, then there were major changes that broke the compatibility and I will fix it... let me know..
UDISKIE_DMENU_LAUNCHER="rofi -dmenu" udiskie-dmenu
is not valid though, UDISKIE_DMENU_LAUNCHER
takes the name of the executable only
When I try to run UDISKIE_DMENU_LAUNCHER=rofi udiskie-dmenu like mentioned in the README,
rofi expects at least -dmenu
flag as the example in readme includes..
Closing this. Please feel free to reopen if it still doesn't work for you.
Thanks for the quick reply! That makes sense and does indeed work.
What confused me is that the readme also says:
The following example redefines the custom shortcut to Shift+Enter:
UDISKIE_DMENU_LAUNCHER='rofi -kb-accept-alt "" -kb-custom-1 "Shift+Return"'
That'd be just as wrong then, no? That doesn't work for me, and it does suggest that arguments can be part of UDISKIE_DMENU_LAUNCHER
.
@The-Compiler You are right, fixed, thanks.
When I try to run
UDISKIE_DMENU_LAUNCHER=rofi udiskie-dmenu
like mentioned in the README, I get:Normally I'd run
rofi -dmenu
for its dmenu mode, and the readme suggests that flags can be passed viaUDISKIE_DMENU_LAUNCHER
- however, that doesn't actually work, because the string in there doesn't seem to be split/interpreted in any way: