Skip to content

tkapias/bemenu-qalc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bemenu-qalc

A simple bemenu calculator using qalc (powerful and easy to use calculator, supporting complex math, conversions and more...), inspired by Nicolas RAYMOND's dmenu-calc.

preview

The preview uses my wrapper for bemenu: bemenu-orange-wrapper.

Dependencies

Optional

Installation

git clone --depth 0 https://github.com/tkapias/bemenu-qalc.git bemenu-qalc
cd bemenu-qalc
chmod +x bemenu-qalc.sh
  • Optional: Symlink to a directory in your user's path:
ln -s $PWD/bemenu-qalc.sh $HOME/.local/bin/bemenu-qalc

Features

  • History: persistant, resetable.
  • Clipboard: copy the last result.
  • Keybindings: bemenu Default + Vim-like, displayable.
  • Previous result: auto reuse, clearable.
  • Link to GUI: qalculate-gtk

Usage

bemenu-qalc relies entirely on the dynamic actions provided inline, bemenu controls and qalc syntax.

The history is stored in $HOME/.local/state/bemenu-qalc-history.txt. It is persistant and resetable inline.

Integrations

  • Binding example for bemenu-qalc in i3wm:
bindsym $mod+c exec --no-startup-id "bemenu-qalc"

About

A simple bemenu calculator using qalc.

Topics

Resources

License

Stars

Watchers

Forks

Languages