Skip to content

Commit

Permalink
docs: Add NixOS instructions to README
Browse files Browse the repository at this point in the history
Note that it may take a few days for hyprdim to become available in
nixos-unstable.
  • Loading branch information
donovanglover committed Aug 4, 2023
1 parent fd6ac17 commit a65db27
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Expand Up @@ -7,6 +7,22 @@ hyprdim is a daemon that automatically dims windows in [Hyprland](https://hyprla
- Easily see which window has focus, even with subtle or no borders.
- Windows only dim when switching windows, eliminating the need to toggle dim on/off when you want to see other windows.

## Installation

Add [`hyprdim`](https://search.nixos.org/packages?channel=unstable&query=hyprdim) to your `systemPackages` and rebuild.

```nix
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
hyprdim
];
}
```

Alternatively, use `nix run nixpkgs#hyprdim` to test hyprdim without installing it.

## Usage

```fish
Expand Down

0 comments on commit a65db27

Please sign in to comment.