Skip to content

piping output fromother applications, eg rofi-calc #164

Answered by stibinator
stibinator asked this question in Q&A
Discussion options

You must be logged in to vote

Reading the source (I don't know haskell, so I'm guessing) it looks like—confusingly—using print with an argument is the way to do it

→ ~ greenclip print "foo"
→ ~ greenclip print
foo
[…]

for example

→ ~ greenclip print "$(qalc -t pi/4)"
→ ~ greenclip print
0.7853981634
[…]

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by stibinator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant