Skip to content

devcexx/hyprvibr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hyprvibr

No-effort Hyprland plugin for achieving the same "vibrant" color effect to X11 libvibrant and Windows VibranceGUI utility. This tool will dynamically change the Color Transformation Matrix (CTM) and optionally the resolution of a monitor where a window that is tracked and focused by the plugin is displayed, and will restore the original settings when the window is no longer focused.

Configuration

plugin {
    hyprvibr {
      hyprvibr-app = <app initial class>, <saturation value>
      hyprvibr-app = <app initial class>, <saturation value>, <width>, <height>
      hyprvibr-app = <app initial class>, <saturation value>, <width>, <height>, <refresh rate>
      hyprvibr-app = ...
    }
}

Examples

plugin {
    hyprvibr {
      # Just saturation
      hyprvibr-app = cs2, 3.3

      # Saturation + resolution
      hyprvibr-app = cs2, 1.5, 1920, 1080

      # Saturation + resolution + refresh rate
      hyprvibr-app = cs2, 1.2, 2560, 1440, 144
    }
}

Use hyprctl clients to see the current opened windows in Hyprland and check the initial class of each window.

Compatibility

As I've spent almost no effort on this plugin, I haven't either figure out ways to make it compatible with other components that mess around with the monitors CTM, such as the hyprland_ctm_control_manager_v1 protocol. That means that this plugin will interfer with things like hyprsunset.

About

No effort libvibrant-like plugin for Hyprland

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors