From ab0b8436345943811b3a6592909be30e9b19ee79 Mon Sep 17 00:00:00 2001 From: Ryan Brue Date: Sat, 21 Sep 2024 21:41:02 -0500 Subject: [PATCH] cargo fmt Signed-off-by: Ryan Brue --- src/app_tray/compositor/mod.rs | 6 ++---- src/app_tray/mod.rs | 5 +---- src/settings_tray/status_icons.rs | 1 - src/start_menu/mod.rs | 3 ++- 4 files changed, 5 insertions(+), 10 deletions(-) diff --git a/src/app_tray/compositor/mod.rs b/src/app_tray/compositor/mod.rs index fb453b4..f37d562 100644 --- a/src/app_tray/compositor/mod.rs +++ b/src/app_tray/compositor/mod.rs @@ -2,8 +2,7 @@ use std::collections::{HashMap, HashSet}; use cosmic_protocols::{ toplevel_info::v1::client::{ - zcosmic_toplevel_handle_v1::{ZcosmicToplevelHandleV1}, - zcosmic_toplevel_info_v1, + zcosmic_toplevel_handle_v1::ZcosmicToplevelHandleV1, zcosmic_toplevel_info_v1, }, workspace::v1::client::zcosmic_workspace_handle_v1, }; @@ -38,8 +37,7 @@ use wayland_client::{ }; use wayland_protocols_plasma::plasma_window_management::client::org_kde_plasma_window_management; use wayland_protocols_wlr::foreign_toplevel::v1::client::{ - zwlr_foreign_toplevel_handle_v1::{ZwlrForeignToplevelHandleV1}, - zwlr_foreign_toplevel_manager_v1, + zwlr_foreign_toplevel_handle_v1::ZwlrForeignToplevelHandleV1, zwlr_foreign_toplevel_manager_v1, }; use crate::app_tray::AppTrayMessage; diff --git a/src/app_tray/mod.rs b/src/app_tray/mod.rs index 1e2eef5..ec89212 100644 --- a/src/app_tray/mod.rs +++ b/src/app_tray/mod.rs @@ -5,10 +5,7 @@ use cctk::wayland_client::protocol::wl_seat::WlSeat; use compositor::{ CompositorBackend, CompositorToplevelInfo, ToplevelHandle, WaylandIncoming, WaylandOutgoing, }; -use iced::{ - window::Id, - Element, Task, -}; +use iced::{window::Id, Element, Task}; use crate::{ component_theme::{button_style, PANEL_SIZE}, diff --git a/src/settings_tray/status_icons.rs b/src/settings_tray/status_icons.rs index c372a65..5348584 100644 --- a/src/settings_tray/status_icons.rs +++ b/src/settings_tray/status_icons.rs @@ -1,4 +1,3 @@ - use crate::components::{app_icon, default_icon_path}; use super::SettingsTrayMessage; diff --git a/src/start_menu/mod.rs b/src/start_menu/mod.rs index 5980c6d..934bebe 100644 --- a/src/start_menu/mod.rs +++ b/src/start_menu/mod.rs @@ -6,7 +6,8 @@ use iced::{ row, scrollable::{Direction, Scrollbar}, text, - }, Element, Length, Task, + }, + Element, Length, Task, }; use crate::{