tagmon + focusmon
This commit is contained in:
parent
c1eea5c1a1
commit
78769f028f
2
config.h
2
config.h
@ -208,7 +208,7 @@ static Key keys[] = {
|
||||
{ MODKEY, XK_Return, spawn, {.v = termcmd } },
|
||||
{ MODKEY|ShiftMask, XK_Return, togglescratch, {.ui = 0 } },
|
||||
{ MODKEY, XK_z, spawn, SHCMD("st -e tremc --skip-version-check") },
|
||||
/*{ MODKEY|ShiftMask, XK_z, spawn, SHCMD("st -e tremc") },*/
|
||||
{ MODKEY|ShiftMask, XK_z, tagfocusmon, {.i = -1}},
|
||||
{ MODKEY, XK_x, spawn, SHCMD("slock & ( sleep 4; xset dpms force off; mpc pause ; pauseallmpv)") },
|
||||
{ MODKEY|ShiftMask, XK_x, spawn, SHCMD("prompt \"Shutdown computer?\" \"sudo -A shutdown -h now\"") },
|
||||
{ MODKEY, XK_c, togglescratch, {.ui = 1 } },
|
||||
|
6
dwm.c
6
dwm.c
@ -219,6 +219,7 @@ static void spawn(const Arg *arg);
|
||||
static void spiral(Monitor *mon);
|
||||
static void tag(const Arg *arg);
|
||||
static void tagmon(const Arg *arg);
|
||||
static void tagfocusmon(const Arg *arg);
|
||||
static void tile(Monitor *);
|
||||
static void togglebar(const Arg *arg);
|
||||
static void togglefloating(const Arg *arg);
|
||||
@ -1791,6 +1792,11 @@ tagmon(const Arg *arg)
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
tagfocusmon(const Arg *arg){
|
||||
tagmon(arg);
|
||||
focusmon(arg);
|
||||
}
|
||||
void
|
||||
tile(Monitor *m)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user