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
Luke Smith
7d0c12152f
hardcoding audio system
2020-04-09 16:51:33 -04:00
Luke Smith
f924768acd
Merge pull request #27 from NikkiSatmaka/NikkiSatmaka
...
add xf86brightness up and down
2020-04-04 07:40:51 -04:00
Nikki Satmaka
e7eecb4dfe
add xf86brightness up and down
...
add xf86brightness up and down using xbacklight
2020-04-04 16:14:38 +07: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
Luke Smith
c90bb87766
Merge branch 'master' of github.com:LukeSmithxyz/dwm
2020-04-01 20:37:57 -04:00
Luke Smith
e258228064
Merge pull request #24 from jonmed/fix-readme-typo
...
Fix libxft-bgra name in README
2020-04-01 20:37:14 -04:00
Jonatas Medeiros
d7aedf79f2
Fix libxft-bgra name in README
2020-04-01 21:07:18 -03:00
Luke Smith
055a205098
renamed to webcam
2020-03-31 20:37:50 -04:00
Luke Smith
219d4487f3
statusbar info
2020-03-31 20:27:23 -04:00
Luke Smith
a72eace034
documentation changes
2020-03-31 08:52:28 -04:00
Luke Smith
4947ecce95
lmc required for alsa/pulse integration
2020-03-29 12:03:24 -04:00
Luke Smith
4a6f9d9390
no mpv cache
2020-03-29 12:02:57 -04:00
Luke Smith
06cc0e0de9
only cycle through active tags
2020-03-29 11:36:20 -04:00
Luke Smith
c765d2e678
gimp starts on own tag
2020-03-29 11:35:58 -04:00
Luke Smith
ea8c787c9f
dumb abook hack
2020-03-26 13:33:35 -04:00
Luke Smith
0a2a2dc79b
dox change
2020-03-26 13:32:56 -04:00