Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ckaznable/hyprnavi
simple horizontal navigation feature for Hyprland
https://github.com/ckaznable/hyprnavi
hyprland
Last synced: 6 days ago
JSON representation
simple horizontal navigation feature for Hyprland
- Host: GitHub
- URL: https://github.com/ckaznable/hyprnavi
- Owner: ckaznable
- License: mit
- Created: 2024-05-07T07:52:59.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2024-08-23T13:50:55.000Z (3 months ago)
- Last Synced: 2024-08-23T15:26:04.422Z (3 months ago)
- Topics: hyprland
- Language: Rust
- Homepage:
- Size: 29.3 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-hyprland - hyprnavi
README
# Hyprnavi
This plugin provides a simple horizontal navigation feature for Hyprland, integrating the behaviors of `movefocus l/r` and `workspace e+1/e-1` to allow users to conveniently switch between different windows and workspaces.
The plugin automatically detects if the current window is at the edge of the screen. If it is, it will navigate to the next workspace.
## Installation
```bash
git clone https://github.com/ckaznable/hyprnavi.git
cd hyprnavi
cargo build --release
sudo cp target/release/hyprnavi /usr/local/bin
sudo chmod +x /usr/local/bin/hyprnavi
```## Usage
```bash
Usage: hyprnavi []simple horizontal navigation in hyprland
Options:
--help display usage information
--swap swap windowsCommands:
r Focus on the next window. If the current window is already at the edge, focus on the next workspace.
l Focus on the previous window. If the current window is already at the edge, focus on the previous workspace.
```## Example in hyprland.conf
```conf
bind = SUPER, H, exec, hyprnavi l
bind = SUPER, L, exec, hyprnavi r
bind = SUPER SHIFT, H, exec, hyprnavi l --swap
bind = SUPER SHIFT, L, exec, hyprnavi r --swap
```## LICENSE
MIT