-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move the wayland backend into the app_tray module
This PR moves the wayland backend and the app tray config into the AppTray struct in the app_tray module. This is much cleaner than having it in the overarching Panel struct. Also looking into turning the AppTray struct into an iced component, as it's relatively self-contained, and should only need a config passed into it Signed-off-by: Ryan Brue <ryanbrue.dev@gmail.com>
- Loading branch information
Showing
7 changed files
with
174 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,8 @@ | ||
#[derive(Debug, Clone)] | ||
pub struct PanelConfig { | ||
pub favorites: Vec<String>, | ||
} | ||
pub struct PanelConfig {} | ||
|
||
impl<'a> Default for PanelConfig { | ||
fn default() -> Self { | ||
Self { | ||
favorites: vec![ | ||
"com.system76.CosmicTerm".to_string(), | ||
"org.mozilla.firefox".to_string(), | ||
"org.kde.discover".to_string(), | ||
], | ||
} | ||
Self {} | ||
} | ||
} |
Oops, something went wrong.