Adds support for cosmic-workspace-v2 pin, unpin, move_after, and move_before requests. Both features need some work with workspaces span displays mode, so that will need more fixes later. We also want to generate a unique id for pinned workspaces to send in the ext-workspace-v1 protocol. But that isn't a strict requirement for anything. So I haven't yet fully implemented that. We'll also want to persist other things, like workspace naming when that's added. Overall, though, with separate workspaces per display, this is working pretty well.
126 lines
3.7 KiB
TOML
126 lines
3.7 KiB
TOML
[package]
|
|
authors = ["Victoria Brekenfeld"]
|
|
edition = "2021"
|
|
license = "GPL-3.0-only"
|
|
name = "cosmic-comp"
|
|
version = "0.1.0"
|
|
|
|
[workspace]
|
|
members = [
|
|
"cosmic-comp-config",
|
|
]
|
|
|
|
[dependencies]
|
|
anyhow = {version = "1.0.51", features = ["backtrace"]}
|
|
bitflags = "2.4"
|
|
bytemuck = "1.12"
|
|
calloop = {version = "0.14.1", features = ["executor"]}
|
|
cosmic-comp-config = {path = "cosmic-comp-config", features = ["libdisplay-info"]}
|
|
cosmic-config = {git = "https://github.com/pop-os/libcosmic/", features = ["calloop", "macro"]}
|
|
cosmic-protocols = {git = "https://github.com/pop-os/cosmic-protocols", rev = "e706814", default-features = false, features = ["server"]}
|
|
cosmic-settings-config = { git = "https://github.com/pop-os/cosmic-settings-daemon" }
|
|
cosmic-text = { git = "https://github.com/pop-os/cosmic-text.git", features = ["shape-run-cache"] }
|
|
libdisplay-info = "0.2.0"
|
|
egui = {version = "0.30.0", optional = true}
|
|
egui_plot = {version = "0.30.0", optional = true}
|
|
i18n-embed = {version = "0.14", features = ["fluent-system", "desktop-requester"]}
|
|
i18n-embed-fl = "0.8"
|
|
iced_tiny_skia = {git = "https://github.com/pop-os/libcosmic/"}
|
|
indexmap = "2.0"
|
|
keyframe = "1.1.1"
|
|
lazy_static = "1.4.0"
|
|
libc = "0.2.149"
|
|
libcosmic = {git = "https://github.com/pop-os/libcosmic/", default-features = false}
|
|
libsystemd = {version = "0.7", optional = true}
|
|
log-panics = {version = "2", features = ["with-backtrace"]}
|
|
once_cell = "1.18.0"
|
|
ordered-float = "4.0"
|
|
png = "0.17.5"
|
|
regex = "1"
|
|
ron = "0.9.0-alpha.0"
|
|
rust-embed = {version = "8.0", features = ["debug-embed"]}
|
|
sanitize-filename = "0.5.0"
|
|
sendfd = "0.4.1"
|
|
serde = {version = "1", features = ["derive"]}
|
|
serde_json = "1"
|
|
thiserror = "1.0.26"
|
|
time = {version = "0.3.30", features = ["macros", "formatting", "local-offset"]}
|
|
tiny-skia = "0.11"
|
|
tracing = { version = "0.1.37", features = ["max_level_debug", "release_max_level_info"] }
|
|
tracing-journald = "0.3.0"
|
|
tracing-subscriber = {version = "0.3.16", features = ["env-filter", "tracing-log"]}
|
|
wayland-backend = "0.3.3"
|
|
wayland-scanner = "0.31.1"
|
|
xcursor = "0.3.3"
|
|
xdg = "^2.1"
|
|
xdg-user = "0.2.1"
|
|
xkbcommon = "0.8"
|
|
zbus = "4.4.0"
|
|
profiling = { version = "1.0" }
|
|
rustix = { version = "0.38.32", features = ["process"] }
|
|
smallvec = "1.13.2"
|
|
rand = "0.9.0"
|
|
reis = { version = "0.4", features = ["calloop"] }
|
|
# CLI arguments
|
|
clap_lex = "0.7"
|
|
|
|
[dependencies.id_tree]
|
|
branch = "feature/copy_clone"
|
|
git = "https://github.com/Drakulix/id-tree.git"
|
|
|
|
[dependencies.smithay]
|
|
default-features = false
|
|
features = [
|
|
"backend_drm",
|
|
"backend_gbm",
|
|
"backend_egl",
|
|
"backend_libinput",
|
|
"backend_session_libseat",
|
|
"backend_udev",
|
|
"backend_winit",
|
|
"backend_vulkan",
|
|
"backend_x11",
|
|
"desktop",
|
|
"renderer_glow",
|
|
"renderer_multi",
|
|
"renderer_pixman",
|
|
"wayland_frontend",
|
|
"xwayland",
|
|
]
|
|
git = "https://github.com/smithay/smithay"
|
|
rev = "a503d98"
|
|
|
|
[dependencies.smithay-egui]
|
|
features = ["svg"]
|
|
git = "https://github.com/Smithay/smithay-egui.git"
|
|
optional = true
|
|
rev = "e720136"
|
|
|
|
[features]
|
|
debug = ["egui", "egui_plot", "smithay-egui", "anyhow/backtrace"]
|
|
default = ["systemd"]
|
|
systemd = ["libsystemd"]
|
|
profile-with-tracy = ["profiling/profile-with-tracy"]
|
|
|
|
[profile.dev.package.tiny-skia]
|
|
opt-level = 2
|
|
|
|
[profile.dev.package.rustybuzz]
|
|
opt-level = 2
|
|
|
|
[profile.dev.package.ttf-parser]
|
|
opt-level = 2
|
|
|
|
[profile.fastdebug]
|
|
debug = true
|
|
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/smithay/smithay"]
|
|
smithay = { git = "https://github.com/smithay/smithay//", rev = "ce61c9b" }
|