
19 Jul
2013
19 Jul
'13
1:57 p.m.
Dear all, I would like to have a prompt command to reselect something from my clipboard history. The history is created with a simple cron job that executes xclip -o >> $HOME/.clipboard-history every second. My question is, how can I create the auto completion list from that file? I tried for many hours and finally gave up. My last try was this command: ((mod3Mask, xK_c), inputPromptWithCompl myXPConfig "clipboard" mkComplFunFromList(runProcessWithInput "cat /home/donatella/.clipboard-history") ?+ (\r -> spawn $ "echo" ++ r ++ "| xclip")) which did not work. Can anybody help me? Thanks in advance Donatella