about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2020-12-14T17·44-0500
committerglittershark <grfn@gws.fyi>2020-12-14T18·18+0000
commitbc5392e909bada7121c30d88f2dedb2515df0d80 (patch)
treeb5af3b267cd030bbc0b5ec2bb7b62afbd298903b
parentbcea9cd0b37b533f55f9b73286e7a8db2c33f858 (diff)
feat(gs/system): Bring back scratch buffer bindings r/2001
More bindings that existed in the default i3 config but I had never
explicitly specified.

Change-Id: I57de0d3221afac299da9a09224564571037f67fa
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2245
Tested-by: BuildkiteCI
Reviewed-by: glittershark <grfn@gws.fyi>
-rw-r--r--users/glittershark/system/home/modules/i3.nix10
1 files changed, 8 insertions, 2 deletions
diff --git a/users/glittershark/system/home/modules/i3.nix b/users/glittershark/system/home/modules/i3.nix
index 499f4ed3b817..cf1fa325dd4c 100644
--- a/users/glittershark/system/home/modules/i3.nix
+++ b/users/glittershark/system/home/modules/i3.nix
@@ -143,8 +143,14 @@ in {
               Pause = "exec lock";
 
               # Sleep/hibernate
-              "${mod}+Escape" = "exec systemctl suspend";
-              "${mod}+Shift+Escape" = "exec systemctl hibernate";
+              # "${mod}+Escape" = "exec systemctl suspend";
+              # "${mod}+Shift+Escape" = "exec systemctl hibernate";
+
+              # Scratch buffer
+              "${mod}+minus" = "scratchpad show";
+              "${mod}+Shift+minus" = "move scratchpad";
+              "${mod}+space" = "focus mode_toggle";
+              "${mod}+Shift+space" = "floating toggle";
 
               # Screen Layout
               "${mod}+Shift+t" = "exec xrandr --auto";