system settings
git clone https://git.lucas.co/cce-system-interface.git
chore: rename crate to cce-system-interface
Completes the directory rename: package/bin name, install path, window
title + app_id, the notification source name, and the input.kdl domain
comment. (Authored in a parallel session; committed as-is.)
Co-Authored-By: Claude Fable 5 <[email protected]>
Cargo.toml | 4 ++--
Makefile | 2 +-
src/input_handler.rs | 2 +-
src/main.rs | 4 ++--
src/pages/notifications.rs | 2 +-
5 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/Cargo.toml b/Cargo.toml
index 8db6b74..d59be37 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,5 +1,5 @@
[package]
-name = "cce-system-settings"
+name = "cce-system-interface"
version = "0.1.0"
edition = "2021"
@@ -33,4 +33,4 @@ path = "src/lib.rs"
[[bin]]
path = "src/main.rs"
-name = "cce-system-settings"
+name = "cce-system-interface"
diff --git a/Makefile b/Makefile
index a046f21..7254244 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ build:
install: build
mkdir -p ~/.local/bin
- install -m 755 ../target/release/cce-system-settings ~/.local/bin/cce-system-settings
+ install -m 755 ../target/release/cce-system-interface ~/.local/bin/cce-system-interface
run:
cargo run
diff --git a/src/input_handler.rs b/src/input_handler.rs
index 0edf697..4773e4c 100644
--- a/src/input_handler.rs
+++ b/src/input_handler.rs
@@ -4,7 +4,7 @@ use cce_settings::pages::Page;
use cce_ui::widget::WidgetHost;
/// App shortcuts, resolved once per process from input.kdl
-/// (`cce-system-settings` domain → `cce-ui` domain).
+/// (`cce-system-interface` domain → `cce-ui` domain).
struct SettingsKeys {
open_search: String,
focus_next: String,
diff --git a/src/main.rs b/src/main.rs
index 68ca397..1f5fa7a 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -212,8 +212,8 @@ impl cce_ui::engine::Application for SystemInterface {
fn settings(&self) -> cce_ui::engine::WindowSettings {
cce_ui::engine::WindowSettings {
- title: "CCE System Settings".to_string(),
- app_id: "cce-system-settings".to_string(),
+ title: "CCE System Interface".to_string(),
+ app_id: "cce-system-interface".to_string(),
width: 820,
height: 680,
fullscreen: false,
diff --git a/src/pages/notifications.rs b/src/pages/notifications.rs
index a7c0a33..473343e 100644
--- a/src/pages/notifications.rs
+++ b/src/pages/notifications.rs
@@ -86,7 +86,7 @@ pub fn update(state: &mut NotificationsState, msg: NotificationsMessage) {
Some("org.freedesktop.Notifications"),
"Notify",
&(
- "cce-system-settings",
+ "cce-system-interface",
0u32,
"",
"Test Notification",