Skip to content

Commit

Permalink
Merge pull request #4 from pop-os/config_jammy
Browse files Browse the repository at this point in the history
Install default config file, set Pop-like keyboard shortcuts
  • Loading branch information
Drakulix authored Apr 11, 2022
2 parents 1519942 + c90b576 commit 201663d
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ debian/*
!debian/changelog
!debian/control
!debian/copyright
!debian/cosmic-comp.install
!debian/postinst
!debian/rules
!debian/source
Expand All @@ -11,4 +12,4 @@ target
vendor
vendor.tar
.vscode
*.log
*.log
18 changes: 14 additions & 4 deletions config.ron
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand All @@ -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,
)
)
1 change: 1 addition & 0 deletions debian/cosmic-comp.install
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
config.ron etc/cosmic-comp

0 comments on commit 201663d

Please sign in to comment.