Commit Graph

1730 Commits

Author SHA1 Message Date
Aryadev Chavali
83c004cd19 [PATCH] Adjust gapless grid for pertag gaps 2024-05-22 14:01:19 +05:30
Aryadev Chavali
f8aa7781bb [PATCH] Gaps are set on a pertag basis
For each tag there is a gap (set to the default gappx on
construction).  When adjusting gaps or arranging a monitor use the
gaps of the currently selected tag.  This means I can have gaps
activated in some tags and not activated on others.
2024-05-22 14:01:19 +05:30
Aryadev Chavali
73de6fb9e9 Remove dmenumon and dmenucmd
Obsolete due to previous patch
2024-05-22 12:54:02 +05:30
Aryadev Chavali
e827ba7012 [Patch] Remove dmenu functionality from DWM
If using an external keyboard client such as sxhkdrc then dwm has no
business or need to spawn something like dmenu.
2024-05-22 12:53:51 +05:30
Aryadev Chavali
a87d7a9bb7 Added Makefile recipe just for manpages 2024-04-23 16:47:24 +05:30
Aryadev Chavali
fea55bbc70 Cleaned up and updated man page for DWM
This will provide up to date references to my key bindings!
2024-04-23 16:46:48 +05:30
Aryadev Chavali
2d75f3f88b Made patch for adding gaps to dwm-monocle 2024-04-23 16:16:25 +05:30
Aryadev Chavali
09ed528140 Monocle now uses gaps 2024-04-23 16:12:19 +05:30
Aryadev Chavali
1c0d8db78e Made a patch for adding gaps to gapless grid 2024-04-23 15:43:06 +05:30
Aryadev Chavali
f84237584b Add gaps to gapless-grid (properly)
This adjusts both the x and y of each client now.
2024-04-23 15:42:04 +05:30
Aryadev Chavali
f98982eca6 Revert (pretty crappy) gap version of gapless-grid 2024-04-23 15:39:33 +05:30
Aryadev Chavali
0d4564c840 Added patch dwm-inplacerotate 2024-04-23 15:38:10 +05:30
Aryadev Chavali
323ea47a96 Use st instead of alacritty for scratchpad 2024-04-23 05:21:41 +05:30
Aryadev Chavali
1757ff83cb Added a README, other small changes 2024-04-22 17:24:14 +05:30
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