chore: add rustfmt config

This commit is contained in:
Vukašin Vojinović 2026-04-28 15:13:02 +02:00 • committed by Michael Murphy
parent b021887c6c
commit 9895bd4b43
15 changed files with 136 additions and 144 deletions

View file

@ -1,20 +1,15 @@
use cosmic::{
app::{Core, Task},
iced::runtime::core::window::Id as SurfaceId,
iced::{
self, Rectangle, Size, Subscription,
core::SmolStr,
event::{
self,
wayland::{Event as WaylandEvent, OutputEvent, SessionLockEvent},
},
keyboard::{Event as KeyEvent, Key, Modifiers},
},
widget,
};
use cosmic::app::{Core, Task};
use cosmic::iced::core::SmolStr;
use cosmic::iced::event::wayland::{Event as WaylandEvent, OutputEvent, SessionLockEvent};
use cosmic::iced::event::{self};
use cosmic::iced::keyboard::{Event as KeyEvent, Key, Modifiers};
use cosmic::iced::runtime::core::window::Id as SurfaceId;
use cosmic::iced::{self, Rectangle, Size, Subscription};
use cosmic::widget;
use cosmic_config::{ConfigSet, CosmicConfigEntry};
use cosmic_greeter_daemon::{BgSource, CosmicCompConfig, UserData};
use std::{collections::HashMap, sync::Arc};
use std::collections::HashMap;
use std::sync::Arc;
use wayland_client::protocol::wl_output::WlOutput;
pub const DEFAULT_MENU_ITEM_HEIGHT: f32 = 36.;