Add rofi launch calculator
savaobay opened this issue · comments
Feature Request
Description
Can you add https://github.com/svenstaro/rofi-calc
Use Case
Makes calculations easy based on rofi without having to install additional applications
Proposed Solution
Launch rofi calculator with theme using keybinding Command+Shift+C
This plugin of rofi got this deps.
https://archlinux.org/packages/extra/x86_64/libqalculate/
https://archlinux.org/packages/extra/x86_64/rofi-calc/
Also can you check if the aur package is working?
https://archlinux.org/packages/extra/x86_64/rofi-calc/
If we can pull this off we can theme this to follow Hyde
Would like to see this themed too 😃
I see so this way we will only need qalc, right?
yes the lib
1 extra/libqalculate 5.2.0-1 [0 B 15.49 MiB] [Installed]
I forgot if you need the gui version to run updates on currency to be able to convert. I might have found a cli command to do that but I forgot
Edit: I do not have qalculate-qt installed so I guess I managed to update.
But calculations work with only the lib
That's perfect! I only got the Flatpak qt one. Didn't know the lib exposes an executable. Can I get inspiration from your script? Will add a Hyde show calc
option if anyone would like to use it.
Welcome
qalc -e
updates the currency rate
I added to my script
...
qalc -e &
sleep 1
...
to always run a quick update
Meaning minimum requirements besides rofi is libqalculate
to always run a quick update
hmm can we make it run every 24 hours by default? or every after reboot/relogin. I takes much time for me to always fetch.
Sounds like a plan
Reverted it back to default for now. Soon if we had a single executable for wallbash. We might as well generate the color scheme on the go.
(we can cater for both light and dark modes, but this might be start of having a bloated icon pack stored in the repo)
That's perfect! I only got the Flatpak qt one. Didn't know the lib exposes an executable. Can I get inspiration from your script? Will add a
Hyde show calc
option if anyone would like to use it.
I can use the Hyde show calc
option. But I was wondering how to implement this little program in my setup. So when I want to set a keybind for that, do I need to use Hyde show calc
or is it better to use something else (like the actual shell script and if so where can I find that).