nutils/src/rofi_calc.nim
Rasmus Moorats 8ed50ef280
Some checks failed
/ build (push) Has been cancelled
add rofi_calc
2024-02-08 11:21:49 +02:00

10 lines
259 B
Nim

import std/osproc
let rofi = startProcess(
"rofi",
args = ["-show", "calc", "-modi", "calc", "-no-show-match", "-calc-command-history",
"-no-sort", "-calc-command", "printf '%s' '{result}' | wl-copy"],
options = {poUsePath}
)
rofi.close