unixchad/dwl
1
4
Fork
You've already forked dwl
0
dwm for Wayland
  • C 95.4%
  • Roff 2.6%
  • Makefile 2%
Find a file
2026年05月29日 12:42:01 +08:00
.gitea/issue_template request description before logs 2024年01月15日 02:15:54 +00:00
misc Add: misc/ 2026年02月28日 22:29:54 +08:00
patches Revert "Merge branch 'patch-hide-cursor-when-typing'" 2026年04月10日 15:51:05 +08:00
protocols Implement support for output power management 2024年06月20日 19:11:52 -06:00
.gitignore Add config.h to .gitignore 2021年01月13日 15:25:24 +00:00
.mailmap add myself to .mailmap 2024年07月24日 15:51:49 -06:00
CHANGELOG.md fix crash when a client is created while all outputs are disabled 2024年08月26日 21:56:10 -06:00
client.h Cleanup comments 2025年06月07日 16:17:30 -05:00
config.def.h Mod(config.def.h): keybindings for mag 2026年05月29日 12:42:01 +08:00
config.mk Revert "Update config.mk" 2025年06月09日 00:18:17 -05:00
drwl.h Patch: bar-2026年01月05日.patch 2026年02月28日 19:17:44 +08:00
dwl.1 document status output 2025年06月09日 13:55:38 -06:00
dwl.c Merge branch 'patch-hide-cursor-when-typing' 2026年04月10日 20:10:00 +08:00
dwl.desktop Add desktop entry file 2023年09月22日 19:49:18 -06:00
ime.h Patch: text-input-0.8.patch 2026年02月28日 21:25:06 +08:00
LICENSE add sway LICENSE file 2022年03月22日 23:44:53 -06:00
LICENSE.dwm add TinyWL and dwm LICENSE files 2020年04月22日 11:26:57 -05:00
LICENSE.sway add sway LICENSE file 2022年03月22日 23:44:53 -06:00
LICENSE.tinywl add TinyWL and dwm LICENSE files 2020年04月22日 11:26:57 -05:00
Makefile Merge branch 'patch-text-input' into master-0.8 2026年02月28日 21:27:33 +08:00
README.md Merge branch 'patch-hide-cursor-when-typing' 2026年04月10日 20:10:00 +08:00
shifttag.c Fix(shifttag.c): shifttag_unoccupied with muptiple tags 2026年03月23日 20:05:11 +08:00
util.c replace spaces with tabs 2024年07月27日 00:41:39 -06:00
util.h set O_NONBLOCK flag to stdout 2024年07月01日 20:40:54 -06:00

My build of dwl - dwm for Wayland

dwl 0.8

Status bar

I'm using the bar patch with damblocks(codeberg/github), my modular POSIX script with signaling support.

Running dwl

exec ssh-agent damblocks | dwl

To restart status script in the current dwl session, start dwl with:

damblocks --fifo &
exec ssh-agent tail -f ${XDG_RUNTIME_DIR}/damblocks.fifo | dwl

and restart damblocks with:

pkill -f 'damblocks --fifo'
nohup damblocks --fifo >/dev/null 2>&1 &

Patches applied

  1. bar
  2. autostart
  3. sticky
  4. shifttag-bar
  5. pertag
  6. swapandfocusdir
  7. genericgaps
  8. alwayscenter
  9. text-input
  10. bottomstack
  11. decklayout
  12. gaplessgrid
  13. bar-less-padding
  14. bar-statusallmons
  15. modes
  16. bar-modes
  17. moveresizekb
  18. unclutter
  19. hide-cursor-when-typing

known issues

  • footclient window flickering, see dwl#705

Building dwl 0.8

dwl has the following dependencies:

  • libinput
  • wayland
  • wlroots0.19 (compiled with the libinput backend)
  • xkbcommon
  • wayland-protocols (compile-time only)
  • pkg-config (compile-time only)

dwl has the following additional dependencies if XWayland support is enabled:

  • libxcb
  • libxcb-wm
  • wlroots (compiled with X11 support)
  • Xwayland (runtime only)

Install these (and their -devel versions if your distro has separate development packages) and run make. If you wish to build against a released version of wlroots (you probably do), use a [release] or a [0.x branch]. If you want to use the unstable development main branch, you need to use the git version of [wlroots].

To enable XWayland, you should uncomment its flags in config.mk.