From 5d0c5be1028c67f3b499017c5c39019f4b1d8c10 Mon Sep 17 00:00:00 2001 From: Jonas Rabenstein Date: Wed, 19 Aug 2015 21:11:15 +0200 Subject: focus urgent tabs With a lot of open tabs its quite annoying to toggle through all tabs until reaching the next one with an urgent hint set. Also with using Ctrl-[0..9] to get to the first 10 tabs, in some cases this may have disadvantages: 1. with more than 10 tabs, you can not use that quickselection 2. with a small tabbed window, you do not see every tab in the statusbar and therefore do not know which tab got urgent Therefore I created a function, which iterates over all currently managed tabs, focus the first urgent tab found or stays at the current tab, if there is no urgent-tab. By default, that function is mapped to Ctrl-u. Signed-off-by: Jonas Rabenstein Signed-off-by: Christoph Lohmann <20h@r-36.net> --- config.def.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index b3da7f0..55bec4c 100644 --- a/config.def.h +++ b/config.def.h @@ -55,6 +55,8 @@ static Key keys[] = { \ { MODKEY, XK_q, killclient, { 0 } }, + { MODKEY, XK_u, focusurgent, { .v = NULL } }, + { 0, XK_F11, fullscreen, { 0 } }, }; -- cgit v1.2.3