From 4dd2e01e5327bb8c146f1d02dab1cced5a0d1504 Mon Sep 17 00:00:00 2001 From: Ian Douglas Scott Date: Fri, 15 Apr 2022 16:29:23 -0700 Subject: [PATCH 1/2] Update smithay to a commit that exists, so it will build --- Cargo.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index 0d3340d0..f09db096 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1311,7 +1311,7 @@ checksum = "f2dd574626839106c320a323308629dcb1acfc96e32a8cba364ddc61ac23ee83" [[package]] name = "smithay" version = "0.3.0" -source = "git+https://github.com/pop-os/smithay?branch=main#a9aea2275645cc4b2fc290103cc2072f9a2bfbb1" +source = "git+https://github.com/pop-os/smithay?branch=main#78cfeb604a0563c2357a2ecd1ee048b71f96e1a4" dependencies = [ "appendlist", "bitflags", From d75dcf7f964e36cfba3cfe25ad8686c19c0a478f Mon Sep 17 00:00:00 2001 From: Ian Douglas Scott Date: Fri, 15 Apr 2022 16:25:40 -0700 Subject: [PATCH 2/2] Bind super+/ and super+a to launcher/applibrary Also adds these packages to `Recommends` of Debian package. These bindings don't give keyboard focus the created window, which is awkward. We also want to somehow make the bindings close the window if open. --- config.ron | 2 ++ debian/control | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/config.ron b/config.ron index f645f455..a30a4156 100644 --- a/config.ron +++ b/config.ron @@ -40,6 +40,8 @@ (modifiers: [Logo], key: "f"): Spawn("nautilus"), //TODO: ability to select default terminal (modifiers: [Logo], key: "t"): Spawn("gnome-terminal"), + (modifiers: [Logo], key: "a"): Spawn("xdg-shell-wrapper cosmic-app-library"), + (modifiers: [Logo], key: "Slash"): Spawn("xdg-shell-wrapper cosmic-launcher"), }, workspace_mode: OutputBound, ) diff --git a/debian/control b/debian/control index 2eb54cf5..04736bcd 100644 --- a/debian/control +++ b/debian/control @@ -23,4 +23,8 @@ Homepage: https://github.com/pop-os/cosmic-comp Package: cosmic-comp Architecture: amd64 arm64 Depends: ${misc:Depends}, ${shlibs:Depends} +Recommends: + cosmic-app-library, + cosmic-launcher, + xdg-shell-wrapper Description: Wayland compositor of pop-os cosmic shell