parent
3e19df81d6
commit
8ed50ef280
2 changed files with 11 additions and 0 deletions
|
@ -11,6 +11,7 @@ bin = @["b64d",
|
|||
"latest",
|
||||
"randchars",
|
||||
"rofi_open_in_nvim",
|
||||
"rofi_calc",
|
||||
"saved",
|
||||
"urle",
|
||||
"urle_all",
|
||||
|
|
10
src/rofi_calc.nim
Normal file
10
src/rofi_calc.nim
Normal file
|
@ -0,0 +1,10 @@
|
|||
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
|
Loading…
Reference in a new issue