Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/micha4w/Hypr-DarkWindow
Hyprland plugin to invert Colors of specific windows!
https://github.com/micha4w/Hypr-DarkWindow
Last synced: 6 days ago
JSON representation
Hyprland plugin to invert Colors of specific windows!
- Host: GitHub
- URL: https://github.com/micha4w/Hypr-DarkWindow
- Owner: micha4w
- License: mit
- Created: 2023-08-06T16:39:16.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-27T18:44:01.000Z (12 days ago)
- Last Synced: 2024-10-27T21:59:56.495Z (12 days ago)
- Language: C++
- Size: 704 KB
- Stars: 40
- Watchers: 2
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-hyprland - Hypr-DarkWindow
README
# Hypr-DarkWindow
Hyprland plugin that adds possibility to invert the color of specific windows.![preview](./res/preview.png)
## Configuration
Adds 2 Dispatches `invertwindow WINDOW` and `invertactivewindow`.Or you can use windowrulev2 lines:
```conf
# hyprland.conf
windowrulev2 = plugin:invertwindow,class:(pb170.exe)
windowrulev2 = plugin:invertwindow,fullscreen:1
```> [!WARNING]
> The following Config keyword was removed, please switch to the new windowrule version.```conf
# hyprland.conf
darkwindow_invert = class:(pb170.exe)
darkwindow_invert = fullscreen:1
```## Installation
### Hyprland >= v0.36.0
We now support Nix, wooo!You should already have a fully working home-manager setup before adding this plugin.
```nix
#flake.nix
inputs = {
home-manager = { ... };
hyprland = { ... };
...
hypr-darkwindow = {
url = "github:micha4w/Hypr-DarkWindow/tags/v0.36.0";
inputs.hyprland.follows = "hyprland";
};
};outputs = {
home-manager,
hypr-darkwindow,
...
}: {
... = {
home-manager.users.micha4w = {
wayland.windowManager.hyprland.plugins = [
hypr-darkwindow.packages.${pkgs.system}.Hypr-DarkWindow
];
};
};
}
```> [!NOTE]
> In this example `inputs.hypr-darkwindow.url` sets the tag, Make sure that tag matches your Hyprland version.### Hyprland >= v0.34.0
Install using `hyprpm`
```sh
hyprpm add https://github.com/micha4w/Hypr-DarkWindow
hyprpm enable Hypr-DarkWindow
hyprpm reload
```### Hyprland >= v0.28.0
Installable using [Hyprload](https://github.com/duckonaut/hyprload)
```toml
# hyprload.toml
plugins = [
"micha4w/Hypr-DarkWindow",
]
```