Commit Graph

190 Commits

Author SHA1 Message Date
f713ddee39 cyclelayouts: reimplementing patch to not require the NULL layout, addresses #331 2023-01-29 22:13:50 +01:00
ad56835713 Bump to ba56fe9.
Revert "Remove dmenumon variable"

This reverts commit c2b748e7931e5f28984efc236f9b1a212dbc65e8.

Revert back this change. It seems to not be an edge-case anymore since
multiple users have asked about this new behaviour now.

Ref.
https://git.suckless.org/dwm/commit/ba56fe9fea0a28d8184a727a987836a0903e2682.html
2022-10-30 10:32:43 +01:00
cc58ad2ef4 Adding alt-tab patch ref. #303 2022-10-08 22:35:04 +02:00
2c180b8d9c Bump to c2b748e.
Remove dmenumon variable

Reasoning: Since 2011 dmenu has been capable of working out which
monitor currently has focus in a Xinerama setup, making the use
of the -m flag more or less redundant.

This is easily demonstrated by using dmenu in any other window
manager.

There used to be a nodmenu patch that provided these changes:
https://git.suckless.org/sites/commit/ed68e3629de4ef2ca2d3f8893a79fb570b4c0cbc.html

but this was removed on the basis that it was very easy to work
out and apply manually if needed.

The proposal here is to remove this dependency from dwm. The
mechanism of the dmenumon variable could be provided via a patch
if need be.

The edge case scenario that dmenu does not handle on its own, and
the effect of removing this mechanism, is that if the user trigger
focusmon via keybindings to change focus to another monitor that
has no clients, then dmenu will open on the monitor containing the
window with input focus (or the monitor with the mouse cursor if
no windows have input focus).

If this edge case is important to cover then this can be addressed
by setting input focus to selmon->barwin in the focus function if
there is no client to give focus to (rather than giving focus back
to the root window).

Ref.
https://git.suckless.org/dwm/commit/c2b748e7931e5f28984efc236f9b1a212dbc65e8.html
2022-08-29 21:49:41 +02:00
88eb89ab0d Roll back const change for IPCCommands 2022-08-29 21:37:43 +02:00
90f9b2d982 Bump to 84d7322.
config.def.h: make keys and buttons const

Pretty much all other variables are declared as const when they're not
modified.

Ref.
https://git.suckless.org/dwm/commit/84d7322113c2bf023f5eaa8537fb0e72d4105046.html
2022-08-21 10:33:53 +02:00
b93a5de558 Expose showhideclient to external tools (fsignal, IPC) ref #287 2022-08-13 16:24:55 +02:00
c438eabdc2 Adding nametag patch 2022-08-12 13:47:25 +02:00
2e496ed931 dwmc: adding string support ref. #284 2022-08-01 10:37:19 +02:00
5f7df0b0dc Adding tagpreview patch (#271) 2022-07-05 14:55:42 +02:00
197c218304 Adding shiftswaptags patch ref. #270 2022-07-04 13:56:39 +02:00
d3ab291944 Adding shiftboth patch ref. #270 2022-07-04 13:45:06 +02:00
279c571986 Adding shifttagclients patch ref. #270 2022-07-04 13:07:36 +02:00
a15a259926 Adding shifttag patch ref. #270 2022-07-04 11:28:23 +02:00
2f70c42aab Adding renamed scratchpads patch 2022-06-20 14:00:09 +02:00
ae67378b20 Tag-Sync patch (for syncing tags across all monitors) (#219)
* Tag-Sync patch
* Major compatibility updates
* SWITCHTAG/TAGSYNC compatibility
* tagsync: refactoring

Co-authored-by: bakkeby <bakkeby@gmail.com>
2022-02-11 16:57:53 +01:00
0a4e6de597 Add a configuration option for fullscreen locking
Some people are annoyed to have this new behaviour forced for some
application which use fake fullscreen.

Ref. https://git.suckless.org/dwm/commit/138b405f0c8aa24d8a040cc1a1cf6e3eb5a0ebc7.html
2022-01-10 17:18:45 +01:00
a9078fdb4d Adding underlinetags patch ref. #199 2021-11-23 22:49:27 +01:00
63fed59d19 Adding taglabels patch ref. #199 2021-11-23 22:36:53 +01:00
67fc80803d onlyquitonempty: refactoring patch to only take client windows into
consideration when deciding whether or not to allow dwm to quit

As per the original patch
https://dwm.suckless.org/patches/onlyquitonempty/

it used XQueryTree to get a count of the number of windows open to
determine whether to allow the window manager to exit.

This meant that the empty quit count variable would have to take
into account background windows such as the bar, which has side
effects like plugging in another monitor could mean that you would
not longer be allowed to quit dwm until the monitor is removed.

Likewise a systray and each systray icon would give a +1 to the
number of windows in the system.

This is unintuitive to understand and convoluted to explain, hence
the refactoring here to use the more sane approach of only counting
the number of client windows that the window manager manages.

This is an old idea which was intentionally not added to
dwm-flexipatch due to the aim of staying true to the original patch
(as in if you were to patch that manually you would get the same
experience as you had when trying the patch out in dwm-flexipatch).

This is ref. discussion in #194.
2021-10-31 13:45:18 +01:00
e68f434944 Add a statusallmons and staticstatus easily toggleable in patches.h ref. #188 2021-10-07 11:46:31 +02:00
036421845f Adding separate statuscolors bar module ref. #180 2021-08-25 12:18:01 +02:00
f8ae6714db Adding winicon patch 2021-07-27 13:40:53 +02:00
0733c39e0c sed source files to end with 1 new line 2021-06-14 08:54:23 +03:00
9072ef28a4 Splitting SchemeHid to SchemeHidNorm and SchemeHidSel given that a hidden client may still be the selected client ref. #148 2021-05-21 10:18:41 +02:00
7fe81a6280 fakefullscreen vs fakefullscreenclient compatibility, let fakefullscreen take precedence 2021-05-13 14:25:26 +02:00
23c76d13b5 vanitygaps: replaced smartgaps with smartgaps_fact, allowing gaps to be increased when there is only one client. 2021-04-16 10:16:04 +02:00
6e80cb5f36 Upgrading statuscmd patch.
The original statuscmd patch has been renamed to statuscmd-nosignal
to separate the logic from the dwmblocks integration that involves
signals. I assume as the latter has become more popular it has replaced
the statuscmd in name.
2021-04-14 11:23:18 +02:00
7efb64d685 Upgraded the dwmblocks patch for statuscmd which changes the signalling
mechanism from SIGUSR1 to SIGRTMIN which is likely to cause issues for
those that already have a working setup. A compatibility option has been
added which changes this back to SIGUSR1. Note that configuration was
also changed.

This was ref. reported issue #114.
2021-04-14 10:42:52 +02:00
ac737f9dfc Adding xkb patch as per request #111 2021-04-07 15:35:56 +02:00
0c88a49e27 Adding distributetags patch 2021-04-06 12:47:38 +02:00
905dc4d7af Updating inplacerotate to include rotatestack feature ref. #108 2021-04-06 11:25:45 +02:00
647c5935b3 Adding tapresize notes to README.md 2021-03-31 09:18:58 +02:00
07277cc460 Add tapresize patch 2021-03-30 22:49:59 +03:00
0f9104285b Adding tab patch 2021-03-09 13:23:39 +01:00
0f14ffade1 Adding tatami layout option for flextile 2021-02-18 14:30:20 +01:00
8e9130080c riodraw: upgrading patch to include rio-spawning of windows 2021-02-16 10:29:20 +01:00
f5bbd9b4c3 riodraw: upgrading patch to include rio-spawning of windows 2021-02-16 10:26:49 +01:00
009b84cbdc placemouse: upgrade to include moveorplace function 2021-02-16 09:43:44 +01:00
9fcfa8d6ce Adding focusdir patch 2021-02-11 12:29:48 +01:00
1d092253e3 Adding riodraw patch 2021-02-11 12:01:08 +01:00
b4758c388d placemouse: adding options for tiled position being relative to client center 2021-01-23 16:58:44 +01:00
0f28402305 Adding placemouse patch 2021-01-22 11:28:55 +01:00
53c183a542 Indentation correction ref. #89 2021-01-22 11:14:58 +01:00
5fd83cb76b added the layoutmenu patch 2021-01-02 01:26:21 +01:00
93e2544040 flextile: adding centeredmaster horiz example 2020-11-28 10:57:16 +01:00
e26d50c110 flextile: allow nmaster of 0 to fall back to stack arrangement rather than master, ref. #81 2020-11-23 15:07:20 +01:00
bd5db9e63f Adding symbol func to flextile-deluxe column description 2020-11-18 13:12:13 +01:00
251e3a23de Adding tiled indicators as suggested in #68 2020-11-05 12:16:38 +01:00
c47f61387d mpdcontrol: fixing typo, mpd (music player daemon), not mdp 2020-10-04 21:19:54 +02:00