Toggle Mon
This commit is contained in:
@@ -335,6 +335,7 @@ static void shiftview(const Arg *arg);
|
||||
static void spawn(const Arg *arg);
|
||||
static void startdrag(struct wl_listener *listener, void *data);
|
||||
static void tag(const Arg *arg);
|
||||
static void tagcyclemon(const Arg *arg);
|
||||
static void tagmon(const Arg *arg);
|
||||
static void tile(Monitor *m);
|
||||
static void togglefloating(const Arg *arg);
|
||||
@@ -2712,6 +2713,16 @@ tag(const Arg *arg)
|
||||
printstatus();
|
||||
}
|
||||
|
||||
void
|
||||
tagcyclemon(const Arg *arg)
|
||||
{
|
||||
Client *sel = focustop(selmon);
|
||||
if (!sel)
|
||||
return;
|
||||
setmon(sel, dirtomon(arg->i), 0);
|
||||
focusmon(arg);
|
||||
}
|
||||
|
||||
void
|
||||
tagmon(const Arg *arg)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user