Rofi + Greenclip

Good old @nate reminded me of this. You can integrate your clipboard with Rofi using Greenclip.

Add the daemon to your autostart

(sleep 2; greenclip daemon) &

Then I made a keybind in my rc.xml:

<keybind key="W-p">
      <action name="Execute">
        <startupnotify>
          <enabled>false</enabled>
          <name>Greenclip</name>
        </startupnotify>
        <command>rofi -modi "clipboard:greenclip print" -show clipboard -run-command '{cmd}'</command>
      </action>
    </keybind>

Done.

2 Likes