hyprland-plugins/hyprwinwrap
2025-12-19 16:24:43 +00:00
..
CMakeLists.txt treewide: add CMake files 2024-05-05 16:36:13 +03:00
default.nix chore: chase nixpkgs 2025-09-22 12:18:57 +03:00
globals.hpp hyprwinwrap: add new plugin 2023-11-24 21:14:14 +00:00
main.cpp all: chase hyprland 2025-12-19 16:24:43 +00:00
Makefile all: fix build with clang (#489) 2025-09-25 17:17:00 +02:00
meson.build treewide: update pkgconfig flags to include irregular locations of headers on distros like openSUSE (#150) 2024-04-20 13:05:44 +03:00
README.md hyprwinwrap: add position and coordinates options (#427) 2025-07-18 23:47:19 +02:00

hyprwinwrap

Clone of xwinwrap for hyprland.

Example config:

plugin {
    hyprwinwrap {
        # class is an EXACT match and NOT a regex!
        class = kitty-bg
        # you can also use title
        title = kitty-bg
        # you can add the position of the window in a percentage
        pos_x = 25
        pos_y = 30
        # you can add the size of the window in a percentage
        size_x = 40
        size_y = 70
    }
}

Launch kitty -c "~/.config/hypr/kittyconfigbg.conf" --class="kitty-bg" "/home/vaxry/.config/hypr/cava.sh"

Example script for cava:

#!/bin/sh
sleep 1 && cava

sleep required because resizing happens a few ms after open, which breaks cava