Commit Graph

157 Commits

Author SHA1 Message Date
David JULIEN 36a8e80ee2 feat: restoreadterrestart patch 2023-01-08 18:11:51 +01:00
David JULIEN 4a476e877c feat: restartsig patch 2023-01-08 15:02:34 +01:00
David JULIEN 16bc69ce1c
Merge branch 'upstream'
update to 6.4
2023-01-08 15:00:38 +01:00
David JULIEN 115058faa8 feat: window selborder gets its own variable 2023-01-08 00:23:43 +01:00
David JULIEN 4af8e13709 fix: fonts array
fonts not in the array couldn't be tweaked through xrdb
2022-11-04 20:56:14 +01:00
David JULIEN aa43e52021 fix 1b6b09b : make pinentry-gtk-3 floating window 2022-11-04 18:51:25 +01:00
David JULIEN 89d751ef3a feat: support japanese symbols 2022-11-01 23:25:24 +01:00
David JULIEN ad4ddc40f3 feat: normbordercolor makes cindows dinstinguishable 2022-10-31 15:54:27 +01:00
Hiltjo Posthuma ba56fe9fea Revert "Remove dmenumon variable"
This reverts commit c2b748e793.

Revert back this change. It seems to not be an edge-case anymore since
multiple users have asked about this new behaviour now.
2022-10-28 16:37:56 +02:00
David JULIEN 1b6b09b50d feat: make pinentry window a floating window 2022-10-25 11:56:37 +02:00
Stein c2b748e793 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).
2022-08-28 11:39:43 +02:00
NRK 84d7322113 config.def.h: make keys and buttons const
pretty much all other variables are declared as const when they're not
modified.
2022-08-19 11:47:22 +02:00
David JULIEN 82003c8dad feat: personnal config 2022-04-23 15:58:34 +02:00
David JULIEN 3a5835b297 feat: xresources patch 2022-04-23 14:05:27 +02:00
David JULIEN 65e044bd26 feat: center patch 2022-04-23 13:37:21 +02:00
David JULIEN e382777f81 feat: swallow patch 2022-04-23 13:31:45 +02:00
David JULIEN a7ad711b5a feat: notitle patch 2022-04-23 13:30:27 +02:00
David JULIEN 116cf1f7c7 feat: fullgaps patch 2022-04-23 13:28:58 +02:00
Quentin Rameau 138b405f0c Add a configuration option for fullscreen locking
Some people are annoyed to have this new behaviour forced for some
application which use fake fullscreen.
2021-07-14 11:26:37 +02:00
Hiltjo Posthuma c3a2e016bb config.def.h: ClkTagBar missing from comment
by Christopher Drelich <cd@cdrakka.com>

Patch was mangled on the ML, also adjusted the order to be the same as
the enum in dwm.c
2018-05-25 06:56:36 +02:00
Markus Teich 2952b68db8 cleanup
- unify multi-line expression alignment style.
- unify multi-line function call alignment style.
- simplify client moving on monitor count decrease.
- clarify comment for focusin().
- remove old confusing comment about input focus fix in focusmon(). The
  explanation is already in the old commit message, so no need to keep it in the
  code.
- remove old comment describing even older state of the code in focus().
- unify comment style.
- break up some long lines.
- fix some typos and grammar.
2017-03-28 20:23:28 +02:00
Anselm R Garbe 975c898376 applied Markus' decouple color-scheme patch 2016-12-05 10:01:33 +01:00
Hiltjo Posthuma 56a31dc4a7 config.def.h: style improvement, use color Scheme enum 2016-06-28 18:04:56 +02:00
Markus Teich 7af4d439bd import new drw from libsl and minor fixes.
- better scaling for occupied tag squares.
- draw statusline first to omitt some complicated calculations.
2016-06-26 13:52:36 +02:00
Hiltjo Posthuma 3c91283ede unboolification 2015-11-08 22:48:43 +01:00
Hiltjo Posthuma 43e82adf0d separate program-specific c99 bool and X11
True, False are X11-specific (int), make sure to use c99 stdbool for
program-specific things.
2015-11-08 20:35:25 +01:00
Hiltjo Posthuma 7e1182ce55 config.h: use common default font, pass Xft font name to dmenu
dmenu uses Xft now (soon to be released).
2015-10-20 23:10:54 +02:00
Eric Pruitt 14343e69cc Add Xft and follback-fonts support to graphics lib 2015-03-13 21:44:22 +01:00
Anselm R Garbe 6af273771c applied improved version of Martti Kühne's dmenu/multi monitor approach from dwm, no dmenuspawn required 2013-08-02 22:40:20 +02:00
Anselm R Garbe 4fb31e0896 do not take our font declaration as default for st 2013-07-20 09:08:46 +02:00
Anselm R Garbe 7edc596311 include font argument for st by default 2013-05-02 17:31:22 +02:00
Anselm R Garbe 656882d76f use st as default terminal from now on 2013-05-01 15:41:44 +02:00
anselm@garbe.us 61fe833a06 reverting to plain X11 fonts in order to implement draw.c default 2012-11-18 10:56:54 +01:00
anselm@garbe.us fd3c19bd55 incorporating Xft instead of cairo, cairo provides far too many options 2012-11-02 12:17:50 +01:00
anselm@garbe.us c4b6ac812e added 20h's clarification 2012-01-22 20:23:49 +01:00
Connor Lane Smith f099d2d5b5 new default colour scheme 2011-11-06 20:36:23 +01:00
Connor Lane Smith b1a28ae1da apply nmaster patch 2011-10-25 20:40:46 +01:00
anselm@garbe.us c6180949a7 applied Sylvain Laurent's EWMH fullscreen state patch, simplified his patch a bit 2010-05-27 08:19:08 +01:00
Anselm R Garbe c3feffa1e2 applied Tony Lainson's config.def.h patch 2009-09-15 13:50:41 +01:00
Anselm R Garbe 758b100d12 extended rule to apply monitors if set up accordingly 2009-07-09 21:52:17 +01:00
Anselm R Garbe 565050ac51 removed monsyms, useless 2009-07-09 11:29:01 +01:00
Anselm R Garbe 5e408d8ff6 restricting number of mons by length of monsyms 2009-07-09 11:21:06 +01:00
Anselm R Garbe 1724f7fa43 introducing const where it might make some sense 2009-07-08 18:59:20 +01:00
Anselm R Garbe a9e145fe6d changed focusmon/tagmon to work on prev/next instead (-1/+1), changed shortcuts to Mod1-, Mod1-. and Mod1-Shift-, Mod1-Shift-. 2009-07-02 20:37:26 +01:00
Anselm R Garbe ca376970db more sensible 2009-07-02 16:48:54 +01:00
Anselm R Garbe 8352f2b3a8 hmm, can't decide on the default monitor symbol set 2009-07-02 16:47:00 +01:00
Anselm R Garbe d4bfde79f3 update 2009-07-02 16:44:57 +01:00
Anselm R Garbe 7ac8c1d4e1 introduced monitor symbols 2009-07-02 16:41:52 +01:00
Anselm R Garbe 1d729384d1 several bugfixes 2009-07-01 19:15:20 +01:00
Anselm R Garbe 1ddfc571ae several simplifications 2009-06-30 19:39:59 +01:00