Commit graph

1846 commits

Author SHA1 Message Date
Luke Smith
6f00f18d91
dwm.png rm'd, me added to lic 2020-05-03 14:00:09 -04:00
Luke Smith
a956836fb0
use blue 2020-05-02 14:59:17 -04:00
Luke Smith
ee885abd89
causes fewer problems 2020-05-02 07:13:40 -04:00
Luke Smith
806bb2a2bf
expandible scratchpad patch
super+shift+return for dropdown terminal

super+' for dropdown calculator
2020-04-26 12:34:14 -04:00
Luke Smith
206a4a3833
super+shift+q runs sysact 2020-04-26 12:14:35 -04:00
Luke Smith
11160adf7b
old scratchpad patch removed 2020-04-26 11:58:11 -04:00
Luke Smith
18c6a63f86
Merge branch 'stuff' 2020-04-26 11:26:32 -04:00
Luke Smith
990e0239d1
Merge branch 'master' of github.com:LukeSmithxyz/dwm into HEAD 2020-04-26 11:21:21 -04:00
Luke Smith
d6dfa585fc
don't necessarily restart dwmblocks 2020-04-26 11:18:07 -04:00
Luke Smith
cbc2657c0f
gitignore 2020-04-26 11:17:38 -04:00
Luke Smith
a7d35a3a2b
big binds change 2020-04-26 11:16:15 -04:00
Luke Smith
87fac622d8
Merge pull request #42 from AlexSyssoyev/patch-1
Change bg address on xcompmgr toggle
2020-04-25 18:41:48 -04:00
Alexei Syssoyev
2ae2873772
Change bg address on xcompmgr toggle 2020-04-25 18:41:05 -03: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
Luke Smith
f14d957787
Merge pull request #36 from jlaw/patch-1
fix: Typo; -sb assigned the wrong color
2020-04-17 18:21:47 -04:00
Jackson Law
da11cd9176
fix: Typo; -sb assigned the wrong color 2020-04-17 14:38:36 -07:00
Luke Smith
f9a72ad45f
readme updates 2020-04-14 21:38:57 -04:00
Luke Smith
b004c08c26
old junk rmd 2020-04-14 21:22:35 -04:00
Luke Smith
9025265545
swallow patch 2020-04-14 21:20:23 -04:00
Luke Smith
dc2cfafa7e
Merge branch 'kronikpillow-master' 2020-04-14 20:51:11 -04:00
Luke Smith
73463070d7
Merge branch 'master' of https://github.com/kronikpillow/dwm into kronikpillow-master 2020-04-14 20:49:10 -04:00
Luke Smith
3e587d111d
bindings and documentation cleanup 2020-04-14 20:36:59 -04:00
Luke Smith
3ab70a3c61
sysact to replace system binds 2020-04-14 18:44:09 -04:00
Luke Smith
d6760a401e
dwmc removed 2020-04-14 18:22:30 -04:00
Luke Smith
e41336f785
pamixer for quicker audio commands 2020-04-14 17:42:07 -04:00
Luke Smith
be9abae0f8
lol 2020-04-14 08:26:16 -04:00
KronikPillow
707881dd36 updated vanitygaps with latest fixes from original author 2020-04-14 13:11:34 +02:00
Luke Smith
ad82ceb532
Merge branch 'master' of git://git.suckless.org/dwm 2020-04-13 20:50:28 -04:00
Luke Smith
722768ad1e
dox on monitor commands 2020-04-13 20:47:34 -04:00
Luke Smith
f21a7bbcd0
arrows to tag or focus monitors 2020-04-13 20:41:38 -04:00
Luke Smith
870085aede
use pidof 2020-04-13 20:31:01 -04:00
Luke Smith
c3592e0405
suppress if no dwmblocks to kill 2020-04-13 20:30:11 -04:00
Luke Smith
6184f47410
removing barpadding patch 2020-04-13 20:29:51 -04:00
Luke Smith
614ec28533
readme fixes/switches 2020-04-13 11:53:16 -04:00
Luke Smith
87a5a39b38
scroll through on tags 2020-04-13 11:10:41 -04:00
Luke Smith
2ff3f79035
vanitygaps patch/fix and new & reorganized layouts 2020-04-13 08:45:27 -04:00
Luke Smith
c49135e882
note on statusbar clickability 2020-04-13 08:43:50 -04:00
Luke Smith
0c7644eebc
clickable statuscmd patch with dwmblocks 2020-04-13 00:10:51 -04:00
Luke Smith
ab0a4aea8a
updates to restart/quit cmds 2020-04-13 00:04:47 -04:00
Luke Smith
216113411c
colorscheme notes 2020-04-11 09:26:42 -04:00
Luke Smith
79facc6e26
startup rmd 2020-04-10 21:54:59 -04:00
Luke Smith
4435aad841
kill -HUP pid to restart, also mod+R 2020-04-10 18:50:44 -04:00
Luke Smith
0c7a69973f
pulse documentation changes 2020-04-09 17:14:00 -04:00
Luke Smith
a1cff81cea
Merge branch 'master' of github.com:LukeSmithxyz/dwm 2020-04-09 16:55:14 -04:00
Luke Smith
2f392464b1
only show active tags 2020-04-09 16:54:57 -04:00
Luke Smith
6cb092d8f2
start startup script if it exists 2020-04-09 16:53:54 -04:00
Luke Smith
a28d4c3bb4
mod+c for calculator 2020-04-09 16:51:43 -04:00