/menu-calc

BETTER VERSION HERE >

Primary LanguageShellMIT LicenseMIT

menu calc

Calculator for Rofi/dmenu(2)
Screencast

#####usage: menu calc uses bc as the backend and will accept any operations bc is able to do
= -h show help
= 4+4
= (4+2)/(4+3)
= 4^2
= sqrt(4)
= c(2)

The answer can me used for further calculations inside Rofi/dmenu

If launched outside of Rofi/dmenu the expression may need quotation marks

#####dependencies bc
xclip
Rofi or dmenu(2)