https://github.com/jonniecache/hyprcwd-rs
Outputs the working directory of the currently active window in the hyprland window manager.
https://github.com/jonniecache/hyprcwd-rs
Last synced: 8 months ago
JSON representation
Outputs the working directory of the currently active window in the hyprland window manager.
- Host: GitHub
- URL: https://github.com/jonniecache/hyprcwd-rs
- Owner: JonnieCache
- License: mit
- Created: 2025-06-07T14:10:26.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-06-07T14:27:55.000Z (12 months ago)
- Last Synced: 2025-06-07T15:21:45.043Z (12 months ago)
- Language: Nix
- Size: 13.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# hyprcwd-rs
Outputs the working directory of the currently active window in the hyprland window manager.
Intended for starting a new terminal window from a hotkey, in the directory of the currently active window.
Rust port of https://github.com/vilari-mickopf/hyprcwd, to shave off those milliseconds.
## Install
- `cargo install --path .`
- The included `flake.nix`
- Binary from the relases page
## Usage
Hyprland key binding:
```
bind = $mainMod, T, exec, kitty -d "$(hyprcwd)"
```
or the equivalent for your terminal app.