donovanglover / hyprnome

GNOME-like workspace switching in Hyprland.
https://donovan.is/hyprnome
GNU General Public License v3.0
120 stars 3 forks source link
gnome hyprland linux rust

hyprnome

GNOME-like workspace switching in Hyprland.

Features

Installation

hyprnome has official support for NixOS, Arch Linux (AUR), and Fedora (Copr).

NixOS (Recommended)

Add hyprnome to your systemPackages and rebuild.

{ pkgs, ... }:

{
  environment.systemPackages = with pkgs; [
    hyprnome
  ];
}

Alternatively, use nix run nixpkgs#hyprnome to try hyprnome without installing it.

Arch Linux (AUR)

Use an AUR helper like yay to install hyprnome.

yay hyprnome

Fedora (Copr)

hyprnome is available in the solopasha/hyprland Copr repository.

sudo dnf copr enable solopasha/hyprland && sudo dnf install hyprnome

Other distributions

Follow the install guide for Rust. Then, use cargo to install hyprnome.

cargo install --git https://github.com/donovanglover/hyprnome --tag 0.3.1

Usage

Usage: hyprnome [OPTIONS]

Options:
  -p, --previous      Go to the previous workspace instead of the next
  -m, --move          Move the active window to the dispatched workspace
  -n, --no-empty      Don't create empty workspaces in the given direction
  -k, --keep-special  Don't auto-close special workspaces when switching workspaces
  -c, --cycle         Cycle between workspaces instead of creating new ones
  -v, --verbose       Print debugging information
  -h, --help          Print help (see more with '--help')
  -V, --version       Print version

Example hyprland.conf:

bind = SUPER, 1, exec, hyprnome --previous
bind = SUPER, 2, exec, hyprnome
bind = SUPER_SHIFT, 1, exec, hyprnome --previous --move
bind = SUPER_SHIFT, 2, exec, hyprnome --move

Contributing

This software should be bug-free, however contributions are welcome. Remember to write tests for any new functionality and ensure that all existing tests pass.