Skip to content

Hyprland plugin to invert Colors of specific windows!

Notifications You must be signed in to change notification settings

micha4w/Hypr-DarkWindow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hypr-darkwindow

Hyprland plugin that adds possibility to invert the color of specific windows.

preview

Configuration

Adds 2 Dispatches invertwindow WINDOW and invertactivewindow.

Or you can use windowrulev2 lines:

# hyprland.conf
windowrulev2 = plugin:invertwindow,class:(pb170.exe)
windowrulev2 = plugin:invertwindow,fullscreen:1

Warning

The following Config keyowrd is deprecated, it will be removed the next time the code Breaks

# hyprland.conf
darkwindow_invert = class:(pb170.exe)
darkwindow_invert = fullscreen:1

Installation

Hpyrland >= v0.36.0

We now support Nix, wooo!

You should already have a fully working home-manager setup before adding this plugin.

#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.hpyr-darkwindow.url sets the tag, Make sure that tag matches your Hyprland version.

Hpyrland >= v0.34.0

Install using hyprpm

hyprpm add https://github.com/micha4w/Hypr-DarkWindow
hyprpm enable Hypr-DarkWindow
hyprpm reload

Hpyrland >= v0.28.0

Installable using Hyprload

# hyprload.toml
plugins = [
  "micha4w/Hypr-DarkWindow",
]

About

Hyprland plugin to invert Colors of specific windows!

Resources

Stars

Watchers

Forks

Packages