Commit Graph

55 Commits

Author SHA1 Message Date
Leonardo Hernández Hernández
ae31391115
initialize rules and xkb_rules
to fix compile errors with `-pedantic`
2022-03-31 09:34:22 -06:00
Leonardo Hernández Hernández
4ef8999624
add note about how to change MODKEY for windows key 2022-03-23 14:03:43 -06:00
Quentin Rameau
326eee1444
Add a configuration option for fullscreen locking
Some people are annoyed to have this new behaviour forced for some
application which use fake fullscreen.
2022-03-22 23:51:56 -06:00
Leonardo Hernández Hernández
f673305e86
replace tabs by spaces in alignment 2022-03-10 14:08:57 -06:00
A Frederick Christensen
ac896a7df4 Shift+6 generates XKB_KEY_asciicircum 2022-02-01 18:58:32 -06:00
Devin J. Pohly
15f5d31f98 correct key constant name
Fixes #94.
2021-03-03 11:29:53 -06:00
Devin J. Pohly
02eed717ca add explanatory command about Ctrl-Alt-Bksp/Fx 2021-03-01 11:22:08 -06:00
Devin J. Pohly
2d71c9b9ff Add default menu command
dwm config parity
2021-03-01 11:21:15 -06:00
Devin J. Pohly
87b16e6095 Defaults should match dwm/Xorg default behavior 2021-03-01 11:17:10 -06:00
Devin J. Pohly
e8ca8a8ac7 use output layout for dirtomon
No need to track our own order; wlroots has a reasonable default for us
already.
2021-01-06 17:19:44 -05:00
Stivvo
fa782896f8 Define monitor's x,y at compile time
Replaces the outputOrder patch.

This avoids recalculating positions and allows to arrange monitors in
any order, not just from left to right.

The order in which monitors are defined in config.h still matters but
it's just the order in the list, not the actual position.
2020-12-30 17:07:48 +01:00
Devin J. Pohly
5ba09b56f3 missed a few of these 2020-12-24 22:36:49 -05:00
Devin J. Pohly
206427537a Merge updates from guidocella
Thanks so much for helping to keep the project running while life was
crazy!
2020-12-24 21:56:41 -05:00
Devin J. Pohly
c5087d413f
Merge pull request #53 from Stivvo/fullscreen
Fullscreen support
2020-12-24 21:35:57 -05:00
Guido Cella
bcf9d8fb9a disable natural scrolling by default
This inverts the scroll even on regular mice.
2020-12-21 13:06:06 +01:00
Guido Cella
33e8a3f1f3 update comments and remove debugging printf 2020-12-21 11:22:04 +01:00
Stivvo
5668c61616 Define monitor order with monrules[]
The order in which monitors are defined in monrules[] actually matters.

Monotors that aren't configured in monrules[], it will always be the
leftmost.
2020-12-21 11:12:44 +01:00
Guido Cella
6b47e2bb62 use bool
Because it's 2020. Passing integers to wlroots variables and functions
with bool in their signature is silly.
2020-12-20 14:57:39 +01:00
Guido Cella
feeacc88c4 tweak trackpad variables
Add static const and move them below in order to group the keyboard
options.
2020-12-19 18:39:30 +01:00
will
aa679c4f29 Added support for natural scrolling 2020-12-19 18:37:10 +01:00
will
4f1e557d3d Added basic tap-to-click for touchpad users 2020-12-19 18:37:10 +01:00
Guido Cella
c89de53de3 remove togglefullscreen keybinding
Distribute it as a patch like in dwm since graphical applications
usually provide their own keybinding; I guess it's only for terminals.

Note that even though these commits don't let you open multiple windows
in fullscreen and cycle between them like in dwm, with just
fullscreennotify spawning new windows or changing tag would still exit
fullscreen automatically, but you would have to toggle fullscreen twice
when switching back to the fullscreen window to enter fullscreen again,
so this is better since it avoids that.
2020-12-19 18:23:23 +01:00
Stivvo
f125e1b9a4 Toggle fullscreen on all clients
mod+e allows to toggle fullscreen any client, even those who don't
support it themselves
2020-12-19 18:06:11 +01:00
will
7ad14a9660 Added support for natural scrolling 2020-10-17 16:18:44 +02:00
will
598516d808 Added basic tap-to-click for touchpad users 2020-10-17 13:52:53 +02:00
Stivvo
621d4c9173 Toggle fullscreen on all clients
mod+e allows to toggle fullscreen any client, even those who don't
support it themselves
2020-09-05 11:22:24 +02:00
Devin J. Pohly
0816b33d33 add comment from dwm 2020-08-16 01:02:01 -05:00
Devin J. Pohly
ce312b7eac Merge branch 'shcmd' of https://github.com/guidocella/dwl into master 2020-08-16 01:01:35 -05:00
Devin J. Pohly
f7fae6447b make rule examples a comment 2020-08-14 10:20:18 -05:00
Guido Cella
82b2a948b6 Fix Firefox class 2020-08-14 10:06:04 +02:00
Guido Cella
ffe00e6139 Define SHCMD macro 2020-08-04 06:03:44 +02:00
Devin J. Pohly
541ecea796 fix killclient binding, add helpful comment 2020-08-03 12:54:20 -05:00
Devin J. Pohly
5a2d87fa6c add monocle layout 2020-08-03 12:44:47 -05:00
Guido Cella
13d10ba652 Bind layout toggle 2020-07-28 09:07:52 +02:00
Michael Cardell Widerkrantz
2fb3701c6e Add support to change focused window's border color 2020-07-26 23:10:42 +02:00
Guido Cella
7b608da8c5 Add zoom 2020-07-24 17:30:45 +02:00
Guido Cella
ea73221b45 Add killclient 2020-07-23 20:30:25 +02:00
Lauri Gustafsson
91b18d4d4d
Add repeat delay and repeat rate to config.h (#13) 2020-07-02 15:41:12 -05:00
Devin J. Pohly
525bf258e4 switch default term to alacritty 2020-05-10 13:30:20 -05:00
Devin J. Pohly
86d8cb1804 add client rules 2020-05-03 00:49:02 -05:00
Devin J. Pohly
3973ea5bfe unify movemouse/resizemouse 2020-04-30 10:25:37 -05:00
Devin J. Pohly
9b9ef0bae5 handle Ctrl-Alt-Bksp 2020-04-24 08:37:34 -05:00
Devin J. Pohly
60f2c0b7de draw window borders
Works with scaled/rotated displays too!
2020-04-23 23:55:29 -05:00
Devin J. Pohly
ee2b3af1ca configure monitor rotation/reflection 2020-04-23 23:44:54 -05:00
Devin J. Pohly
2cb526bbd9 add chvt function
It truly isn't just a window manager anymore :-|
2020-04-23 23:44:54 -05:00
Devin J. Pohly
1870187d62 make space for window borders 2020-04-23 23:35:54 -05:00
Devin J. Pohly
0d8f51e0a3 implement focusmon and tagmon 2020-04-23 22:11:52 -05:00
Devin J. Pohly
a87adfd77c focus follows mouse 2020-04-23 22:11:52 -05:00
Devin J. Pohly
4eabe48fed add incnmaster and setmfact commands 2020-04-23 22:11:52 -05:00
Devin J. Pohly
66054700cb add toggletag and toggleview 2020-04-23 22:11:52 -05:00