Open orestisfl opened 7 years ago
I reworked "parts" of rofi-power a few months ago to address some issue with default configuration options and to add some functionality with my PR #1
@okraits never came back on this topic though, so it seems he doesn't work on this project anymore
Sorry for being inactive for such a long time. I will try to have a look at both of your proposals in the near future.
Will look into this tomorrow.
Some time ago I copied the rofi-power script and made some modifications in the way it handles options: https://github.com/orestisf1993/dotfiles/blob/d94285bb77d7ff3e0fc69c66f8a1b04b7ed79df6/binaries/bin/i3-rofi-actions
It uses an associative array to store the options and a normal array to store the order. This way you can just do
add_option "Exit" "i3-msg exit"
to provide an "exit" option. The user can store his options in a script in$HOME/.config/rofi-power/
filled withadd_option
lines.I can create a pull request if you are interested.