mirror of
https://github.com/arabianq/pipewire-soundpad.git
synced 2026-06-19 12:13:32 +00:00
15 lines
271 B
Rust
15 lines
271 B
Rust
mod gui;
|
|
|
|
use anyhow::Result;
|
|
use rust_i18n::i18n;
|
|
|
|
i18n!("locales", fallback = "en");
|
|
|
|
#[tokio::main]
|
|
async fn main() -> Result<()> {
|
|
let locale = sys_locale::get_locale().unwrap_or(String::from("en-US"));
|
|
rust_i18n::set_locale(&locale);
|
|
|
|
gui::run().await
|
|
}
|