From 9a5cec53a01c41a9f9a9f84c970a2d6f67158bad Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Mon, 11 Apr 2022 12:30:57 -0600 Subject: [PATCH 1/2] Add config.ron to debian packaging --- .gitignore | 3 ++- debian/cosmic-comp.install | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 debian/cosmic-comp.install diff --git a/.gitignore b/.gitignore index 8aa537cf..7661f410 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ debian/* !debian/changelog !debian/control !debian/copyright +!debian/cosmic-comp.install !debian/postinst !debian/rules !debian/source @@ -11,4 +12,4 @@ target vendor vendor.tar .vscode -*.log \ No newline at end of file +*.log diff --git a/debian/cosmic-comp.install b/debian/cosmic-comp.install new file mode 100644 index 00000000..2c5aab35 --- /dev/null +++ b/debian/cosmic-comp.install @@ -0,0 +1 @@ +config.ron etc/cosmic-comp From c90b576b58c6279b08738875867b675e6d5e9e04 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Mon, 11 Apr 2022 12:50:00 -0600 Subject: [PATCH 2/2] Pop-like keyboard shortcuts --- config.ron | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/config.ron b/config.ron index ebc4ac26..f645f455 100644 --- a/config.ron +++ b/config.ron @@ -2,7 +2,7 @@ key_bindings: { (modifiers: [Logo, Shift], key: "Escape"): Terminate, (modifiers: [Logo], key: "Escape"): Debug, - (modifiers: [Logo, Shift], key: "Q"): Close, + (modifiers: [Logo], key: "Q"): Close, (modifiers: [Logo], key: "1"): Workspace(1), (modifiers: [Logo], key: "2"): Workspace(2), (modifiers: [Logo], key: "3"): Workspace(3), @@ -27,9 +27,19 @@ (modifiers: [Logo], key: "Right"): Focus(Right), (modifiers: [Logo], key: "Up"): Focus(Up), (modifiers: [Logo], key: "Down"): Focus(Down), + (modifiers: [Logo], key: "h"): Focus(Left), + (modifiers: [Logo], key: "j"): Focus(Down), + (modifiers: [Logo], key: "k"): Focus(Up), + (modifiers: [Logo], key: "l"): Focus(Right), + //TODO: automatic orientation with Logo+o toggling (modifiers: [Logo], key: "v"): Orientation(Vertical), - (modifiers: [Logo], key: "h"): Orientation(Horizontal), - (modifiers: [Ctrl], key: "Return"): Spawn("gnome-terminal"), + (modifiers: [Logo], key: "o"): Orientation(Horizontal), + //TODO: ability to select default web browser + (modifiers: [Logo], key: "b"): Spawn("firefox"), + //TODO: ability to select default file browser + (modifiers: [Logo], key: "f"): Spawn("nautilus"), + //TODO: ability to select default terminal + (modifiers: [Logo], key: "t"): Spawn("gnome-terminal"), }, workspace_mode: OutputBound, -) \ No newline at end of file +)