Print the current working directory of the active window under Wayland. Inspired by xcwd.
Using waycwd start a new terminal emulator in the same directory as the current active window. For example using Sway and Alacritty this could be achived with this line in ~/.config/sway/config.
bindsym Mod1+Backspace exec alacritty --working-directory="$(waycwd)"
- Get the latest binary from the releases
- Or build from source
make release
(using zig)
- Sway
- Others are not supported