How mlohajner/cfb works
CFB bridges terminal file commands and graphical file managers through the system clipboard. The documented workflow covers terminal copy/cut, then paste into a file manager, and the reverse: file-manager copy/cut followed by terminal paste. The README also documents automatic X11/Wayland selection and filesystem copy/move behavior. No source excerpts were provided, so links between command scripts and the shared library are unverified; those are shown as dashed.
Main entry points: cfb-paste Paste command · cfb-copy Copy command · cfb-cut Cut command · cfb-library.sh Clipboard library
Components 9
Terminal commands
- Copy command
bin/cfb-copy - Cut command
bin/cfb-cut - Paste command
bin/cfb-paste
Clipboard bridge
- Clipboard library
lib/cfb-library.sh
External endpoints
- System clipboard
- File manager
- Local filesystem
- xclip / wl-clipboard
Other components
- Terminal user
Connections 13
- Terminal user → Copy command: runs copy
README.md - Terminal user → Cut command: runs cut
README.md - Terminal user → Paste command: runs paste
README.md - Copy command → System clipboard: writes file list
README.md - Cut command → System clipboard: writes file list
README.md - File manager → System clipboard: reads selection
README.md - File manager → System clipboard: writes selection
README.md - Paste command → System clipboard: reads file list
README.md - Paste command → Local filesystem: copies or moves
README.md - xclip / wl-clipboard → System clipboard: accesses clipboard
README.md - Copy command → Clipboard library: may delegate
- Cut command → Clipboard library: may delegate
- Paste command → Clipboard library: may delegate