Add actualfullscreen patch and replace 4spaces to tab

This commit is contained in:
BitHeaven 2024-05-31 10:47:20 +05:00
parent 89b87f20e0
commit cc9b2c5f22
2 changed files with 31 additions and 20 deletions

View File

@ -1,3 +1,6 @@
actualfullscreen
fullgaps
status2d
extrabar

8
dwm.c
View File

@ -211,6 +211,7 @@ static void tagmon(const Arg *arg);
static void tile(Monitor *m);
static void togglebar(const Arg *arg);
static void togglefloating(const Arg *arg);
static void togglefullscr(const Arg *arg);
static void toggletag(const Arg *arg);
static void toggleview(const Arg *arg);
static void unfocus(Client *c, int setfocus);
@ -1735,6 +1736,13 @@ togglefloating(const Arg *arg)
arrange(selmon);
}
void
togglefullscr(const Arg *arg)
{
if(selmon->sel)
setfullscreen(selmon->sel, !selmon->sel->isfullscreen);
}
void
toggletag(const Arg *arg)
{