From b8c5ddb735d9885787347322376df99f2be46789 Mon Sep 17 00:00:00 2001 From: speedie Date: Wed, 30 Nov 2022 18:18:22 +0100 Subject: [PATCH] fix keybind conflict --- README.md | 4 +++- docs/keybinds | 2 +- keybinds.h | 3 ++- speedwm.1 | 8 ++++++-- 4 files changed, 12 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 8049e65..8bb7f7a 100644 --- a/README.md +++ b/README.md @@ -200,6 +200,7 @@ Chained keybinds - Super+, & d - Toggle tag powerline shape - Super+, & s - Toggle tag and title powerline shapes - Super+, & r - Reset powerline options +- Super+q & o - Kill every window except the focused - Super+q & n/p - Switch to the next/previous track - Super+q & l/h - Seek 3 seconds forward/backwards - Super+q & u/d - Seek 10 seconds forward/backwards @@ -210,7 +211,6 @@ Chained keybinds - Super+Shift+e & e - Open a list of all emojis and copy the selection - Super+Shift+e & r - Randomize wallpaper - Super+Shift+e & p - Set wallpaper to the previous -- Super+Shift+k & o - Kill every window except the focused These will only work if your keyboard has special multimedia buttons. @@ -367,6 +367,8 @@ Below is a list of all .Xresources values you can define. - speedwm.client.autofocus: 1 - speedwm.client.autoresize: 1 - speedwm.client.decorhints: 1 +- speedwm.client.hide.border: 0 +- speedwm.client.hide.singleborder: 1 - speedwm.client.fade.inactive: 1 - speedwm.client.fade.windows: 1 - speedwm.client.floatscratchpad: 0 diff --git a/docs/keybinds b/docs/keybinds index 0da67e4..9da85ff 100644 --- a/docs/keybinds +++ b/docs/keybinds @@ -150,6 +150,7 @@ Chained keybinds - Super+, & d - Toggle tag powerline shape - Super+, & s - Toggle tag and title powerline shapes - Super+, & r - Reset powerline options +- Super+q & o - Kill every window except the focused - Super+q & n/p - Switch to the next/previous track - Super+q & l/h - Seek 3 seconds forward/backwards - Super+q & u/d - Seek 10 seconds forward/backwards @@ -160,7 +161,6 @@ Chained keybinds - Super+Shift+e & e - Open a list of all emojis and copy the selection - Super+Shift+e & r - Randomize wallpaper - Super+Shift+e & p - Set wallpaper to the previous -- Super+Shift+k & o - Kill every window except the focused These will only work if your keyboard has special multimedia buttons. diff --git a/keybinds.h b/keybinds.h index 9101afb..4c1c0f9 100644 --- a/keybinds.h +++ b/keybinds.h @@ -220,8 +220,9 @@ static Key keys[] = { { MODIFIER1, XK_q, XK_d, spawn, cmd( "cmus-remote --seek -10" ) }, { MODIFIER1, XK_q, XK_0, spawn, cmd( "cmus-remote --seek 0" ) }, + /* Misc */ + { MODIFIER1, XK_q, XK_o, killunsel, {0} }, { MODIFIER1, XK_l, XK_p, togglelayoutpos, {0} }, - { MODIFIER1|SHIFT, XK_k, XK_o, killunsel, {0} }, { MODIFIER1|SHIFT, XK_e, XK_p, spawn, cmd( "speedwm-swal --previous" ) }, { MODIFIER1|SHIFT, XK_e, XK_r, spawn, cmd( "speedwm-swal --randomize" ) }, { MODIFIER1|SHIFT, XK_e, XK_a, spawn, cmd( "speedwm-virtualkeyboard" ) }, diff --git a/speedwm.1 b/speedwm.1 index 0a06a91..895240a 100644 --- a/speedwm.1 +++ b/speedwm.1 @@ -408,6 +408,8 @@ Super+, & s - Toggle tag and title powerline shapes .IP \[bu] 2 Super+, & r - Reset powerline options .IP \[bu] 2 +Super+q & o - Kill every window except the focused +.IP \[bu] 2 Super+q & n/p - Switch to the next/previous track .IP \[bu] 2 Super+q & l/h - Seek 3 seconds forward/backwards @@ -427,8 +429,6 @@ Super+Shift+e & e - Open a list of all emojis and copy the selection Super+Shift+e & r - Randomize wallpaper .IP \[bu] 2 Super+Shift+e & p - Set wallpaper to the previous -.IP \[bu] 2 -Super+Shift+k & o - Kill every window except the focused .PP These will only work if your keyboard has special multimedia buttons. .IP \[bu] 2 @@ -730,6 +730,10 @@ speedwm.client.autoresize: 1 .IP \[bu] 2 speedwm.client.decorhints: 1 .IP \[bu] 2 +speedwm.client.hide.border: 0 +.IP \[bu] 2 +speedwm.client.hide.singleborder: 1 +.IP \[bu] 2 speedwm.client.fade.inactive: 1 .IP \[bu] 2 speedwm.client.fade.windows: 1