diff --git a/Cargo.toml b/Cargo.toml index 99e376e0..4be26bd7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,32 +1,2 @@ -[package] -name = "pop-cosmic-panel" -version = "0.1.0" -edition = "2021" -license = "LGPL-3.0-or-later" - -[dependencies] -cascade = "1" -chrono = "0.4" -byte_string = "1" -derivative = "2" -enumflags2 = "0.7" -futures = "0.3" -futures-channel = "0.3" -gdk4-x11 = { version = "0.4.2", features = ["xlib"] } -gdk4-wayland = { version = "0.4", optional = true } -gtk4 = "0.4" -gobject-sys = "0.15" -libcosmic = { git = "https://github.com/pop-os/libcosmic" } -once_cell = "1" -serde = "1" -toml = "0.5" -x11 = { version = "2", features = ["xlib"] } -zbus = "2" -zbus_names = "2" -zvariant = "3" - -[features] -layer-shell = ["gdk4-wayland", "libcosmic/layer-shell"] - [workspace] -members = ["applets/cosmic-applet-audio", "applets/cosmic-applet-graphics", "applets/cosmic-applet-network", "applets/cosmic-applet-power"] +members = ["applets/cosmic-applet-audio", "applets/cosmic-applet-graphics", "applets/cosmic-applet-network", "applets/cosmic-applet-power", "old-panel"] diff --git a/old-panel/Cargo.toml b/old-panel/Cargo.toml new file mode 100644 index 00000000..473af5a4 --- /dev/null +++ b/old-panel/Cargo.toml @@ -0,0 +1,29 @@ +[package] +name = "pop-cosmic-panel" +version = "0.1.0" +edition = "2021" +license = "LGPL-3.0-or-later" + +[dependencies] +cascade = "1" +chrono = "0.4" +byte_string = "1" +derivative = "2" +enumflags2 = "0.7" +futures = "0.3" +futures-channel = "0.3" +gdk4-x11 = { version = "0.4.2", features = ["xlib"] } +gdk4-wayland = { version = "0.4", optional = true } +gtk4 = "0.4" +gobject-sys = "0.15" +libcosmic = { git = "https://github.com/pop-os/libcosmic" } +once_cell = "1" +serde = "1" +toml = "0.5" +x11 = { version = "2", features = ["xlib"] } +zbus = "2" +zbus_names = "2" +zvariant = "3" + +[features] +layer-shell = ["gdk4-wayland", "libcosmic/layer-shell"] diff --git a/README.md b/old-panel/README.md similarity index 100% rename from README.md rename to old-panel/README.md diff --git a/src/application.rs b/old-panel/src/application.rs similarity index 100% rename from src/application.rs rename to old-panel/src/application.rs diff --git a/src/config.rs b/old-panel/src/config.rs similarity index 100% rename from src/config.rs rename to old-panel/src/config.rs diff --git a/src/dbus_service.rs b/old-panel/src/dbus_service.rs similarity index 100% rename from src/dbus_service.rs rename to old-panel/src/dbus_service.rs diff --git a/src/deref_cell.rs b/old-panel/src/deref_cell.rs similarity index 100% rename from src/deref_cell.rs rename to old-panel/src/deref_cell.rs diff --git a/src/main.rs b/old-panel/src/main.rs similarity index 100% rename from src/main.rs rename to old-panel/src/main.rs diff --git a/src/mpris.rs b/old-panel/src/mpris.rs similarity index 100% rename from src/mpris.rs rename to old-panel/src/mpris.rs diff --git a/src/mpris_player.rs b/old-panel/src/mpris_player.rs similarity index 100% rename from src/mpris_player.rs rename to old-panel/src/mpris_player.rs diff --git a/src/notification_list.rs b/old-panel/src/notification_list.rs similarity index 100% rename from src/notification_list.rs rename to old-panel/src/notification_list.rs diff --git a/src/notification_popover.rs b/old-panel/src/notification_popover.rs similarity index 100% rename from src/notification_popover.rs rename to old-panel/src/notification_popover.rs diff --git a/src/notification_widget.rs b/old-panel/src/notification_widget.rs similarity index 100% rename from src/notification_widget.rs rename to old-panel/src/notification_widget.rs diff --git a/src/notifications.rs b/old-panel/src/notifications.rs similarity index 100% rename from src/notifications.rs rename to old-panel/src/notifications.rs diff --git a/src/popover_container.rs b/old-panel/src/popover_container.rs similarity index 100% rename from src/popover_container.rs rename to old-panel/src/popover_container.rs diff --git a/src/status_area.rs b/old-panel/src/status_area.rs similarity index 100% rename from src/status_area.rs rename to old-panel/src/status_area.rs diff --git a/src/status_menu.rs b/old-panel/src/status_menu.rs similarity index 100% rename from src/status_menu.rs rename to old-panel/src/status_menu.rs diff --git a/src/status_notifier_watcher.rs b/old-panel/src/status_notifier_watcher.rs similarity index 100% rename from src/status_notifier_watcher.rs rename to old-panel/src/status_notifier_watcher.rs diff --git a/src/time_button.rs b/old-panel/src/time_button.rs similarity index 100% rename from src/time_button.rs rename to old-panel/src/time_button.rs diff --git a/src/window.rs b/old-panel/src/window.rs similarity index 100% rename from src/window.rs rename to old-panel/src/window.rs