Hey! I learned about this subreddit some time ago and saw that people were sharing their rofi scripts (in particular I saw the ExpressVPN one, props to u/sigfriedcub1990 for the really cool script) and I decided to share my script that I put together for myself some time ago, just in case other people were interested. It's not terrible feature rich as it's something I cobbled together in the span of a few nights but it fulfilled my needs. Hopefully some people also find it interesting and/or useful and either way I might try to pretty it up a little bit to add some more functionality (like customizing the paths that the wrapper searches in and maybe the ability to enter a specific path while running, if it's possible (I have some ideas but nothing tested yet)).
>No, I asked for version, as it changed slightly in last releases.
>
>How to change size, check release note:
>
>https://github.com/davatorium/rofi/releases/tag/1.6.0
thnxs you very much good sir.
No, I asked for version, as it changed slightly in last releases.
​
How to change size, check release note:
I ran into the same problem a while back. I have other modi, and I prefer to have those other modi available. Even if I open one (i.e., window switcher) I like to have the ability to switch left and right to other modi. This is the "killer feature" of using modi instead of dmenu way of doing it, IMO. Anyway, I suspect I'm "preaching to the choir" on that point. lol
What I ended up doing is just storing the state I needed in a temp file. An inelegant solution from my point of view, however I couldn't really figure out how else to do it.
Other things to try:
I am guessing you are already aware of changes in latest v1.6 (I think that is where you got $ROFI_INFO
from)?
Other than that, are you trying to do this in a shell? Take care with environment there, only the same shell (and subshells) will have the same environment. Which is why I (personally) don't like the environment variable solution.
I have a couple shell based rofi modi that I have been working on, which I plan on publishing eventually. However in the meantime I suppose I could provide an (shell based) example if you would like. But I think you might prefer to work in Python? The main takeaway is "use a temp file" though (unless someone else comes along and explains some other (better?) way of doing this).
Oh that's pretty smart, I like that you have so much control over what gets displayed in the menu this way. Is your rofi config hosted on GitHub or somewhere? Would be interesting to see how you've done it.
The only issue I can see with this method is that you don't get the application icons. I think there's a way to add them though, since you can add icons to dmenu like this. It relies on the application having an icon in your icon pack, but for programs that don't, you can always manually add an icon for it to the icon pack. Could even automate it with a script.
>rofi -show drun -theme-str 'entry { enabled: false;}'
Thank you!
Is it possible to add enable
to the property list in the docs then?
Part discussion on documentation here:https://github.com/davatorium/rofi/issues/1019
​
Most of the time there is 1.) part of the release notes 2.) an examples shipped with rofi, 3.) a blog post.
​
I am well aware that documentation sucks,my apologies. Regrettable for the foreseeable time I won't have time/energy to work on it.
https://github.com/autokey/autokey. There are multiple ways to install it, and they're detailed in the README.
I set the normal-window flag to true in rofi to no effect. (and I'm running rofi version 1.5.1)