Git Product home page Git Product logo

rofi-calc's Introduction

rofi-calc

๐Ÿ–ฉ Do live calculations in rofi!

Build Status AUR license

A rofi plugin that uses libqalculate's qalc to parse natural language input and provide results.

Since this uses libqalculate's amazing qalc you can try natural language queries such 500 + 25% or 5000 EUR to USD or 150 to hex. It can also solve linear equations on the fly. Try 60x + 30 = 50, for instance.

Run rofi like:

rofi -show calc -modi calc -no-show-match -no-sort

It's convenient to bind it to a key combination in i3. For instance, you could use:

bindsym $mod+c exec --no-startup-id "rofi -show calc -modi calc -no-show-match -no-sort"

Compilation

Dependencies

You need rofi (version >= 1.5) as well as qalculate (version > 2.0). Some distributions ship an extremely outdated version of qalculate so you might have to compile your own.

Installation

On Arch Linux

rofi-calc in AUR

From source

rofi-calc uses autotools as build system. If installing from git, the following steps should install it:

$ autoreconf -i
$ mkdir build
$ cd build/
$ ../configure
$ make
$ make install

rofi-calc's People

Contributors

asymmetric avatar philiptrauner avatar svenstaro avatar

Watchers

 avatar  avatar  avatar

Forkers

takuyozora

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.