Daemon user-mode qui relie le setting CosmicTk.window_controls_position
aux fenêtres non-libcosmic :
- met à jour gtk-decoration-layout dans ~/.config/gtk-{3,4}.0/settings.ini
- aligne org.gnome.desktop.wm.preferences button-layout via gsettings
- abonné via Config::watch (cosmic-config) — propagation à chaud
Pendant : kde-gtk-config / Plasma. Limites connues : Firefox + apps
Electron qui dessinent leur propre titlebar (phase 2).
By Leyoda 2026 — MIT
19 lines
532 B
TOML
19 lines
532 B
TOML
[package]
|
|
name = "cosmic-gtk-config"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
license = "MIT"
|
|
description = "Bridges the COSMIC window-controls-position setting to GTK3, GTK4 and gsettings, à la kde-gtk-config."
|
|
authors = ["Lionel Darnis <ldarnis@gmail.com>"]
|
|
|
|
[dependencies]
|
|
cosmic-config = { path = "../libcosmic/cosmic-config", default-features = false, features = ["macro"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
anyhow = "1"
|
|
log = "0.4"
|
|
env_logger = "0.11"
|
|
|
|
[profile.release]
|
|
lto = "thin"
|
|
codegen-units = 1
|
|
strip = true
|