Commit Graph

224 Commits

Author SHA1 Message Date
bakkeby
a7b226de41 Make EWMH windows float
Move updatewindowtype() functionality into applyrules(), and also make
following EWMH windows float: DIALOG, UTILITY, TOOLBAR, SPLASH.

This is taking the proposed patch to add window type to the rule matching
options for dwm, allowing dialog, utility, toolbar and splash windows
to be configured to float by default.

This patch is intended to be merged into the main dwm build.

In effect the intermediate EWMH_WINDOWS_FLOAT_PATCH has also been removed.
2020-06-15 13:24:23 +02:00
bakkeby
f315188728 Autostart: Make autostart conform to XDG Base Directory specification (upgrade) 2020-06-14 19:56:52 +02:00
bakkeby
6f20203975 Added RULE macro to replace rules setup making the default config less of an abomination and making it simpler to include new rules based patches 2020-06-14 15:52:47 +02:00
bakkeby
7ba6ea50bf Upgrade to 5e34b2 2020-06-11 20:05:49 +02:00
bakkeby
2643894570 [dwm][PATCH] Fix memory leaks in drw
The function drw_fontset_free in drw.c was never called.
2020-06-11 16:58:08 +02:00
bakkeby
8c4eaccf16 Adding pango patch (ref. #10)
Text from original patch:

Using pango markup for status text

Use a single font. Removed some code utf8 code from drw.
Created for pango 1.44. Older versions might not have getter
for font height, ascent + descent can be used instead.
All texts are rendered with pango but only status is with
markup. Increased stext size (in case a lot of markup is used).
MIN/MAX is already defined (didn't redefine them).
2020-06-11 16:44:43 +02:00
bakkeby
e355c49833 noborder: The noborder patch had a bug in it such that if moving the window in floating layout then the window would continuously grow, adding the fix for that 2020-06-10 12:24:46 +02:00
bakkeby
1f971ebd1d SCRATCHPAD_KEEP_POSITION_AND_SIZE_PATCH should not be enabled by default 2020-06-10 12:10:06 +02:00
bakkeby
a5e74cd720 staticstatus: Adding note about systray pinning 2020-06-10 12:08:37 +02:00
bakkeby
164095db40 Adding staticstatus patch 2020-06-10 11:52:35 +02:00
bakkeby
622c4bc0d6 EWMH window float patch: Floating window x, y coordinates may be negative in a multi-monitor setup 2020-06-10 11:22:48 +02:00
bakkeby
45247a14bc Fix infinite loop in attachbelow patch 2020-06-10 10:48:50 +02:00
bakkeby
a713e73a37 shiftviewclients: compatibility changes for scratchpads and scratchpad_alt_1 patches 2020-06-05 11:24:07 +02:00
bakkeby
6321b52a30 Renamed SCRATCHPAD_PATCH --> SCRATCHPADS_PATCH to match the naming of the suckless patches as the multiple scratchpads patch has its own location now 2020-06-05 11:23:22 +02:00
bakkeby
09a5fc9097 scratchpad_alt: Style change 2020-06-05 11:23:02 +02:00
bakkeby
bad53d2cc4 Upgrading Gaspar Vardanyan's scratchpad patch to the 20200510 version.
https://github.com/GasparVardanyan/dwm-scratchpad/blob/master/dwm-scratchpad-20200510-f09418b.diff
2020-06-05 09:43:27 +02:00
bakkeby
fbb1537da6 Removing debug line 2020-06-05 09:00:05 +02:00
bakkeby
d7814e3a3e dwmc: Adding external control to set gaps 2020-06-04 20:29:16 +02:00
bakkeby
2b332f7199 Expanding Xresources options to include the warn colours in relation to the statuscolors patch 2020-06-03 17:29:25 +02:00
Stein Gunnar Bakkeby
8c419b0d7a Expanding on dwmc options 2020-06-02 11:11:59 +02:00
bakkeby
4db0cd6443 An idea to remember to add keymodes patch files 2020-06-02 10:18:17 +02:00
bakkeby
af96d4c358 Adding keymodes patch 2020-05-31 15:14:29 +02:00
bakkeby
e7ea06a0c2 status2d: Minor protection against crashes due to invalid x and y values 2020-05-31 15:14:07 +02:00
bakkeby
7b2c30b371 Adding color emoji patch 2020-05-29 20:43:55 +02:00
bakkeby
643ea4d84f Awesomebar: patch to prevent visual glitches from uneven tabs count 2020-05-28 10:50:33 +02:00
bakkeby
2c9ff7453a dwmblocks and status2d compatibility fix for barpadding patch 2020-05-28 10:31:10 +02:00
bakkeby
66a32a0e48 fancybar: renaming tw variable to ftw due to clash with upstream sw --> tw variable rename 2020-05-28 10:26:01 +02:00
bakkeby
8236f1940b dwmblocks and status2d buttonpress adjustments for awesomebar and statuspadding 2020-05-28 10:15:15 +02:00
bakkeby
2e30bddc16 Fixing status2d and statuscmd / dwmblocks compatibility issues.
Text width calculations when using status2d strings resulted in
statuscmd button placement calculations to be way off. Fixed by
introducing a separate function status2dtextlength to get an
approximate correct text width.
2020-05-27 21:04:22 +02:00
bakkeby
1bf50728a7 Awesomebar: dwm crashes on bar click with 0 clients
Clicking on the bar before any clients have been started results
in dwm crashing. This fix addresses that.
2020-05-27 14:10:51 +02:00
bakkeby
e79aec52c2 Adding status2d patch 2020-05-26 20:53:53 +02:00
bakkeby
fc8434abd1 Adding moveplace patch 2020-05-21 19:58:11 +02:00
bakkeby
2cb3e697e4 Adding moveresize patch as per #25 2020-05-21 18:55:47 +02:00
bakkeby
df118dc046 Switchtag patch, lose switchtag feature for client if the client is moved to another tag 2020-05-20 16:43:09 +02:00
bakkeby
5e281dcd44 Adding (temporary?) EWMH_WINDOWS_FLOAT_PATCH 2020-05-20 15:25:07 +02:00
bakkeby
57ef22eaba [dwm][patch] setborderpx reset floating windows to previous size 2020-05-20 15:11:33 +02:00
bakkeby
29a06f83a0 [dwm][patch] setborderpx minor code style changes 2020-05-13 13:25:06 +02:00
bakkeby
ae5c96c217 Adding link to fix transparent borders diff 2020-05-13 13:24:45 +02:00
bakkeby
5cfaf8357b [dwm][setborderpx] allow borderpixel changes in floating layout and for floating clients 2020-05-13 13:17:12 +02:00
bakkeby
1c6412802e Getting rid of practically unused nbottom variable 2020-05-13 09:41:44 +02:00
bakkeby
0b429b4994 Fibonacci updates 2020-05-10 17:11:05 +02:00
bakkeby
ac4c5081c5 Horizgrid pixel perfect updates 2020-05-10 17:09:41 +02:00
bakkeby
443795e3c9 Gridmode pixel perfect updates 2020-05-10 10:42:47 +02:00
bakkeby
174e3260d2 Gappless grid pixel perfect updates 2020-05-10 10:40:47 +02:00
bakkeby
1508d9f274 Fibonacci pixel perfect updates 2020-05-10 10:31:11 +02:00
bakkeby
c65315d52f Improved fibonacci layout (pixel perfect) 2020-05-08 18:54:39 +02:00
bakkeby
f1bc4e8858 Moving vanitygaps patches to https://github.com/bakkeby/patches/ repository 2020-05-08 18:53:52 +02:00
bakkeby
511fda0088 Removing unnecessary variable when both statuscmd and dwmblocks is used 2020-05-07 21:44:17 +02:00
bakkeby
1a4b3632d1 Removing redundant lastbutton variable when both statuscmd and dwmblocks patches are enabled 2020-05-05 19:59:21 +02:00
bakkeby
a6c2fe5668 Adding shiftviewclients files 2020-05-05 19:54:02 +02:00