urxvt-eval(1)
π NAME π
eval β evaluate arbitrary perl code using actions. This is the urxvt-eval manual page, bestie, and itβs giving tiny-page-big-power energy β¨
π EXAMPLES π
okay so here are the examples, copy-paste ready and everything:
URxvt.keysym.M-c: eval:selection_to_clipboard
URXvt.keysym.M-v: eval:paste_clipboard
URxvt.keysym.M-V: eval:paste_primary
URxvt.keysym.M-Up: eval:scroll_up 1
URxvt.keysym.M-Down: eval:scroll_down 1
URxvt.keysym.M-Home: eval:scroll_to_top
URxvt.keysym.M-End: eval:scroll_to_bottom
π¦ DESCRIPTION π¦
So this adds support for evaluating arbitrary perl code using actions in keysym resources. If a keysym action takes the form "eval:STRING", the specified STRING is evaluated as a Perl expression. No cap: the full urxvt API is available, but the following methods are also provided for usersβ convenience, because they implement basic actions:
scroll_up $countβ scroll up or down by$countlines or pages.scroll_up_pages $countβ scroll up or down by$countlines or pages.scroll_down $countβ scroll up or down by$countlines or pages.scroll_down_pages $countβ scroll up or down by$countlines or pages.scroll_to_topβ scroll to the top of the scrollback.scroll_to_bottomβ scroll to the bottom of the scrollback.selection_to_clipboardβ copy the selection to theCLIPBOARD.paste_primaryβ paste the value of thePRIMARYselection.paste_clipboardβ paste the value of theCLIPBOARDselection.
okay bye bestie ππ«Ά this was urxvt-eval(1) from RXVT-UNICODE, version 9.31, dated 2023-12-02. slay responsibly π
β¨
π¦ where this page comes from
- opensuse-leap 16.0: rxvt-unicode 9.31-bp160.1.13 Β· GPL-3.0-or-later
- opensuse-leap 16.0: rxvt-unicode 9.31-bp160.1.13 Β· GPL-3.0-or-later
- opensuse-leap 16.0: rxvt-unicode 9.31-bp160.1.13 Β· GPL-3.0-or-later
- opensuse-leap 16.0: rxvt-unicode 9.31-bp160.1.13 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms