Commit Graph

48 Commits

Author SHA1 Message Date
Alexander 2e6a4ed20f catch Bluetooth AVRCP media keys and route to mpv if running
grabkeys() now iterates the full keymap and grabs every keycode that
maps to each bound keysym, instead of relying on XKeysymToKeycode which
returns only one. Bluetooth headsets (e.g. Jaybird X2 AVRCP) register as
a second keyboard with their own keycodes for XF86AudioPlay/Next/Prev,
so the single-keycode grab missed them.

The media-key bindings now try pauseallmpv first (per-instance IPC
control of any running mpv) and fall back to mpc when no mpv socket is
reachable.
2026-04-23 22:48:10 +02:00
Alexander aad610d178 reflow tiled layouts on size hint changes
PropertyNotify on WM_NORMAL_HINTS only refreshed mina/maxa; layout
math never reran, so mpv clip switches with new aspect kept the
previous master width until something else triggered arrange.

Trigger arrange() when aspect actually changes. Compute altw from
c->maxa instead of WIDTH(c)/HEIGHT(c) so the first reflow picks up
the new aspect rather than the stale geometry.
2026-04-18 13:35:19 +02:00
Alexander c03c11059f do not lose border after fullscreen 2022-04-28 14:32:43 +02:00
Alexander b61a38d642 also move fullscreen clients 2022-04-26 15:05:17 +02:00
Alexander 3a5cb824ff update to dwm 6.3 2022-01-08 10:31:14 +01:00
Alexander 3e2a2695a8 fix? 2021-11-28 10:28:20 +01:00
Alexander 1c5f297796 fix scratchpad detection when moving traditionally 2021-11-28 09:51:18 +01:00
Alexander 4f2ca2dcba cleanup 2021-11-24 14:10:10 +01:00
Alexander 81d74ae4e4 fix scratchpad detection when moving traditionally 2021-11-23 11:15:48 +01:00
Alexander 7476490be3 commented out unused centeredmaster layout 2021-11-22 22:32:56 +01:00
Alexander 711e8d801e added support for scratchpad moving between monitors in the same way as normal windows 2021-11-22 22:31:29 +01:00
Alexander 3f7477bc1b removed unused focusclientmon function 2021-11-22 22:06:44 +01:00
Alexander b32e5d7b65 more cleanup 2021-11-22 22:05:30 +01:00
Alexander 33a72619b8 cleanup of debugging prints 2021-11-22 21:47:48 +01:00
Alexander fcac49f9de first working scratchpad version 2021-11-22 21:39:58 +01:00
Alexander 42e6f73f47 inital version of weechat scratchpad 2021-11-22 21:09:51 +01:00
Alexander 91dbcfffaa simplify togglewarp function 2021-10-06 10:18:04 +02:00
Alexander 3cf9f6f915 add togglewarp function 2021-10-02 17:12:03 +02:00
Alexander 2fcb56aa97 only use old size if floating 2021-06-11 09:39:45 +02:00
Alexander eda254b64f prevent screen overflow with firstwindowoffset 2021-05-10 17:24:46 +02:00
Alexander 3cd4128998 prints nmaster in firstcenterwindow layout 2021-05-10 17:13:18 +02:00
Alexander 86ce7af866 added offest for first centered window width 2021-05-09 00:16:04 +02:00
Alexander f3ed1812e5 added personal centeredfirstwindow layout 2021-05-06 16:27:41 +02:00
Alexander 12eef0defe "fix" for dwindle, cleaned up setfloat & setsticky 2020-08-29 23:31:38 +02:00
Alexander d3a2b97102 different borderwidth for floating windows 2020-08-29 21:51:05 +02:00
Alexander 182be07914 integrated fibonacci into dwm.c 2020-08-29 20:22:38 +02:00
Alexander b943c6cb48 added setfloating function 2020-08-29 17:42:22 +02:00
Alexander 36cbf6658f inital patch for deck/tile smart adjustment 2020-08-24 09:14:30 +02:00
Alexander c5596677d7 removed pop unnecessary pop function to speed up install 2020-07-11 20:12:20 +02:00
Alexander b75ef3588c cleaned up bugfix 2020-07-11 19:45:23 +02:00
Alexander 7657c9b569 fix of bug where window is partially under bar 2020-07-11 19:33:12 +02:00
Alexander a47789d56d updates statusbar on all monitors now 2020-07-09 16:27:40 +02:00
Alexander 9d1be1dc5c added zoom swap patch 2020-07-05 15:14:13 +02:00
Alexander 473d03fefa removed unnecessary swap focus patch 2020-07-05 15:12:41 +02:00
Alexander 1381c93601 added scratchpads patch 2020-07-05 14:41:40 +02:00
Alexander 5efd288b98 added centered master patch 2020-07-03 21:44:36 +02:00
Alexander 4421d8b5ba added centered master patch 2020-07-03 21:37:38 +02:00
Alexander fbe80770f1 always draw info bar in normal scheme 2020-07-03 21:10:09 +02:00
Alexander 2b78825cf1 added swap focus patch 2020-07-02 20:40:51 +02:00
Alexander cfaf290634 added hide vacant tags patch 2020-07-02 20:37:12 +02:00
Alexander 7936509652 added urgent border patch, fixed sticky patch 2020-07-02 13:18:35 +02:00
Alexander 4fcccf1fe1 added sticky patch 2020-07-02 13:06:02 +02:00
Alexander 021a71fc16 added actual fullscreen patch 2020-07-02 13:03:13 +02:00
Alexander 47e0d23010 added warp patch 2020-07-02 12:35:46 +02:00
Alexander 07d3f3b125 draws statusbar on all monitors now, not just selected 2020-07-02 12:28:12 +02:00
Alexander 45ad31ccd9 added barpadding patch 2020-07-02 12:26:24 +02:00
Alexander 845e4b522b added bottom stack layout patch 2020-07-02 12:18:33 +02:00
Alexander 80f4d27159 initial commit (dwm 6.2 directly from suckless.org) 2020-07-02 12:15:32 +02:00