feat(hypr): PiP now works.
This commit is contained in:
@@ -4,6 +4,13 @@
|
|||||||
# Make all inactive windows transparent
|
# Make all inactive windows transparent
|
||||||
"match:class .*, opacity 1 0.8"
|
"match:class .*, opacity 1 0.8"
|
||||||
"match:class firefox, match:title (?i).*bitwarden.*, no_screen_share on"
|
"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 = [
|
workspace = [
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -94,6 +94,10 @@ in {
|
|||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
mainBar = {
|
mainBar = {
|
||||||
|
start_hidden = true;
|
||||||
|
ipc = true;
|
||||||
|
"on-sigusr1" = "hide";
|
||||||
|
"on-sigusr2" = "show";
|
||||||
reload_style_on_change = true;
|
reload_style_on_change = true;
|
||||||
layer = "top";
|
layer = "top";
|
||||||
position = "top";
|
position = "top";
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
owner = "waliori";
|
owner = "waliori";
|
||||||
repo = "waybar_peek";
|
repo = "waybar_peek";
|
||||||
rev = "main"; # You can pin a specific commit hash here for stability
|
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];
|
buildInputs = [pkgs.python3];
|
||||||
|
|||||||
Reference in New Issue
Block a user