summaryrefslogtreecommitdiff
path: root/src/config.rs
diff options
context:
space:
mode:
authortcmal <me@aria.rip>2024-08-30 15:48:34 +0100
committertcmal <me@aria.rip>2024-08-30 16:20:29 +0100
commitb5601a6eb3a8d0603bb837a847701d3d49f984c3 (patch)
tree3004b27ed9b710b7cd8d4569e852f072db7814e8 /src/config.rs
parent12c930d9118941997336deb9ef6c676aa35b1cd9 (diff)
Add bind for killing clients
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/config.rs b/src/config.rs
index f052c22..f806df4 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -9,8 +9,8 @@ use crate::{
clients::TagFocus,
conn_info::Colour,
helpers::{
- focus_next, focus_prev, mouse_move, mouse_resize, set_tag, set_tag_focus, spawn,
- toggle_floating, toggle_fullscreen,
+ focus_next, focus_prev, kill_client, mouse_move, mouse_resize, set_tag, set_tag_focus,
+ spawn, toggle_floating, toggle_fullscreen,
},
keys::Keybinds,
};
@@ -49,6 +49,7 @@ pub const KEYBINDS: Keybinds = Keybinds(&[
bind!(MAIN_MODIFIER , k -> &focus_prev),
bind!(MAIN_MODIFIER.union(ModMask::SHIFT) , space -> &toggle_floating),
bind!(MAIN_MODIFIER.union(ModMask::SHIFT) , f -> &toggle_fullscreen),
+ bind!(MAIN_MODIFIER.union(ModMask::SHIFT) , q -> &kill_client),
bind!(MAIN_MODIFIER , _1 -> &|wm| set_tag_focus(wm, TagFocus::Tag(1))),
bind!(MAIN_MODIFIER , _2 -> &|wm| set_tag_focus(wm, TagFocus::Tag(2))),
bind!(MAIN_MODIFIER , _3 -> &|wm| set_tag_focus(wm, TagFocus::Tag(3))),