Commit Graph

97 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 9146a6d6d6 switch to NerdFonts 2025-08-08 11:31:12 +02:00
Alexander c1eea5c1a1 instant selection for power button power off prompt 2023-12-06 17:48:21 +01:00
Alexander bab964fa49 float zoom popups 2023-10-25 13:52:19 +02:00
Alexander cb54e47c79 add sb-bright 2023-10-15 14:40:58 +02:00
Alexander 3d51655ddc prefer awesomefont over symbola 2023-10-15 10:10:02 +02:00
Alexander 454b8c15e3 add fontawesome 2023-10-12 22:48:11 +02:00
Alexander 2a9e7a5cfa not being stupid 2023-10-12 16:32:12 +02:00
Alexander b2a44dbc1c adjust to new laptop keyboard, death of alpenrunde 2023-10-12 16:31:26 +02:00
Alexander 350f7cb9b2 fix compositor crash on 2nd attempt of starting calcurse 2022-12-09 15:53:21 +01:00
Alexander ce7e976cf1 tmp 2022-11-28 20:42:53 +01: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 6878bedf98 added diff for personal first_centered_window patch 2022-03-06 18:01:10 +01: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 edf4a33c98 update README to reflect scratchpad changes 2021-11-22 22:42:00 +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 Bocken 17af50560b Merge pull request #1 from AlexBocken/weechat_scratch
Weechat scratchpad
2021-11-22 21:50: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 48dbac7fb3 create weechat non-floating scratchpad 2021-11-17 13:34:20 +01:00
Alexander 0894f9c30f remove XK_g and XK_semicolon to scroll through tags 2021-10-06 10:18:28 +02: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 89d2cee6fa update matrix client 2021-06-15 12:51:06 +02:00
Alexander 2fcb56aa97 only use old size if floating 2021-06-11 09:39:45 +02:00
Alexander 9b116fa426 personal mfact and firstwindowoffset set 2021-05-10 17:28:30 +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 39f2c5354f rearranged layouts more sensibly 2021-05-06 16:31:25 +02:00
Alexander f3ed1812e5 added personal centeredfirstwindow layout 2021-05-06 16:27:41 +02:00
Alexander 69c6c91743 smaller changes 2021-05-06 16:02:43 +02:00
Alexander 728fe582dc print primary smarter 2021-01-30 12:16:25 +01:00
Alexander 66e076ab0c type primary selection via xvkbd 2021-01-13 15:23:23 +01:00
Alexander 5b033a2c07 no need to explicitly update music in statbar, handled externally 2020-12-29 15:48:20 +01:00
Alexander 01aa6d7b5e calcurse and neomutt statusbar integration better 2020-12-19 11:53:35 +01:00
Alexander aca6a1d757 moved around keybindings a bit 2020-11-07 23:44:09 +01:00
Alexander 6857a0adbc note on floatborderpx, using dunstctl now 2020-10-31 11:49:38 +01:00
Alexander 36d306ad52 print primary selection via key 2020-10-28 16:03:15 +01:00
Alexander f0a297ef69 updates dwmblocks audio/mpd for function media keys 2020-09-15 09:23:37 +02:00