You are not logged in.

#1 2016-02-13 08:03:46

flecha
Member
Registered: 2009-01-16
Posts: 26

Cliptopia (TUI clipboard helper)

Hello!

I made a small Python tool to help handle clipboard.
Sharing it here in case anyone wants to try or use it as inspiration for new code.
It's aimed for people who uses X but like terminal applications.

Current features:

- Clipboard history daemon accessible through dbus
- Clipboard history display and selection (using Python Urwid)
- Smart copy&paste (automatically handling of `Ctrl+Shift+c|v` for terminals and `Ctrl+c|v` for other applications)

Using current example interface (in i3) it can look like this:
(I use a floating window, but you can of course use a non-floating one)

https://raw.githubusercontent.com/andre … xample.png


Repo both on Gitlab and Github. smile
No AUR package yet. Maybe when it gets a little more mature and if proves to be useful for anyone else.
The code has more deps than I would like, but... =/
More info on readme.

And I use the opportunity to ask: is it really safe to expose users clipboard through DBus?





--  read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_code [jwr] --

Last edited by flecha (2016-02-13 08:07:40)

Offline

Board footer

Powered by FluxBB