universedesktop: back to dwm bb

This commit is contained in:
2025-02-01 10:25:24 -05:00
parent 64b34c50fa
commit 4fa6138661
10 changed files with 1185 additions and 35 deletions

View File

@@ -0,0 +1,25 @@
diff --git a/dwm.c b/dwm.c
index f1d86b2..17b595a 100644
--- a/dwm.c
+++ b/dwm.c
@@ -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 togglefullscreen(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,12 @@ togglefloating(const Arg *arg)
arrange(selmon);
}
+void togglefullscreen(const Arg *arg)
+{
+ if(selmon->sel)
+ setfullscreen(selmon->sel, !selmon->sel->isfullscreen);
+}
+
void
toggletag(const Arg *arg)
{