Commit Graph

226 Commits

Author SHA1 Message Date
bakkeby
8726ae0aa9 Adding _IS_FLOATING xproperty patch for floating windows ref. #50 2020-09-28 14:39:17 +02:00
Aaron Duxler
da05d567a1 setborderpx fix link in changelog 2020-09-21 01:14:34 +02:00
bakkeby
00320fb842 Adding nomodbuttons patch 2020-09-18 10:53:07 +02:00
bakkeby
d91db5cd65 anybar: adding experimental support for having both anybar + dwm bar(s) in play 2020-09-10 15:24:51 +02:00
bakkeby
8994f375e8 anybar: initial commit 2020-09-10 13:32:28 +02:00
bakkeby
ff9811f73d Just some minor changes adding bar border patch ref. #41 2020-09-09 17:24:02 +02:00
bakkeby
b3e6e3531b ipc: adding function/signal bindings 2020-09-08 16:57:31 +02:00
bakkeby
4379517c25 Adding IPC v1.5.5 patch 2020-09-07 17:48:58 +02:00
bakkeby
f4f5ecab75 Scratchpads improvement (multi-monitor support) 2020-09-07 09:50:42 +02:00
bakkeby
cb42097c22 Assortment of fullscreen improvements 2020-09-05 11:51:18 +02:00
bakkeby
d8ebab4f75 Adding colorbar (implicit integration) 2020-08-27 21:05:59 +02:00
bakkeby
b3d336322e Adding aspectresize patch 2020-08-27 07:34:21 +02:00
bakkeby
f45acf8795 Added alttagsdecoration patch.
Unified tag icon handling while adding support for different icons per monitor.

In general LENGTH(tags) has been replaced with a NUMTAGS macro (defaulting to 9)
and the tags[] array has been replaced with a tagicons[][] array, access to which
is done through a single function tagicon.

This allows one central place where alternative tags, alttagsdecoration, or other
future tags logic is handled. This also gives a consistent display of tags
regardless of the module that presents tags.

Additionally the monitor index has been integrated into dwm for easier access.
2020-08-25 16:27:14 +02:00
bakkeby
e4e3a4463d Simplified Pango integration by settling on common function signatures. 2020-08-22 20:34:17 +02:00
bakkeby
8bf898eab5 Simplified Pango integration by settling on common function signatures. 2020-08-22 20:32:49 +02:00
bakkeby
32819a48f3 Added clientindicators patch and unified and simplified indicator code. Enabled centeredwindowname option for awesomebar and bartabgroups patches. 2020-08-22 16:25:56 +02:00
bakkeby
91b6671981 Added zoomfloating patch. Changed zoom and togglefloating functions to use c rather than selmon->sel. 2020-08-22 09:21:23 +02:00
bakkeby
110cc7d240 Added logic to auto-hide bars if nothing is drawn on them (e.g. for standalone bars that only show certain clients) 2020-08-22 08:43:07 +02:00
bakkeby
81488b4862 Simplification of color configuration; settling on a set of color schemes that is shared between multiple patches (urgentborder, floatborder and titlecolor patches made non-optional) 2020-08-21 15:49:15 +02:00
bakkeby
a085c788e3 Adding experimental flexwintitle patch based on bartabgroups 2020-08-20 13:30:12 +02:00
bakkeby
de47bd8839 Adding bartabgroups patch 2020-08-13 15:42:49 +02:00
bakkeby
57e727b498 Adding focusmaster patch 2020-08-11 10:25:19 +02:00
bakkeby
10f4d513ec Adding decoration hints patch 2020-08-11 10:17:02 +02:00
bakkeby
14e148be2a Adding steam patch 2020-08-10 17:09:20 +02:00
bakkeby
1dd4ec5bc4 Adding insets patch 2020-08-10 13:16:12 +02:00
bakkeby
dfe1c40563 Adding cool autostart patch 2020-08-10 10:24:16 +02:00
bakkeby
ed7a43edf1 Adding reorganizetags patch 2020-08-02 15:18:18 +02:00
bakkeby
56ad78e7d2 Adding link to flextile-deluxe wiki page 2020-07-23 19:41:18 +02:00
bakkeby
0f74a8ff03 README.md: wiki page link updates 2020-07-22 18:53:15 +02:00
bakkeby
d7a58a3c88 README.md: wiki page link updates 2020-07-22 18:38:56 +02:00
bakkeby
3acae9e67d Adding link to barmodules patch 2020-07-19 19:32:41 +02:00
bakkeby
e9b6d35cac Strikethrough correction 2020-07-19 17:01:52 +02:00
bakkeby
023aa218e4 Adding powerline patch 2020-07-19 16:57:30 +02:00
bakkeby
a7d1663571 Adding bar modules which splits the dwm bar into modules allowing for re-arrangement of the bar and easier integration for new features 2020-07-19 05:01:38 +02:00
bakkeby
e57fa18a48 Adding note about dwm-flexipatch-1.0 branch 2020-07-18 21:36:56 +02:00
bakkeby
664484d572 Refinement 2020-07-18 13:03:30 +02:00
bakkeby
903b32ac8b Major refactoring in preparation for bar modules 2020-07-15 08:57:30 +02:00
bakkeby
474c91ea0c dwm.1: fix wrong text in man page (aaad5f) 2020-07-08 20:00:25 +02:00
bakkeby
8df311b827 Extrabar compatibility improvements 2020-07-05 21:56:46 +02:00
bakkeby
ab488abc11 Extrabar compatibility improvements 2020-07-05 21:53:36 +02:00
bakkeby
5a94b44e80 Adding link to sendmon_keepfocus patch 2020-06-24 17:27:01 +02:00
bakkeby
9574035849 Adding sendmon_keepfocus patch 2020-06-24 17:12:54 +02:00
bakkeby
ce12e07163 Adding statusbutton patch ref. #33 2020-06-24 16:36:51 +02:00
bakkeby
04906b4ddf Adding resizepoint patch 2020-06-24 14:49:30 +02:00
bakkeby
c3d368f193 Adding bar_height patch 2020-06-21 20:04:56 +02:00
bakkeby
6a683c729e Adding floatpos patch. 2020-06-21 15:33:29 +02:00
bakkeby
62cca4897b Tidy following tagothermonitor merge 2020-06-21 09:07:51 +02:00
matt
6aca089661 Adding tagothermonitor patch 2020-06-19 23:18:50 +02:00
bakkeby
5e0a9c49f8 Adding sizehints patch 2020-06-15 21:01:05 +02:00
bakkeby
6f20203975 Added RULE macro to replace rules setup making the default config less of an abomination and making it simpler to include new rules based patches 2020-06-14 15:52:47 +02:00
bakkeby
7ba6ea50bf Upgrade to 5e34b2 2020-06-11 20:05:49 +02:00
bakkeby
8c4eaccf16 Adding pango patch (ref. #10)
Text from original patch:

Using pango markup for status text

Use a single font. Removed some code utf8 code from drw.
Created for pango 1.44. Older versions might not have getter
for font height, ascent + descent can be used instead.
All texts are rendered with pango but only status is with
markup. Increased stext size (in case a lot of markup is used).
MIN/MAX is already defined (didn't redefine them).
2020-06-11 16:44:43 +02:00
bakkeby
164095db40 Adding staticstatus patch 2020-06-10 11:52:35 +02:00
bakkeby
af96d4c358 Adding keymodes patch 2020-05-31 15:14:29 +02:00
bakkeby
7b2c30b371 Adding color emoji patch 2020-05-29 20:43:55 +02:00
bakkeby
e79aec52c2 Adding status2d patch 2020-05-26 20:53:53 +02:00
bakkeby
fc8434abd1 Adding moveplace patch 2020-05-21 19:58:11 +02:00
bakkeby
2cb3e697e4 Adding moveresize patch as per #25 2020-05-21 18:55:47 +02:00
bakkeby
f1bc4e8858 Moving vanitygaps patches to https://github.com/bakkeby/patches/ repository 2020-05-08 18:53:52 +02:00
bakkeby
75d5f1e0c5 Adding shiftview patch 2020-05-03 16:09:05 +02:00
bakkeby
657988fbbf Added the no transparent borders patch 2020-05-03 10:09:26 +02:00
bakkeby
f028377c98 Adding dwmblocks patch 2020-05-02 14:58:23 +02:00
bakkeby
5c1e09688f Adding reference to fakefullscreenclient patch 2020-05-01 17:06:28 +02:00
bakkeby
b837899f7a Adding option to be able to reverse cycle through flextile-deluxe layouts 2020-05-01 16:45:25 +02:00
bakkeby
f7bb7f4403 Updating patch links 2020-04-27 20:54:16 +02:00
bakkeby
14b7edd911 Expanded monitor rules patch to include nmaster, showbar and topbar options. 2020-04-26 16:29:44 +02:00
bakkeby
5848460fff Improved swallow and switchtag compatibility 2020-04-23 17:19:17 +02:00
bakkeby
1bed3b0093 drawbar: Don't shadow sw global
This jarred me a bit while reading the code, since "sw" usually refers
to the global screen geometry, but in drawbar() only it refers to
text-related geometry. Renaming it makes it more obvious that these are
not related.
2020-04-23 08:07:29 +02:00
bakkeby
11b47dda99 setmfact: Unify bounds for compile-time and runtime mfact
There are two places that mfact can be set:

- In the mfact global, which is defined at compile time and passed
  into m->mfact during monitor setup. No bounds checks are performed,
  but the comment alongside it says that valid values are [0.05..0.95]:

      static const float mfact = 0.55; /* factor of master area size [0.05..0.95] */

- By setmfact, which adjusts m->mfact at runtime. It also does some
  minimum and maximum bounds checks, allowing [0.1..0.9]. Values outside
  of that range are ignored, and mfact is not adjusted.

These different thresholds mean that one cannot setmfact 0.95 or 0.05,
despite the comment above that lists the legal range for mfact.

Clarify this by enforcing the same bounds in setmfact at runtime as
those listed for mfact at compile time.
2020-04-20 18:40:25 +02:00
bakkeby
ec32a28380 [dwm][PATCH] statuscolors, fix status text width computation
This is an updated version of the statuscolors patch that fixes the
computation of the text width. The previous version of the patch
inculded all the byte codes that are used to select the color schemes
when computing the width, obaining a width that is larger than the real
width. This patch fixes that by adding up the widths of the individual
chunks, separated by the codes that select the color schemes.
2020-04-16 20:22:23 +02:00
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
e6f9b592ee Adding reference to dragcfact patch 2020-04-06 13:30:05 +02:00
bakkeby
32030e4b2c Correcting link to patches.h following move to patches.def.h 2020-04-02 12:43:48 +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
cd818c14bb Update about layout updates 2020-03-22 19:51:09 +01:00
bakkeby
4b45c6071f Adding vtcolors patch 2020-02-11 18:31:11 +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
fa6e3d9500 Holdbar compatibility with barpadding, extrabar and statuspadding. 2020-01-24 20:41:08 +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
462445a378 Added [dwm][patch][dragmfact] Fix patch to work with multiple monitors 2019-12-15 09:31:52 +01:00
bakkeby
ab2c5fe5da Adding switchtag improvements 2019-11-26 20:23:58 +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
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
9e53b46e35 Adding dragmfact patch 2019-10-24 09:52:11 +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