From 50649ff78b4352a6204c713cd0c49dd397bd815e Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Sat, 25 Nov 2023 14:36:42 +0400 Subject: Add more default app binds to the default config --- README.md | 4 +++- resources/default-config.kdl | 11 +++++++---- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index f8b9738d..f29a3612 100644 --- a/README.md +++ b/README.md @@ -97,7 +97,9 @@ The general system is: if a hotkey switches somewhere, then adding CtrlModT | Spawn `alacritty` | +| ModT | Spawn `alacritty` (terminal) | +| ModD | Spawn `fuzzel` (application launcher) | +| ModAltL | Spawn `swaylock` (screen locker) | | ModQ | Close the focused window | | ModH or Mod | Focus the column to the left | | ModL or Mod | Focus the column to the right | diff --git a/resources/default-config.kdl b/resources/default-config.kdl index 002df225..dfa863a3 100644 --- a/resources/default-config.kdl +++ b/resources/default-config.kdl @@ -136,13 +136,16 @@ binds { // "Mod" is a special modifier equal to Super when running on a TTY, and to Alt // when running as a winit window. + // Suggested binds for running programs: terminal, app launcher, screen locker. Mod+T { spawn "alacritty"; } - Mod+Q { close-window; } + Mod+D { spawn "fuzzel"; } + Mod+Alt+L { spawn "swaylock"; } // Example volume keys mappings for PipeWire & WirePlumber. - // Remember to uncomment the nodes by removing "/-"! - /-XF86AudioRaiseVolume { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.1+"; } - /-XF86AudioLowerVolume { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.1-"; } + XF86AudioRaiseVolume { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.1+"; } + XF86AudioLowerVolume { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.1-"; } + + Mod+Q { close-window; } Mod+H { focus-column-left; } Mod+J { focus-window-down; } -- cgit