We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e88001 commit f9f90cdCopy full SHA for f9f90cd
src/ui/appearance.rs
@@ -1,12 +1,10 @@
1
-use std::process::Command;
2
-
3
use crate::ui::window::AppMsg;
4
use crate::utils::parse_dconf;
5
-use relm4::adw::{AccentColor, prelude::*};
6
-use relm4::gtk;
7
-use relm4::prelude::*;
8
9
-use gtk::gio::Settings;
+use relm4::{
+ adw::{AccentColor, prelude::*},
+ gtk::{self, gio::Settings},
+ prelude::*,
+};
10
11
#[derive(Debug, Clone)]
12
pub struct AppearanceSettings {
@@ -52,16 +50,6 @@ impl From<String> for AccentColorWrapped {
52
50
}
53
51
54
55
-#[derive(Debug)]
56
-struct MyColorButton {
57
- value: AccentColorWrapped,
58
-}
59
60
61
-enum MyColorButtonOutput {
62
- SendPick(AccentColorWrapped),
63
64
65
#[derive(Debug, Clone, Copy, PartialEq)]
66
pub enum AppearanceStyle {
67
Default,
0 commit comments