Commit Graph

255 Commits

Author SHA1 Message Date
bakkeby
6742783b87 center: minor nitpick for transient windows 2020-09-29 15:28:57 +02:00
bakkeby
37c212ad55 Adding on_empty_keys patch ref. #51 2020-09-29 15:24:44 +02:00
bakkeby
fbacf17346 center: center windows by default if they are placed in the top right corner, ref. #52 2020-09-29 13:26:05 +02:00
bakkeby
795fcc3b51 scratchpads: when the scratchpad patch is added, the tagmask is altered, so to get a window onto all tags you have to do ~SPTAGSMASK instead of ~0 as otherwise it will interfere with the scratchpads, ref. #53 2020-09-28 17:48:49 +02:00
bakkeby
8726ae0aa9 Adding _IS_FLOATING xproperty patch for floating windows ref. #50 2020-09-28 14:39:17 +02:00
B4rc1
efeb5fcbf4 fixed warp patch for local monitor 2020-09-27 09:54:14 +02:00
bakkeby
00320fb842 Adding nomodbuttons patch 2020-09-18 10:53:07 +02:00
bakkeby
8aa21b0311 XKeycodeToKeysym --> XGetKeyboardMapping (XKeycodeToKeysym is allegedly deprecated) 2020-09-18 10:39:07 +02:00
bakkeby
b8dc848918 Adding fakefullscreen client rule 2020-09-16 11:00:31 +02:00
bakkeby
01464c584e ignoreconfigurenotifyrequests --> ignoreconfigurerequests 2020-09-14 10:08:47 +02:00
bakkeby
a7da48ca3d Add logic to ignore ConfigureNotify requests while a window is being moved or resized 2020-09-13 14:35:30 +02:00
bakkeby
32f9a73c0d scratchtags: allow moving / resizing scratchtag window to another monitor + minor comment 2020-09-13 14:22:31 +02:00
bakkeby
fada5790a2 fakefullscreenclient: setfullscreen logic overhaul 2020-09-13 13:35:15 +02:00
bakkeby
819d06c5c9 swallow: arrange monitor if window is not swallowed 2020-09-12 14:21:51 +02:00
bakkeby
7b477bc7db fakefullscreen: fullscreen --> fake fullscreen can make the tiled window display on top of floating window 2020-09-12 13:33:02 +02:00
bakkeby
c3e5910080 swallow: no good reason to call arrange if a client window is being swallowed 2020-09-11 17:33:15 +02:00
bakkeby
dc9e57a6b6 swallow: upgrading to latest version with OpenBSD support 2020-09-11 17:21:38 +02:00
bakkeby
4a35cd2704 fakefullscreen: do not interfere with client message 2020-09-11 11:49:21 +02:00
bakkeby
104c9909b5 swallow: upgrading patch + fixing glitches 2020-09-11 11:47:57 +02:00
bakkeby
95c3014bd5 fakefullscreen: prevent focus from drifting away from client when going from fullscreen to fake fullscreen 2020-09-10 16:55:28 +02:00
bakkeby
d91db5cd65 anybar: adding experimental support for having both anybar + dwm bar(s) in play 2020-09-10 15:24:51 +02:00
bakkeby
8994f375e8 anybar: initial commit 2020-09-10 13:32:28 +02:00
bakkeby
f4a6866e8c barmodules: skip if widthfunc is NULL 2020-09-10 11:57:01 +02:00
bakkeby
ed0e503a6b barmodules: skip if widthfunc is NULL 2020-09-10 09:52:46 +02:00
bakkeby
c257e2e390 fakefullscreen: prevent focus from drifting away from client when going from fullscreen to fake fullscreen 2020-09-10 09:41:00 +02:00
bakkeby
ff9811f73d Just some minor changes adding bar border patch ref. #41 2020-09-09 17:24:02 +02:00
bakkeby
4379517c25 Adding IPC v1.5.5 patch 2020-09-07 17:48:58 +02:00
bakkeby
260bd11a53 systray may not always exist 2020-09-07 12:43:37 +02:00
bakkeby
018721ca76 systray may not exist when a clientmessage is received, resulting in dwm crash 2020-09-07 12:07:51 +02:00
bakkeby
f4f5ecab75 Scratchpads improvement (multi-monitor support) 2020-09-07 09:50:42 +02:00
bakkeby
c14f40190e Assortment of fullscreen improvements 2020-09-05 14:20:53 +02:00
bakkeby
5f5dc7ab9c Assortment of fullscreen improvements (togglefullscreen / fakefullscreenclient / tagallmon / tagswapmon) 2020-09-05 11:38:09 +02:00
bakkeby
dcf7b049ba Adding view same tag gives previous tag patch 2020-09-05 09:11:12 +02:00
bakkeby
1d19f4d309 Making warp preprocessor directive easier for flexipatch-finalizer to understand 2020-08-30 05:17:16 +02:00
bakkeby
0d743eddff flexwintitle: allow flexwintitle to control window borders 2020-08-27 21:37:19 +02:00
bakkeby
b3d336322e Adding aspectresize patch 2020-08-27 07:34:21 +02:00
bakkeby
e952cc9a81 Minor refactoring of warp and fullscreen patches, getting rid of MONOCLE_LAYOUT_POS setting 2020-08-27 06:26:48 +02:00
bakkeby
f45acf8795 Added alttagsdecoration patch.
Unified tag icon handling while adding support for different icons per monitor.

In general LENGTH(tags) has been replaced with a NUMTAGS macro (defaulting to 9)
and the tags[] array has been replaced with a tagicons[][] array, access to which
is done through a single function tagicon.

This allows one central place where alternative tags, alttagsdecoration, or other
future tags logic is handled. This also gives a consistent display of tags
regardless of the module that presents tags.

Additionally the monitor index has been integrated into dwm for easier access.
2020-08-25 16:27:14 +02:00
bakkeby
df57bdeb64 Identified and fixed a few more cross-compilation issues 2020-08-24 15:03:55 +02:00
bakkeby
939a407e25 Fixing wintitle and a few warning messages ref. #37 2020-08-23 18:18:05 +02:00
bakkeby
81f44b036c Simplified Pango integration by settling on common function signatures. 2020-08-22 20:31:17 +02:00
bakkeby
eb782ae920 Added zoomfloating patch. Changed zoom and togglefloating functions to use c rather than selmon->sel. 2020-08-22 09:26:30 +02:00
bakkeby
91b6671981 Added zoomfloating patch. Changed zoom and togglefloating functions to use c rather than selmon->sel. 2020-08-22 09:21:23 +02:00
bakkeby
110cc7d240 Added logic to auto-hide bars if nothing is drawn on them (e.g. for standalone bars that only show certain clients) 2020-08-22 08:43:07 +02:00
bakkeby
81488b4862 Simplification of color configuration; settling on a set of color schemes that is shared between multiple patches (urgentborder, floatborder and titlecolor patches made non-optional) 2020-08-21 15:49:15 +02:00
bakkeby
ef287c46cd losefullscreen: minor improvements to keep fullscreen while moving focus to another monitor 2020-08-20 15:31:09 +02:00
bakkeby
a085c788e3 Adding experimental flexwintitle patch based on bartabgroups 2020-08-20 13:30:12 +02:00
bakkeby
de47bd8839 Adding bartabgroups patch 2020-08-13 15:42:49 +02:00
bakkeby
10f4d513ec Adding decoration hints patch 2020-08-11 10:17:02 +02:00
bakkeby
14e148be2a Adding steam patch 2020-08-10 17:09:20 +02:00
bakkeby
1dd4ec5bc4 Adding insets patch 2020-08-10 13:16:12 +02:00
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
12527f00d9 zoomswap: renamed prevtiled back to findbefore as per original patch 2020-08-04 13:40:09 +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
55c9570681 Fix for monitor rules not applying for tag 1 specific rule 2020-07-27 10:45:13 +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
023aa218e4 Adding powerline patch 2020-07-19 16:57:30 +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
6961418d63 Extrabar --> extrastatus 2020-07-18 21:12:30 +02:00
bakkeby
346d7f6b1d Making bars list into linked list 2020-07-18 18:58:39 +02:00
bakkeby
664484d572 Refinement 2020-07-18 13:03:30 +02:00
bakkeby
aa70728d00 Adding BarWidthArg, BarDrawArg, BarClickArg to keep the method signatures static 2020-07-15 14:10:47 +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
1d8aef2198 awesomebar: refactoring remainder logic, which seemed a bit off 2020-07-09 15:24:32 +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
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
9fcb63164d center patch: adding options to center transient windows 2020-07-04 21:40:29 +02:00
bakkeby
8f06f9a2d5 switchtag improvements, making the restoring of tags optional and configurable 2020-07-03 15:57:14 +02:00
bakkeby
a7763038fd switchtag improvements, making the restoring of tags optional and configurable 2020-07-03 13:30:21 +02:00
bakkeby
188f2f482f switchtag patch: do not switch tags if the tag is already shown, same with focusonnetactive patch 2020-07-02 10:09:24 +02:00
bakkeby
8120e0b858 Fixed a dwmblocks / statuscmd / systray compatibility issue where button clicks would be misaligned if systray pinning is used and systray is on another monitor 2020-07-01 16:16:19 +02:00
bakkeby
9e8d70788c Adding alternative activetagindicatorbar patch 2020-06-30 11:07:42 +02:00
bakkeby
8c07458f11 holdbar: toggle bar improvements 2020-06-30 10:15:36 +02:00
bakkeby
c14a51524b Adding cursor icons for resizecorners, resizepoint, dragmfact and dragcfact 2020-06-25 11:56:41 +02:00
bakkeby
5a4c350b9c Updating sendmon_keepfocus to only keep focus if the client had focus 2020-06-25 10:28:31 +02:00
bakkeby
9574035849 Adding sendmon_keepfocus patch 2020-06-24 17:12:54 +02:00
bakkeby
ce12e07163 Adding statusbutton patch ref. #33 2020-06-24 16:36:51 +02:00
bakkeby
04906b4ddf Adding resizepoint patch 2020-06-24 14:49:30 +02:00
bakkeby
9ae251791d floatpos: correction 2020-06-23 11:55:55 +02:00
bakkeby
c3d368f193 Adding bar_height patch 2020-06-21 20:04:56 +02:00
bakkeby
6a683c729e Adding floatpos patch. 2020-06-21 15:33:29 +02:00
bakkeby
5e0a9c49f8 Adding sizehints patch 2020-06-15 21:01:05 +02:00
bakkeby
cac3e7d2c9 Rule macro improvements + rule macro helper macros 2020-06-15 15:34:44 +02:00
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
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
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
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
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
af96d4c358 Adding keymodes patch 2020-05-31 15:14:29 +02:00