feat(hypr): PiP now works.

This commit is contained in:
kenji
2026-06-24 14:07:10 -05:00
parent 4fe5b5033b
commit 04d2c4bd10
3 changed files with 12 additions and 1 deletions
+7
View File
@@ -4,6 +4,13 @@
# Make all inactive windows transparent
"match:class .*, opacity 1 0.8"
"match:class firefox, match:title (?i).*bitwarden.*, no_screen_share on"
# PiP
"match:title ^(Picture(-| )in(-| )[Pp]icture)$, float 1"
"match:title ^(Picture(-| )in(-| )[Pp]icture)$, pin 1"
"match:title ^(Picture(-| )in(-| )[Pp]icture)$, size 400 225"
"match:title ^(Picture(-| )in(-| )[Pp]icture)$, move monitor_w-window_w-20 monitor_h-window_h-20"
"match:title ^(Picture(-| )in(-| )[Pp]icture)$, hyprbars:no_bar on"
];
workspace = [
];
+4
View File
@@ -94,6 +94,10 @@ in {
enable = true;
settings = {
mainBar = {
start_hidden = true;
ipc = true;
"on-sigusr1" = "hide";
"on-sigusr2" = "show";
reload_style_on_change = true;
layer = "top";
position = "top";
+1 -1
View File
@@ -12,7 +12,7 @@
owner = "waliori";
repo = "waybar_peek";
rev = "main"; # You can pin a specific commit hash here for stability
hash = lib.fakeHash; # Nix will error on first build and give you the correct hash to paste here
hash = "sha256-Vd462KxLPqBeSJZ/1A0MChG8Q2XQMiubiKlpdGtZZhw="; # Nix will error on first build and give you the correct hash to paste here
};
buildInputs = [pkgs.python3];