Compare commits

...

12 commits

Author SHA1 Message Date
1dda5a558e fix: absorb libcosmic theme-v2 API (private containers, text::Style, wgpu 28)
Leyoda 2026 – GPLv3
2026-07-03 12:36:51 +02:00
11e229fa44 Refresh Cargo lockfile after upstream rebase 2026-06-13 08:39:57 +02:00
devpa
84f9dcbe0e input: allow layout switching and brightness/volume control under session lock 2026-06-13 08:39:57 +02:00
Hosted Weblate
4a22c9f3dc i18n: translation updates from weblate
Co-authored-by: therealmate <hellogaming91@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-comp/hu/
Translation: Pop OS/COSMIC Comp
2026-06-13 08:39:57 +02:00
647a672b25 chore: resolve local graphics dependencies 2026-05-25 19:37:09 +02:00
d038b6f89f chore: use local glyphon lockfile 2026-05-25 18:28:56 +02:00
e3d5e4668f chore: refresh lockfile and bump rust-toolchain to 1.93
Required to absorb the libcosmic-yoda squash rebase on 2026-05-25.
libcosmic-yoda now declares rust-version = "1.93".

Leyoda 2026 – GPLv3
2026-05-25 14:27:10 +02:00
0ae782638c chore: use local cosmic-text checkout 2026-05-25 11:34:38 +02:00
7b05b2e768 yoda: refresh local dbus binding lock 2026-05-25 09:55:23 +02:00
267fcd80b3 fix: keep compositor dbus off tokio runtime 2026-05-24 18:18:51 +02:00
56230f0ade fix: keep tokio runtime available for compositor 2026-05-24 16:08:29 +02:00
934db82775 chore: align compositor with local cosmic stack 2026-05-24 11:40:51 +02:00
11 changed files with 1327 additions and 245 deletions

1484
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -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" }

View file

@ -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"] }

View file

@ -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

View file

@ -1,3 +1,3 @@
[toolchain]
channel = "1.90"
channel = "1.93"
components = [ "rust-src" ]

View file

@ -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;

View file

@ -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,

View file

@ -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(),

View file

@ -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
}

View file

@ -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()),

View file

@ -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()),