Commit Graph

127 Commits

Author SHA1 Message Date
bakkeby
f9a001dee7 [dwm][PATCH] Multiple scratchpads
This patch enables multiple scratchpads, each with one assigned window.
This enables the same scratchpad workflow that you have in i3.

Scratchpads are implemented as special tags, whose mask does not
apply to new spawned windows. To assign a window to a scratchpad you
have to set up a rule, as you do with regular tags.

Windows tagged with scratchpad tags can be set floating or not in the
rules array. Most users would probably want them floating (i3 style),
but having them tiled does also perfectly work and might fit better the
DWM approach. In case they are set floating, the patch moves them to the
center of the screen whenever the are shown. The patch can easily be
modified to make this last feature configurable in the rules array (see
the center patch).

The togglescratch function, borrowed from the previous scratchpad patch
and slightly modified, can be used to spawn a registered scratchpad
process or toggle its view. This function looks for a window tagged on
the selected scratchpad. If it is found its view is toggled. If it is
not found the corresponding registered command is spawned. The
config.def.h shows three examples of its use to spawn a terminal in the
first scratchpad tag, a second terminal running ranger on the second
scratchpad tag and the keepassxc application to manage passwords on a
third scratchpad tag.

If you prefer to spawn your scratchpad applications from the startup
script, you might opt for binding keys to toggleview instead, as
scratchpads are just special tags (you may even extend the TAGKEYS macro
to generalize the key bindings).
2020-04-16 16:39:22 +02:00
bakkeby
525dc0d107 Adding statuscmd patch ref. #23 2020-04-13 15:01:08 +02:00
bakkeby
d9337195f3 Rounded corners patch, add 0 borderpx by default 2020-04-01 13:55:07 +02:00
bakkeby
a560b9cb53 Adding rounded corners patch 2020-03-31 10:21:45 +02:00
bakkeby
e9e32d28c7 Adding revamped dragmfact patch ref. #19 2020-03-27 20:46:54 +01:00
bakkeby
32d3d2b7c3 Adding dragcfact patch, ref. #19 2020-03-25 15:15:47 +01:00
bakkeby
7bc3cf765e Adding stacker patch as requested ref. #17 2020-03-23 12:15:50 +01:00
bakkeby
873b856428 FAKEFULLSCREEN_PATCH takes precedence over the FAKEFULLSCREEN_CLIENT_PATCH, ref. #13 2020-03-20 16:45:20 +01:00
bakkeby
4b45c6071f Adding vtcolors patch 2020-02-11 18:31:11 +01:00
bakkeby
9ef44a0bc1 Config definition fix for swaptags 2020-02-11 15:35:34 +01:00
bakkeby
90a848d608 Adding swaptags patch 2020-02-11 11:27:39 +01:00
bakkeby
ed20fd9c61 Feature request to add alternative scratchpad patch by Gaspar Vardanyan ref. #8 2020-02-09 14:55:40 +01:00
bakkeby
6de03c1735 Adding transferall patch 2020-02-02 11:55:19 +01:00
bakkeby
4ddfdab30e Adding fsignal patch and moved dwmc signal settings to config.def.h 2020-02-02 11:41:34 +01:00
bakkeby
d644c89c74 Added shiftview patch 2020-01-29 14:22:24 +01:00
bakkeby
5e75da8dd1 Adding swapfocus patch 2020-01-29 11:31:52 +01:00
bakkeby
84b0361b65 Adding transfer patch 2020-01-26 15:32:14 +01:00
bakkeby
b866bf5319 Adding barpadding patch and moving patches.h to paches.def.h 2020-01-24 10:52:40 +01:00
bakkeby
83a7b16a86 Adding inplacerotate patch 2020-01-17 09:54:23 +01:00
bakkeby
7d107ce8eb Adding dmenumatchtop patch 2019-11-26 15:54:03 +01:00
bakkeby
9b85650c1d Adding fakefullscreeenclient patch 2019-11-21 12:23:38 +01:00
bakkeby
42b66d4b29 Addressed some conflicts between CMDCUSTOMIZE and NODMENU patches as well as between EXRESIZE and MAXIMIZE patches 2019-11-04 15:17:19 +01:00
bakkeby
2112ea927f Adding exresize patch 2019-10-24 13:00:05 +02:00
bakkeby
d82be5a65d Adding nodmenu patch 2019-10-24 11:03:39 +02:00
bakkeby
4052783a63 Adding extrabar patch 2019-10-24 10:35:24 +02:00
bakkeby
3726d8d1ea Adding swallow patch 2019-10-24 09:33:20 +02:00
bakkeby
71e61d180e Adding ispermanent patch 2019-10-22 14:33:22 +02:00
bakkeby
2eb8bcdf15 Adding scratchpad patch 2019-10-10 23:33:04 +02:00
bakkeby
ed1c509df3 Adding mdpcontrol patch 2019-10-10 23:09:07 +02:00
bakkeby
b32fe221b6 Adding columns layout 2019-10-08 22:57:21 +02:00
bakkeby
83242012da Fixed minor cross-compatibility issues for combo, holdbar, leftlayout, hidevacanttags, taggrid and activetagindicatorbar 2019-10-08 00:54:06 +02:00
bakkeby
fc28c6a7b2 Adding statuscolors patch 2019-10-07 00:46:23 +02:00
bakkeby
15a4c58924 Adding taggrid patch 2019-10-05 23:28:50 +02:00
bakkeby
b6928ab1fb Adding killunsel patch 2019-10-05 22:55:46 +02:00
bakkeby
a25d00eb00 Adding tagall patch 2019-10-04 23:56:00 +02:00
bakkeby
e0a21f0869 Adding movestack patch 2019-10-04 23:13:55 +02:00
bakkeby
2de0c0e307 Adding maximize patch 2019-10-04 22:46:47 +02:00
bakkeby
40000bba1c Adding quitonlyonempty patch and made monocle layout position configurable for fullscreen and warp patches 2019-10-03 22:58:58 +02:00
bakkeby
9ebd9c8397 Adding focusurgent patch 2019-10-03 00:10:08 +02:00
bakkeby
1f21ed72d1 Adding focusadjacenttag patch 2019-10-02 23:57:25 +02:00
bakkeby
0a23ed6efd Adding restartsig and emptyview patches 2019-10-02 23:22:04 +02:00
bakkeby
37b1b54ab9 Adding fullscreen, holdbar and unfloatvisible patches 2019-10-02 00:03:21 +02:00
bakkeby
009819e186 Replaced flextile with flextile-deluxe, refactored monitor rules to support predetermined layouts per tag 2019-09-30 23:52:51 +02:00
bakkeby
aee6e0edf6 Adding focusonclick patch 2019-09-16 00:32:28 +02:00
bakkeby
dc5d77e95f Adding urgentborder patch 2019-09-16 00:13:03 +02:00
bakkeby
f60b0b5121 Adding winview patch 2019-09-15 23:36:05 +02:00
bakkeby
f8f67508d8 Adding xrdb patch 2019-09-15 22:45:22 +02:00
bakkeby
30e0a3b5e4 Adding sticky and warp patches 2019-09-15 00:46:00 +02:00
bakkeby
713c4e6197 Adding push no master variant patch 2019-09-15 00:22:24 +02:00
bakkeby
70012dbf2c Adding selfrestart patch 2019-09-14 23:58:04 +02:00
bakkeby
5501f81b9c Adding setborderpx patch 2019-09-14 23:28:04 +02:00
bakkeby
39e161e545 Adding push patch 2019-09-14 00:36:18 +02:00
bakkeby
c5b830e6ab Adding titlecolor patch 2019-09-13 23:56:05 +02:00
bakkeby
9e17c55d95 Adding ewmhtags patch 2019-09-12 00:48:29 +02:00
bakkeby
706e06be43 Adding combo patch 2019-09-11 23:35:43 +02:00
bakkeby
e89f262323 Adding monitor rules patch 2019-09-11 12:28:45 +02:00
bakkeby
5d33aebaaf Adding float border color patch 2019-09-11 00:51:37 +02:00
bakkeby
d0757568ee Minor tweaks to awesomebar patch (incl. alpha and systray compatibility) 2019-09-10 10:27:22 +02:00
bakkeby
d6517bf4f8 Adding awesomebar patch 2019-09-10 00:30:17 +02:00
bakkeby
4a17b880ad Adding alternativetags patch 2019-09-09 23:27:10 +02:00
bakkeby
1552bf22c0 Indentation / tidying 2019-09-09 23:08:28 +02:00
bakkeby
20872921bc Adding flextile patch 2019-09-09 22:25:19 +02:00
bakkeby
637cc50dda Adding centered master patches 2019-09-09 21:35:19 +02:00
bakkeby
973d64f51b Adding nrowgrid layout 2019-09-09 19:49:41 +02:00
bakkeby
342fc03b88 Adding horizgrid and gridmode layouts 2019-09-09 19:31:16 +02:00
bakkeby
cccb8fcecb Adding fibonacci layout 2019-09-09 18:50:05 +02:00
bakkeby
7da1b17169 Adding deck layout 2019-09-09 18:00:02 +02:00
bakkeby
e490af0eb2 Adding cfacts, vanitygaps patches and bottomstack layouts 2019-09-09 00:18:47 +02:00
bakkeby
747512af21 Adding center patch 2019-09-08 00:25:48 +02:00
bakkeby
8a71375fed Adding windowrolerule patch 2019-09-07 23:46:08 +02:00
bakkeby
c356be36b9 Adding statuspadding patch 2019-09-07 23:33:48 +02:00
bakkeby
7c23a59c38 Adding rotatestack patch 2019-09-07 22:42:01 +02:00
bakkeby
9ccc131284 Adding cyclelayouts patch 2019-09-07 22:27:06 +02:00
bakkeby
ab6eb60657 Adding tagallmon and tagswapmon patches 2019-09-05 23:59:13 +02:00
bakkeby
448f8db4c2 Adding togglefullscreen patch 2019-09-05 23:27:33 +02:00
bakkeby
cba0991170 Adding systray patch 2019-09-05 22:10:00 +02:00
bakkeby
c34c536f3e Adding alpha patch 2019-09-05 00:16:39 +02:00