feat(hypr): PiP now works.
This commit is contained in:
@@ -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 = [
|
||||
];
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user