Commit Graph

1716 Commits

Author SHA1 Message Date
Aryadev Chavali
aabccefea1 Added patches folder 2024-04-18 14:11:55 +01:00
Aryadev Chavali
d1e0e1e8c6 Turn off clang-format-mode with an eval in dir-locals 2024-04-18 11:10:05 +01:00
Aryadev Chavali
92a9e09643 Merged laptop version with remote
Laptop had gapless grid
2024-04-18 11:10:03 +01:00
Aryadev Chavali
dde3212820 Added "deck" layout patch 2023-11-06 00:32:24 +00:00
Aryadev Chavali
13190da417 Temporarily disabled attachaside diff
Using normal dwm mechanisms for now
2023-11-06 00:31:49 +00:00
Aryadev Chavali
200d941db0 new colorscheme, bar is now on bottom 2023-10-22 15:51:37 +01:00
Aryadev Chavali
bd5a5af3c4 Changed font of DWM 2023-10-22 05:04:54 +01:00
Aryadev Chavali
edbe1a5660 Added fibonacci layout to DWM 2023-10-20 19:01:53 +01:00
Aryadev Chavali
f815fe0a36 Add some comments in config.h 2023-10-06 01:28:44 +01:00
Aryadev Chavali
55ea682287 (config.h)~changed tag 6 to musical note 2022-10-11 15:37:50 +01:00
Aryadev Chavali
b6de575896 (config.h)-whitespace 2022-09-18 15:21:30 +01:00
Aryadev Chavali
7dcfe6a8a5 (config.h)~changed a few things
~ green colours main theme
+ binding for increasing gap size
2022-09-18 13:02:59 +01:00
Aryadev Chavali
f778ddebec +dwm-statuscmd diff, didn't work 2022-01-07 07:59:52 +00:00
Aryadev Chavali
80deabb110 ~config.h now has toggleable gaps 2022-01-07 07:59:30 +00:00
Aryadev Chavali
17dc518408 (config.h)~scratchpad to alacritty and turn off gaps
gaps can be set on demand, don't see any point in using it.
2021-07-11 04:03:02 +01:00
Aryadev Chavali
50d10c3cc8 (Config)~changed some binds, minor edits 2021-05-22 02:16:49 +01:00
Aryadev Chavali
56e8e3e3f9 ~make notify-send send a low priority notification 2021-05-07 11:07:40 +01:00
Aryadev Chavali
11be4c610e (Config)~set browsers to always goto 2nd tag 2021-03-27 10:20:08 +00:00
Aryadev Chavali
7356772aa0 (Config)+custom functions with bindings that print and reset gaps 2021-03-27 10:19:32 +00:00
Aryadev Chavali
5739ae891f (Config)~borderpx 10 -> 2 2021-03-27 10:18:21 +00:00
Aryadev Chavali
1933edefee (Config)~changed colours green -> blue
A nice little change.
2021-03-27 10:18:03 +00:00
Aryadev Chavali
d66f3c8e4c +patches for centered master 2021-03-22 07:15:53 +00:00
Aryadev Chavali
84e9f9c1c7 ~scratchpadcmd Emacs -> st + tmux 2020-09-29 14:24:22 +01:00
Aryadev Chavali
37c9aa2efe -dwm-xrdb diff because I like specifying colours manually 2020-09-29 14:03:45 +01:00
Aryadev Chavali
5e7e634bdc +dwm attachaside and dwm pertag 2020-09-29 14:03:38 +01:00
Aryadev Chavali
acccf4fa7c +a new colour for my status bar 2020-09-29 14:03:24 +01:00
Aryadev Chavali
a1d86fc43d ~mfact 0.5 -> 0.55 2020-09-29 14:03:16 +01:00
Aryadev Chavali
578df43143 -Hyperkey commands
Removed the hyperkey from sxhkd as well as xmodmap, replace caps lock
with escape instead
2020-09-29 14:02:51 +01:00
Aryadev Chavali
b390f3059e ~scratchpad command to Emacs 2020-09-29 14:02:18 +01:00
Aryadev Chavali
483b387d16 +my custom config for dwm
my config.h along with all the diffs I've used to make it easier for
others to try and imitate my dwm instance.
2020-07-21 01:37:58 +01:00
dx
c4e4f75bad Merge branch 'master' of https://git.suckless.org/dwm 2020-07-09 21:53:08 +01:00
dx
105b5dc5db +patches for scratchpad, color specification and gaps 2020-07-09 21:50:14 +01:00
Hiltjo Posthuma
bb2e7222ba dwm.1: fix wrong text in man page 2020-07-08 18:05:50 +02:00
Alex Flierl
f04cac6d6e Fix memory leaks in drw
The function drw_fontset_free in drw.c was never called.
2020-06-11 18:32:21 +02:00
bakkeby
f09418bbb6 dwm crashes when opening 50+ clients (tile layout)
Many users new to dwm find themselves caught out by being kicked out to the login manager (dwm crashing) when they open 50+ clients for demonstration purposes. The number of clients reported varies depending on the resolution of the monitor.

The cause of this is due to how the default tile layout calculates the height of the next client based on the position of the previous client. Because clients have a minimum size the (ty) position can exceed that of the window height, resulting in (m->wh - ty) becoming negative. The negative height stored as an unsigned int results in a very large height ultimately resulting in dwm crashing.

This patch adds safeguards to prevent the ty and my positions from exceeding that of the window height.
2020-04-25 13:31:02 +02:00
Chris Down
ed3ab6b4fc 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-22 20:33:39 +02:00
Chris Down
f087d20e6e getatomprop: Add forward declaration
No functional changes, but for every other function we have a forward
declaration here. getatomprop should be no exception.
2020-04-22 20:33:26 +02:00
Chris Down
a8e9513783 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 17:56:41 +02:00
Hiltjo Posthuma
c82db690cc config.mk: fix POSIX_C_SOURCE macro for feature test for snprintf()
The feature test was incorrect:
_POSIX_C_SOURCE=2

"The value 2 or greater additionally exposes definitions for POSIX.2-1992."
http://man7.org/linux/man-pages/man7/feature_test_macros.7.html

A higher value is needed (atleast 1995):
https://pubs.opengroup.org/onlinepubs/9699919799/functions/snprintf.html

FreeBSD feature test macro:
on
https://github.com/freebsd/freebsd/blob/master/include/stdio.h line 297

This was already fixed in dmenu.

This fixes a warning on FreeBSD, reported by Plasmoduck on IRC, thanks.
2020-04-03 15:36:32 +02:00
Anselm R Garbe
cb3f58ad06 Prepare 6.2 release. 2019-02-02 04:50:42 -08:00
Hiltjo Posthuma
b69c870a30 pledge: add rpath promise for the ugly Xft font fallback 2018-06-02 17:15:42 +02:00
Hiltjo Posthuma
e78b4a9207 Makefile: just show the compiler output
Don't be fancy and just show the actual output so debugging is simpler.
2018-06-02 17:10:28 +02:00
Klemens Nanni
3cd4023fb3 Do not strip at link stage
Building with debug symbols is worthless unless LDFLAGS are manually
adjusted as well.
2018-06-02 16:56:10 +02:00
Klemens Nanni
f40f86fa87 Pledge on OpenBSD 2018-05-25 11:49:30 +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
Christopher Drelich
c8e9479186 Function declarations in correct order.
In dwm.c function declarations are in alphabetical order except for
updategeom(). There doesn't appear to be any reason for this, so this
patch corrects that, and now all function declarations are in
alphabetical order.
2018-05-12 19:19:20 +02:00
Hiltjo Posthuma
10dfa65860 remove old TODO and BUGS entries
the bug in the dwm man page is an (ancient) Java issue.

Thanks David and quinq for the patches and feedback!
2018-05-12 19:14:19 +02:00
Hiltjo Posthuma
3bd8466e93 update README: remove mentioning the old dextra repo
Thanks Christopher Drelich <cd@cdrakka.com>
2018-03-14 21:03:11 +01:00
Christopher Drelich
76c8c16d79 All functions in alphabetical order except for this one. 2018-03-14 21:02:06 +01:00
Christopher Drelich
3cb34830eb ColBorder has been moved to the enum with ColFg and ColBg. 2018-03-14 17:46:48 +01:00