chore: update libcosmic

enable desktop-systemd-scope
This commit is contained in:
Ashley Wulber 2024-10-16 18:52:34 -04:00 committed by Jeremy Soller
parent d193f10102
commit 6630709970
3 changed files with 40 additions and 22 deletions

View file

@ -4,7 +4,6 @@
use cctk::sctk::reexports::{calloop::channel::SyncSender, client::backend::ObjectId};
use cosmic::{
applet::cosmic_panel_config::PanelAnchor,
font::FONT_BOLD,
iced::{
alignment::{Horizontal, Vertical},
event,
@ -176,7 +175,11 @@ impl cosmic::Application for IcedWorkspacesApplet {
let popup_index = self.popup_index().unwrap_or(self.workspaces.len());
let buttons = self.workspaces[..popup_index].iter().filter_map(|w| {
let content = self.core.applet.text(w.0.clone()).font(FONT_BOLD);
let content = self
.core
.applet
.text(w.0.clone())
.font(cosmic::font::bold());
let (width, height) = if self.core.applet.is_horizontal() {
(suggested_total as f32, suggested_window_size.1.get() as f32)