Add the keybind client_set_master in the default wmfsrc
This commit is contained in:
parent
4064cbdfd9
commit
703974cb00
@ -1637,17 +1637,17 @@ uicb_client_set_master(uicb_t cmd)
|
||||
{
|
||||
Client *c;
|
||||
(void)cmd;
|
||||
|
||||
|
||||
/* get the first client */
|
||||
screen_get_sel();
|
||||
if(!sel || ishide(sel, selscreen))
|
||||
return;
|
||||
|
||||
|
||||
for(c = clients; c && ishide(c, selscreen); c = c->next);
|
||||
|
||||
|
||||
if (c && c != sel)
|
||||
{
|
||||
client_swap(c, sel);
|
||||
client_swap(c, sel);
|
||||
client_focus(c);
|
||||
}
|
||||
return;
|
||||
|
||||
3
wmfsrc
3
wmfsrc
@ -334,6 +334,9 @@
|
||||
|
||||
# Swap current client with the previous.
|
||||
[key] mod = {"Alt", "Shift"} key = "t" func = "client_swap_prev" [/key]
|
||||
|
||||
# Set the selected client as Master
|
||||
[key] mod = {"Control"} key = "m" func = "client_set_master" [/key]
|
||||
|
||||
# Toggle maximum the selected client
|
||||
[key] mod = {"Alt"} key = "m" func = "toggle_max" [/key]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user