okraits / rofi-tools

Tools for and with rofi (https://github.com/DaveDavenport/rofi)
109 stars 12 forks source link

Improve rofi-power's OPTIONS configuration #2

Open orestisfl opened 7 years ago

orestisfl commented 7 years ago

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 with add_option lines.

I can create a pull request if you are interested.

dennisschuerholz commented 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

okraits commented 7 years ago

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.

okraits commented 6 years ago

Will look into this tomorrow.