Compare commits
12 commits
e65b97abb8
...
1dda5a558e
| Author | SHA1 | Date | |
|---|---|---|---|
| 1dda5a558e | |||
| 11e229fa44 | |||
|
|
84f9dcbe0e | ||
|
|
4a22c9f3dc | ||
| 647a672b25 | |||
| d038b6f89f | |||
| e3d5e4668f | |||
| 0ae782638c | |||
| 7b05b2e768 | |||
| 267fcd80b3 | |||
| 56230f0ade | |||
| 934db82775 |
11 changed files with 1327 additions and 245 deletions
1484
Cargo.lock
generated
1484
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
52
Cargo.toml
52
Cargo.toml
|
|
@ -17,18 +17,19 @@ cosmic-comp-config = { path = "cosmic-comp-config", features = [
|
|||
"libdisplay-info",
|
||||
"output",
|
||||
] }
|
||||
cosmic-config = { git = "https://github.com/pop-os/libcosmic", features = [
|
||||
cosmic-config = { path = "../libcosmic/cosmic-config", features = [
|
||||
"async-std",
|
||||
"calloop",
|
||||
"macro",
|
||||
] }
|
||||
cosmic-protocols = { git = "https://github.com/pop-os/cosmic-protocols", rev = "160b086", default-features = false, features = [
|
||||
cosmic-protocols = { path = "../cosmic-protocols", default-features = false, features = [
|
||||
"server",
|
||||
] }
|
||||
cosmic-settings-config = { git = "https://github.com/pop-os/cosmic-settings-daemon" }
|
||||
cosmic-settings-daemon-config = { git = "https://github.com/pop-os/cosmic-settings-daemon", features = [
|
||||
cosmic-settings-config = { path = "../cosmic-settings-daemon/config" }
|
||||
cosmic-settings-daemon-config = { path = "../cosmic-settings-daemon/cosmic-settings-daemon-config", features = [
|
||||
"greeter",
|
||||
] }
|
||||
cosmic-text = { git = "https://github.com/pop-os/cosmic-text.git", features = [
|
||||
cosmic-text = { path = "../cosmic-text", features = [
|
||||
"shape-run-cache",
|
||||
] }
|
||||
libdisplay-info = "0.3.0"
|
||||
|
|
@ -39,10 +40,14 @@ i18n-embed = { version = "0.16", features = [
|
|||
"desktop-requester",
|
||||
] }
|
||||
i18n-embed-fl = "0.10"
|
||||
iced_tiny_skia = { git = "https://github.com/pop-os/libcosmic" }
|
||||
iced_tiny_skia = { path = "../libcosmic/iced/tiny_skia" }
|
||||
indexmap = "2.13"
|
||||
keyframe = "1.1.1"
|
||||
libcosmic = { git = "https://github.com/pop-os/libcosmic", default-features = false }
|
||||
cosmic = { package = "libcosmic-yoda", path = "../libcosmic", default-features = false, features = [
|
||||
"async-std",
|
||||
"wayland",
|
||||
"multi-window",
|
||||
] }
|
||||
libsystemd = { version = "0.7", optional = true }
|
||||
log-panics = { version = "2", features = ["with-backtrace"] }
|
||||
ordered-float = "5.1"
|
||||
|
|
@ -138,9 +143,36 @@ inherits = "release"
|
|||
[profile.release]
|
||||
lto = "fat"
|
||||
|
||||
[patch."https://github.com/pop-os/cosmic-protocols"]
|
||||
cosmic-protocols = { git = "https://github.com/pop-os//cosmic-protocols", branch = "main" }
|
||||
cosmic-client-toolkit = { git = "https://github.com/pop-os//cosmic-protocols", branch = "main" }
|
||||
[patch.'https://github.com/pop-os/libcosmic']
|
||||
cosmic-config = { path = "../libcosmic/cosmic-config" }
|
||||
cosmic-theme = { path = "../libcosmic/cosmic-theme" }
|
||||
iced = { path = "../libcosmic/iced" }
|
||||
iced_accessibility = { path = "../libcosmic/iced/accessibility" }
|
||||
iced_core = { path = "../libcosmic/iced/core" }
|
||||
iced_futures = { path = "../libcosmic/iced/futures" }
|
||||
iced_graphics = { path = "../libcosmic/iced/graphics" }
|
||||
iced_renderer = { path = "../libcosmic/iced/renderer" }
|
||||
iced_runtime = { path = "../libcosmic/iced/runtime" }
|
||||
iced_tiny_skia = { path = "../libcosmic/iced/tiny_skia" }
|
||||
iced_wgpu = { path = "../libcosmic/iced/wgpu" }
|
||||
iced_widget = { path = "../libcosmic/iced/widget" }
|
||||
iced_winit = { path = "../libcosmic/iced/winit" }
|
||||
|
||||
[patch.'https://github.com/pop-os/cosmic-protocols']
|
||||
cosmic-protocols = { path = "../cosmic-protocols" }
|
||||
cosmic-client-toolkit = { path = "../cosmic-protocols/client-toolkit" }
|
||||
|
||||
[patch.'https://github.com/pop-os/cosmic-settings-daemon']
|
||||
cosmic-settings-config = { path = "../cosmic-settings-daemon/config" }
|
||||
cosmic-settings-daemon-config = { path = "../cosmic-settings-daemon/cosmic-settings-daemon-config" }
|
||||
|
||||
[patch.'https://github.com/pop-os/cosmic-text.git']
|
||||
cosmic-text = { path = "../cosmic-text" }
|
||||
|
||||
[patch.'https://forge.aditua.com/leyoda/window_clipboard.git']
|
||||
window_clipboard = { path = "../window_clipboard" }
|
||||
dnd = { path = "../window_clipboard/dnd" }
|
||||
mime = { path = "../window_clipboard/mime" }
|
||||
|
||||
[patch.crates-io]
|
||||
smithay = { git = "https://github.com/smithay/smithay.git", rev = "774f2ab" }
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@ version = "1.0.0"
|
|||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
cosmic-config = { git = "https://github.com/pop-os/libcosmic/" }
|
||||
cosmic-randr-shell = { git = "https://github.com/pop-os/cosmic-randr/", optional = true }
|
||||
cosmic-config = { path = "../../libcosmic/cosmic-config" }
|
||||
cosmic-randr-shell = { path = "../../cosmic-randr/shell", optional = true }
|
||||
input = "0.10.0"
|
||||
libdisplay-info = { version = "0.3.0", optional = true }
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
a11y-zoom-move-continuously = A nézet folyamatosan követi a mutatót
|
||||
a11y-zoom-move-onedge = A nézet csak akkor mozog, ha a mutató a szélen van
|
||||
a11y-zoom-move-onedge = A nézet csak akkor mozog, ha a mutató eléri a szélét
|
||||
a11y-zoom-move-centered = A nézet úgy mozog, hogy a mutató középen maradjon
|
||||
a11y-zoom-settings = Nagyító beállításai…
|
||||
grow-window = Növelés
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
[toolchain]
|
||||
channel = "1.90"
|
||||
channel = "1.93"
|
||||
components = [ "rust-src" ]
|
||||
|
|
|
|||
|
|
@ -52,6 +52,14 @@ impl State {
|
|||
action,
|
||||
Action::Shortcut(shortcuts::Action::Terminate)
|
||||
| Action::Shortcut(shortcuts::Action::Debug)
|
||||
| Action::Shortcut(shortcuts::Action::System(
|
||||
shortcuts::action::System::InputSourceSwitch
|
||||
| shortcuts::action::System::BrightnessDown
|
||||
| shortcuts::action::System::BrightnessUp
|
||||
| shortcuts::action::System::VolumeLower
|
||||
| shortcuts::action::System::VolumeRaise
|
||||
| shortcuts::action::System::Mute,
|
||||
))
|
||||
)
|
||||
{
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -1354,8 +1354,8 @@ impl Decorations<CosmicStackInternal, Message> for DefaultDecorations {
|
|||
|
||||
iced_widget::container::Style {
|
||||
snap: true,
|
||||
icon_color: Some(cosmic_theme.background.on.into()),
|
||||
text_color: Some(cosmic_theme.background.on.into()),
|
||||
icon_color: Some(cosmic_theme.background(false).on.into()),
|
||||
text_color: Some(cosmic_theme.background(false).on.into()),
|
||||
background: Some(Background::Color(background.into())),
|
||||
border: Border {
|
||||
radius,
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ impl From<TabBackgroundTheme> for theme::Container<'_> {
|
|||
icon_color: Some(Color::from(theme.cosmic().accent_text_color())),
|
||||
text_color: Some(Color::from(theme.cosmic().accent_text_color())),
|
||||
background: Some(Background::Color(
|
||||
theme.cosmic().primary.component.selected.into(),
|
||||
theme.cosmic().primary(false).component.selected.into(),
|
||||
)),
|
||||
border: Border {
|
||||
radius: 0.0.into(),
|
||||
|
|
@ -81,7 +81,7 @@ impl From<TabBackgroundTheme> for theme::Container<'_> {
|
|||
icon_color: None,
|
||||
text_color: None,
|
||||
background: Some(Background::Color(
|
||||
theme.cosmic().primary.component.base.into(),
|
||||
theme.cosmic().primary(false).component.base.into(),
|
||||
)),
|
||||
border: Border {
|
||||
radius: 0.0.into(),
|
||||
|
|
|
|||
|
|
@ -813,7 +813,7 @@ impl Program for CosmicWindowInternal {
|
|||
|
||||
fn background_color(&self, theme: &cosmic::Theme) -> Color {
|
||||
if self.window.is_maximized(false) {
|
||||
theme.cosmic().background.base.into()
|
||||
theme.cosmic().background(false).base.into()
|
||||
} else {
|
||||
Color::TRANSPARENT
|
||||
}
|
||||
|
|
|
|||
|
|
@ -428,10 +428,11 @@ impl Program for ContextMenu {
|
|||
.width(mode)
|
||||
.class(if *disabled {
|
||||
theme::Text::Custom(|theme| {
|
||||
let mut color = theme.cosmic().background.component.on;
|
||||
let mut color = theme.cosmic().background(false).component.on;
|
||||
color.alpha *= 0.5;
|
||||
TextStyle {
|
||||
color: Some(color.into()),
|
||||
..Default::default()
|
||||
}
|
||||
})
|
||||
} else {
|
||||
|
|
@ -446,10 +447,11 @@ impl Program for ContextMenu {
|
|||
.align_x(Horizontal::Right)
|
||||
.width(Length::Shrink)
|
||||
.class(theme::Text::Custom(|theme| {
|
||||
let mut color = theme.cosmic().background.component.on;
|
||||
let mut color = theme.cosmic().background(false).component.on;
|
||||
color.alpha *= 0.75;
|
||||
TextStyle {
|
||||
color: Some(color.into()),
|
||||
..Default::default()
|
||||
}
|
||||
}))
|
||||
.into(),
|
||||
|
|
@ -474,7 +476,7 @@ impl Program for ContextMenu {
|
|||
.padding(1)
|
||||
.class(theme::Container::custom(|theme| {
|
||||
let cosmic = theme.cosmic();
|
||||
let component = &cosmic.background.component;
|
||||
let component = &cosmic.background(false).component;
|
||||
iced_widget::container::Style {
|
||||
snap: true,
|
||||
icon_color: Some(cosmic.accent.base.into()),
|
||||
|
|
|
|||
|
|
@ -512,7 +512,7 @@ impl Program for ZoomProgram {
|
|||
.padding(8)
|
||||
.class(theme::Container::custom(|theme| {
|
||||
let cosmic = theme.cosmic();
|
||||
let component = &cosmic.background.component;
|
||||
let component = &cosmic.background(false).component;
|
||||
iced_widget::container::Style {
|
||||
snap: true,
|
||||
icon_color: Some(component.on.into()),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue