dotfiles/bin/§calc
2024-02-19 20:37:09 +01:00

7 lines
178 B
Bash
Executable File

#!/bin/bash
function _echo(){
[ -t 0 ] && echo "$1" && exit
notify-send -i kcalc "$1" && exit
}
_echo `python3 -c 'import sys; print(eval(" ".join(sys.argv[1:])))' "$*"`