toggle scratchpad with super+shift+s
@@ -5174,6 +5174,11 @@ void createscratchpad(const Arg *arg) {
return;
c = selmon->sel;
+ if (c->tags == 1 << 20) {
+ tag(&((Arg){.ui = 1 << ( selmon->pertag->curtag -1 )}));
+ return;
+ }
+
c->tags = 1 << 20;
c->issticky = selmon->scratchvisible;
if (!c->isfloating)
