This project was created using the dioxus cli. It is a bare-bones project that includes a single main.rs
file and a few assets.
All files are "original"
the only thing modified is the main.rs
file to run the tray extension.
On Linux, gtk
, libxdo
is used to make the predfined Copy
, Cut
, Paste
and SelectAll
menu items work and libappindicator
or libayatnat-appindicator
are used to create the tray icon, so make sure to install them on your system.
pacman -S gtk3 xdotool libappindicator-gtk3 #or libayatana-appindicator
sudo apt install libgtk-3-dev libxdo-dev libappindicator3-dev #or libayatana-appindicator3-dev
Ensure you have the CLI installed
Run the following command in the root of the project to start developing with the default platform:
dx serve
To run for a different platform, use the --platform platform
flag. E.g.
dx serve --platform desktop
- Install npm: https://docs.npmjs.com/downloading-and-installing-node-js-and-npm
- Install the Tailwind CSS CLI: https://tailwindcss.com/docs/installation
- Run the following command in the root of the project to start the Tailwind CSS compiler:
npx tailwindcss -i ./input.css -o ./assets/tailwind.css --watch