-
Need it to run in the bg and listen to key combinations @least on linux:
-
- kernel module that makes it possible to emulate input devices from userspace.
- By writing to /dev/uinput (or /dev/input/uinput) device, a process can create a virtual input device with specific capabilities.
- Once this virtual device is created, the process can send events through it, that will be delivered to userspace and in-kernel consumers.
-
- evdev -> an event device, it generalizes raw input events from device drivers and makes them available through character devices in the /dev/input/ directory 1
- libevdev is a wrapper library for evdev devices.
- It moves the common tasks when dealing with evdev devices into a library and provides a library interface to the callers, thus avoiding erroneous ioctls, etc.
- ioctls -> Input Output Control Codes, used for communication between user-mode applications and drivers, or for communication internally among drivers in a stack. 2
- The Front End What do i need the front end for?
- Get the file name we writing to.
- Switch among notes or create a new one
- A quick review(?) {Not inside a new instance of nvim but hovering in a small window if possible?}
Solution: Should probably resort to an external dependency instead of communicating raw with the Wayland. Use rofi? tofi? dmenu (nah its for X11 not wayland)
[!TODO] Instead of using dependencies like wl-clipboard and tofi, future versions will be based on Gtk(probably?), eliminating the mentioned, completely unrelated, dependencies.