Skip to content
/ dioxus-tray-starter Public template

A minimal boilerplate for building system tray applications with Dioxus.

Notifications You must be signed in to change notification settings

fokklz/dioxus-tray-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dioxus Tray Starter

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.

Dependencies (Linux Only)

Original

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.

Arch Linux / Manjaro:

pacman -S gtk3 xdotool libappindicator-gtk3 #or libayatana-appindicator

Debian / Ubuntu:

sudo apt install libgtk-3-dev libxdo-dev libappindicator3-dev #or libayatana-appindicator3-dev

Serving the App

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

Tailwind

  1. Install npm: https://docs.npmjs.com/downloading-and-installing-node-js-and-npm
  2. Install the Tailwind CSS CLI: https://tailwindcss.com/docs/installation
  3. 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

About

A minimal boilerplate for building system tray applications with Dioxus.

Resources

Stars

Watchers

Forks