dotfiles
My PC Dotfiles & Websitegit clone https://github.com/maydayv7/dotfiles
commit acc11f5ce442dc6cbbeb6a76c880cca7dec11eec parent f0cad5434a32a98d283ca21c952823b441bdc01f Author: maydayv7 <maydayv7@gmail.com> Date: Sat, 30 Mar 2024 13:41:02 +0530 fix(Hyprland): Window Rules
Diffstat:
| M | files/hyprland/pypr.toml | | | 6 | +++--- |
| M | flake.lock | | | 16 | ++++++++-------- |
| M | flake.nix | | | 2 | +- |
| M | modules/gui/desktop/hyprland/apps/rules.nix | | | 11 | ++++------- |
4 files changed, 16 insertions(+), 19 deletions(-)
diff --git a/files/hyprland/pypr.toml b/files/hyprland/pypr.toml @@ -22,7 +22,7 @@ margin = 30 [scratchpads.bluetooth] animation = "fromRight" command = "overskride" -class = "overskride" +class = "io.github.kaii_lb.Overskride" lazy = true size = "50% 90%" margin = 30 @@ -41,8 +41,8 @@ excludes = ["bluetooth", "network", "volume"] [scratchpads.network] animation = "fromRight" -command = "kitty nmtui" -class = "kitty" +command = "kitty --class kitty-nm nmtui" +class = "kitty-nm" lazy = true size = "50% 90%" margin = 30 diff --git a/flake.lock b/flake.lock @@ -545,15 +545,15 @@ ] }, "locked": { - "lastModified": 1709466277, - "narHash": "sha256-fSujEAViKqQusHyYe7Qg8QnLlyUNOf0/Jk1P70BmiyE=", - "owner": "Ayuei", + "lastModified": 1711389855, + "narHash": "sha256-Bm5Z7DZVCqzUAg3n2JxJePXSEPnZYmH0+KJdWd8rYcc=", + "owner": "nlintn", "repo": "hycov", - "rev": "db6ea8a24f0a58fa69f86db49d7c853754b1b8e1", + "rev": "1aa1505d91222f1371749ecec7dd5512f5f7c2a5", "type": "github" }, "original": { - "owner": "Ayuei", + "owner": "nlintn", "repo": "hycov", "type": "github" } @@ -1168,11 +1168,11 @@ }, "unstable": { "locked": { - "lastModified": 1710451336, - "narHash": "sha256-pP86Pcfu3BrAvRO7R64x7hs+GaQrjFes+mEPowCfkxY=", + "lastModified": 1711163522, + "narHash": "sha256-YN/Ciidm+A0fmJPWlHBGvVkcarYWSC+s3NTPk/P+q3c=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "d691274a972b3165335d261cc4671335f5c67de9", + "rev": "44d0940ea560dee511026a53f0e2e2cde489b4d4", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix @@ -160,7 +160,7 @@ }; hycov = { - url = "github:Ayuei/hycov"; + url = "github:nlintn/hycov"; inputs.hyprland.follows = "hyprland"; }; diff --git a/modules/gui/desktop/hyprland/apps/rules.nix b/modules/gui/desktop/hyprland/apps/rules.nix @@ -15,16 +15,13 @@ _: { "opacity 0.9 override, class:^(ulauncher)$" "move cursor -50% -50%, class:^(ulauncher)$" - # PiP Window + # Browser Windows "float, title:^(Picture-in-Picture)$" - "pin, title:^(Picture-in-Picture)$" - - # Throw away Sharing Window - "workspace special silent, title:^(Firefox — Sharing Indicator)$" + "workspace special silent, title:^(Sharing Indicator)$" "workspace special silent, title:^(.*is sharing (your screen|a window)\.)$" - # Idle Inhibit during media consumption - "idleinhibit focus, class:^(mpv|.+exe)$" + # Media Consumption + "idleinhibit focus, class:^(mpv|.*celluloid.*|.+exe)$" "idleinhibit focus, class:^(firefox|google-chrome)$, title:^(.*YouTube.*)$" "idleinhibit fullscreen, class:^(firefox|google-chrome)$"