Commit Graph

352 Commits

Author SHA1 Message Date
bakkeby
e5ea493d32 systray: systray window may always not exist depending on configuration and number of monitors available, causing segfault in cleanup. Fixing double free on freeing fonts. 2020-08-10 11:36:10 +02:00
bakkeby
dfe1c40563 Adding cool autostart patch 2020-08-10 10:24:16 +02:00
bakkeby
85dd49a6a4 autostart: moving configs to config.def.h 2020-08-10 09:42:43 +02:00
bakkeby
3f4f88c142 awesomebar: use previously tiled when hiding client and the hidden client was the last tiled client 2020-08-04 13:40:26 +02:00
bakkeby
12527f00d9 zoomswap: renamed prevtiled back to findbefore as per original patch 2020-08-04 13:40:09 +02:00
bakkeby
ed7a43edf1 Adding reorganizetags patch 2020-08-02 15:18:18 +02:00
bakkeby
f067db87aa awesomebar: when hiding a client make the next focused client the next tiled client 2020-08-02 12:33:24 +02:00
bakkeby
f87bd6c86e Fix for focustack not being able to focus past hidden windows.
Also focusstack +2/-2 allow hidden windows to be selected using
keyboard shortcuts in order to unhide them via showhideclient.

Ref.
https://www.reddit.com/r/suckless/comments/i1c66t/how_to_make_awesomebar_patch_more_keyboard_centric/
2020-08-01 16:58:43 +02:00
bakkeby
d85dc0404f systray: add / override class hints for the systray clients (allows for compositors to exlude them from shadows) 2020-07-31 10:31:20 +02:00
bakkeby
68d9a1d7cc status2d: set the correct scheme before updating colours 2020-07-31 10:24:54 +02:00
bakkeby
55c9570681 Fix for monitor rules not applying for tag 1 specific rule 2020-07-27 10:45:13 +02:00
bakkeby
2cf37aa492 status2d: rawstext may not exist if neither statuscmd nor the extrabar patch is used 2020-07-24 11:15:44 +02:00
bakkeby
6eb24902f2 Adding statuscolors default config for powerline status patch 2020-07-24 08:41:34 +02:00
bakkeby
56ad78e7d2 Adding link to flextile-deluxe wiki page 2020-07-23 19:41:18 +02:00
bakkeby
0f74a8ff03 README.md: wiki page link updates 2020-07-22 18:53:15 +02:00
bakkeby
d7a58a3c88 README.md: wiki page link updates 2020-07-22 18:38:56 +02:00
bakkeby
b5165a1c8f barmodules: refactoring updatebarpos 2020-07-21 11:49:59 +02:00
bakkeby
ff72f80029 barmodules: refactoring updatebarpos 2020-07-21 11:35:26 +02:00
bakkeby
d7a7ac67ee barmodules: removing tags padding 2020-07-20 11:58:21 +02:00
bakkeby
3acae9e67d Adding link to barmodules patch 2020-07-19 19:32:41 +02:00
bakkeby
2065014161 BAR_TITLE_RIGHT_PAD --> BAR_TITLE_RIGHT_PAD_PATCH 2020-07-19 19:30:02 +02:00
bakkeby
d0c077a102 Removing unnecessary .h file 2020-07-19 19:29:10 +02:00
bakkeby
e9b6d35cac Strikethrough correction 2020-07-19 17:01:52 +02:00
bakkeby
023aa218e4 Adding powerline patch 2020-07-19 16:57:30 +02:00
bakkeby
23c0e9450f hidevacanttags: width and buttonpress fix 2020-07-19 09:38:06 +02:00
bakkeby
a7d1663571 Adding bar modules which splits the dwm bar into modules allowing for re-arrangement of the bar and easier integration for new features 2020-07-19 05:01:38 +02:00
bakkeby
e57fa18a48 Adding note about dwm-flexipatch-1.0 branch 2020-07-18 21:36:56 +02:00
bakkeby
6961418d63 Extrabar --> extrastatus 2020-07-18 21:12:30 +02:00
bakkeby
250fbbd2c7 holdbar: changes for new bar 2020-07-18 18:59:03 +02:00
bakkeby
346d7f6b1d Making bars list into linked list 2020-07-18 18:58:39 +02:00
bakkeby
aff7c0d8b8 Revert config.mk uncommenting 2020-07-18 13:04:39 +02:00
bakkeby
664484d572 Refinement 2020-07-18 13:03:30 +02:00
bakkeby
ad09397ad9 status2d: hide click_status2d if dwmblocks is used 2020-07-15 17:15:35 +02:00
bakkeby
06c4122e07 Movestack can cause dwm to crash if there are no selections on the monitor 2020-07-15 17:14:29 +02:00
bakkeby
e780c5078f taggrid: fix for invalid highlighting for the last tag when columns have an uneven number of clients 2020-07-15 17:14:14 +02:00
bakkeby
aa70728d00 Adding BarWidthArg, BarDrawArg, BarClickArg to keep the method signatures static 2020-07-15 14:10:47 +02:00
bakkeby
f2da4d20d9 Further bar renaming 2020-07-15 09:26:16 +02:00
bakkeby
903b32ac8b Major refactoring in preparation for bar modules 2020-07-15 08:57:30 +02:00
bakkeby
38c77b06f0 Fixing rawstext defined but not used warning 2020-07-15 08:31:39 +02:00
bakkeby
b84604f821 Correcting links status2d compatible with extrabar 2020-07-15 08:10:30 +02:00
bakkeby
1584a32063 flextile deluxe: fixed dual stack bug 2020-07-09 16:04:04 +02:00
bakkeby
1d8aef2198 awesomebar: refactoring remainder logic, which seemed a bit off 2020-07-09 15:24:32 +02:00
bakkeby
474c91ea0c dwm.1: fix wrong text in man page (aaad5f) 2020-07-08 20:00:25 +02:00
bakkeby
fbaa215a14 staticstatus + extrabar: Allow extrabar to be static on a monitor other than that of the main staticstatus monitor 2020-07-08 14:14:07 +02:00
bakkeby
ccb275b984 Extrabar alignment, buttonclicks and other improvements 2020-07-07 17:25:48 +02:00
bakkeby
8df311b827 Extrabar compatibility improvements 2020-07-05 21:56:46 +02:00
bakkeby
ab488abc11 Extrabar compatibility improvements 2020-07-05 21:53:36 +02:00
bakkeby
5478f99c3b extrabar compatibility updates
+ only shows on a given monitor if staticstatus patch is enabled.
+ status2d support (although extrabar status is written on the right, not on the left)
+ now clears extrabar on other monitors in a multi-monitor setup
- breaks dwmblocks in terms of registred buttonpresses
- extrabar is not clickable
2020-07-05 16:44:05 +02:00
bakkeby
f58c699dbb Fix for dwm randomly crashing when the first systray application starts
The crash error was:

dwm: fatal error: request code=12, error code=11
X Error of failed request:  BadAlloc (insufficient resources for operation)
  Major opcode of failed request:  12 (X_ConfigureWindow)
  Serial number of failed request:  3333
  Current serial number in output stream:  3338

This was backtracked to function updatesystray where XConfigureWindow was
called with large negative X positions (e.g. -836585). The large number
coming from the width of the systray icon.

w += i->w;

The systray icon width is set through the updatesystrayicongeom function
and this is called by resizerequest, clientmessage and propertynotify.

The height and width would appear to come from the X window attributes and
sometimes have random values (e.g. height 32708 and width 1369918222).

updatesystrayicongeom restricts the height of the icon to that of the bar,
but did not have any restictions on the icon width. This fix limits the
icon width to that of the bar height if it is greater than twice the bar
height, leaving room for systray icons that are slightly wider than they
are tall.
2020-07-05 13:20:28 +02:00
bakkeby
9fcb63164d center patch: adding options to center transient windows 2020-07-04 21:40:29 +02:00