diff --git a/flake.lock b/flake.lock index ec4a899..8891ff5 100644 --- a/flake.lock +++ b/flake.lock @@ -28,11 +28,11 @@ ] }, "locked": { - "lastModified": 1747621015, - "narHash": "sha256-j0fo1rNxZvmFLMaE945UrbLJZAHTlQmq0/QMgOP4GTs=", + "lastModified": 1747742835, + "narHash": "sha256-kYL4GCwwznsypvsnA20oyvW8zB/Dvn6K5G/tgMjVMT4=", "owner": "nix-community", "repo": "disko", - "rev": "cec44d77d9dacf0c91d3d51aff128fefabce06ee", + "rev": "df522e787fdffc4f32ed3e1fca9ed0968a384d62", "type": "github" }, "original": { @@ -88,11 +88,11 @@ "nixpkgs-stable": "nixpkgs-stable" }, "locked": { - "lastModified": 1747704379, - "narHash": "sha256-xHMa+RG5efiEgSXjjlKp2JwiZMVoxriiahIGBaK3drU=", + "lastModified": 1747761969, + "narHash": "sha256-nR3kxGtVGtrEeaY/8LvtlZFvbC4gerebRvRE5dE0Jn0=", "owner": "nix-community", "repo": "emacs-overlay", - "rev": "f66e9712f1b4f61d59f079e2ca46a68547c9d4c4", + "rev": "88ff8a448dec87188f7a5d024bb8838d80a6ffcc", "type": "github" }, "original": { @@ -376,11 +376,11 @@ ] }, "locked": { - "lastModified": 1747688838, - "narHash": "sha256-FZq4/3OtGV/cti9Vccsy2tGSUrxTO4hkDF9oeGRTen4=", + "lastModified": 1747763032, + "narHash": "sha256-9j3oCbemeH7bTVXJ3pDWxOptbxDx2SdK1jY2AHpjQiw=", "owner": "nix-community", "repo": "home-manager", - "rev": "45c2985644b60ab64de2a2d93a4d132ecb87cf66", + "rev": "29dda415f5b2178278283856c6f9f7b48a2a4353", "type": "github" }, "original": { @@ -759,16 +759,17 @@ ] }, "locked": { - "lastModified": 1747596523, - "narHash": "sha256-qmc8XgAAEE9sm0yhFDUSwTMX5b8jxQdQLQtatgTMiB4=", - "owner": "viperML", + "lastModified": 1746758336, + "narHash": "sha256-HN7R9p94Othop41GXf//vMxoi9HAx42fjySIRDljUVc=", + "owner": "nix-community", "repo": "nh", - "rev": "e75dacd5df3f8feff16896884bd264dea78df334", + "rev": "28972b6fe193151cd52ed5bc4bb6b91cee21467b", "type": "github" }, "original": { - "owner": "viperML", + "owner": "nix-community", "repo": "nh", + "rev": "28972b6fe193151cd52ed5bc4bb6b91cee21467b", "type": "github" } }, @@ -784,11 +785,11 @@ "xwayland-satellite-unstable": "xwayland-satellite-unstable" }, "locked": { - "lastModified": 1747638609, - "narHash": "sha256-rPTN667tMqC1IQYgsnotVfXbVNbOzScxn0ontMkkSPk=", + "lastModified": 1747765978, + "narHash": "sha256-o/bZ7UTnMFLoJeeBybyEN8P0oQpsUFAEqzujsAx7W/g=", "owner": "sodiboo", "repo": "niri-flake", - "rev": "af697f3a8665c8d0770485a2e659ddde88430e3b", + "rev": "bb0aeb469b88a5edf312ab3eb4515ce58514755b", "type": "github" }, "original": { @@ -929,11 +930,11 @@ }, "nixos-hardware": { "locked": { - "lastModified": 1747684167, - "narHash": "sha256-l6jbonaboCBlB8lCjBkrqgh2zEnvt6F3f4dOU/8CLd4=", + "lastModified": 1747723695, + "narHash": "sha256-lSXzv33yv1O9r9Ai1MtYFDX3OKhWsZMn/5FFb4Rni/k=", "owner": "NixOS", "repo": "nixos-hardware", - "rev": "e8f38b2c19c0647e39021c3d47172ff5469af8a9", + "rev": "6ac6ec6fcb410e15a60ef5ec94b8a2b35b5dd282", "type": "github" }, "original": { @@ -1003,11 +1004,11 @@ }, "nixpkgs-stable_2": { "locked": { - "lastModified": 1747485343, - "narHash": "sha256-YbsZyuRE1tobO9sv0PUwg81QryYo3L1F3R3rF9bcG38=", + "lastModified": 1747676747, + "narHash": "sha256-LXkWBVqilgx7Pohwqu/ABxDVw+Cmi5/Mj2S2mpUH0Fw=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "9b5ac7ad45298d58640540d0323ca217f32a6762", + "rev": "72841a4a8761d1aed92ef6169a636872c986c76d", "type": "github" }, "original": { @@ -1035,11 +1036,11 @@ }, "nixpkgs-stable_4": { "locked": { - "lastModified": 1747485343, - "narHash": "sha256-YbsZyuRE1tobO9sv0PUwg81QryYo3L1F3R3rF9bcG38=", + "lastModified": 1747676747, + "narHash": "sha256-LXkWBVqilgx7Pohwqu/ABxDVw+Cmi5/Mj2S2mpUH0Fw=", "owner": "nixos", "repo": "nixpkgs", - "rev": "9b5ac7ad45298d58640540d0323ca217f32a6762", + "rev": "72841a4a8761d1aed92ef6169a636872c986c76d", "type": "github" }, "original": { @@ -1658,11 +1659,11 @@ ] }, "locked": { - "lastModified": 1747696712, - "narHash": "sha256-4osrkMiOfqB/SQxni7mtuuRcYMs5HDhowROYNRQhLeM=", + "lastModified": 1747779523, + "narHash": "sha256-zbZ/3X4cvmXW42zzZPrG/jClOkueBLHHooVpN4u4uxk=", "owner": "0xc000022070", "repo": "zen-browser-flake", - "rev": "f08eb325d74fa664595110e70cd7a2baa1bee7db", + "rev": "d73999025579ff405f4e95901f0356e81872e188", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 294c0f7..079f5ce 100644 --- a/flake.nix +++ b/flake.nix @@ -54,7 +54,7 @@ }; nh = { - url = "github:viperML/nh"; + url = "github:nix-community/nh/28972b6fe193151cd52ed5bc4bb6b91cee21467b"; inputs.nixpkgs.follows = "nixpkgs"; }; diff --git a/modules/home/niri.nix b/modules/home/niri.nix index 8f4a3c7..dca8a4c 100644 --- a/modules/home/niri.nix +++ b/modules/home/niri.nix @@ -186,6 +186,8 @@ in { app-id = "Configure Krita"; } { app-id = "Create new document — Krita"; } { app-id = "polkit-kde-authentication-agent-1"; } + { app-id = "Zoom Workdplace"; title = ".*menu.*"; } + { app-id = "r#\"librewolf$\"# title=\"^Picture-in-Picture$\""; } ]; open-floating = true; } @@ -214,15 +216,6 @@ in }; } - { - # Open the Firefox picture-in-picture player as floating by default. - # This app-id regular expression will work for both: - # host Firefox (app-id is "firefox") - # Flatpak Firefox (app-id is "org.mozilla.firefox") - matches = [ { app-id = "r#\"librewolf$\"# title=\"^Picture-in-Picture$\""; } ]; - open-floating = true; - } - { matches = [ { app-id = "Renoise"; } @@ -253,6 +246,9 @@ in softness = 10; spread = 8; }; + min-width = 250; + min-height = 250; + open-focused = true; } ]; diff --git a/modules/system/kanata.nix b/modules/system/kanata.nix index 034cc0e..c9d9db5 100644 --- a/modules/system/kanata.nix +++ b/modules/system/kanata.nix @@ -4,11 +4,11 @@ let k-vars = '' (defvar tap-timeout 150 - hold-timeout 150) + hold-timeout 200) ''; shared-alias = '' (defalias - spcnav (tap-hold-press $tap-timeout $hold-timeout spc (layer-while-held navigation)) + spcnav (tap-hold-release $tap-timeout $hold-timeout spc (layer-while-held navigation)) supesc (tap-hold-press $tap-timeout $hold-timeout esc lmet) sp-lsft (tap-hold-press $tap-timeout $hold-timeout S-9 lsft) sp-rsft (tap-hold-press $tap-timeout $hold-timeout S-0 lsft)) @@ -104,7 +104,7 @@ allow-hardware-repeat false ${k-vars} (defalias - spcnav (tap-hold-press $tap-timeout $hold-timeout spc (layer-while-held navigation)) + spcnav (tap-hold $tap-timeout 300 spc (layer-while-held navigation)) supesc (tap-hold-press $tap-timeout $hold-timeout esc lmet) sp-lsft (tap-hold-press $tap-timeout $hold-timeout S-9 lsft) sp-rsft (tap-hold-press $tap-timeout $hold-timeout S-0 lsft)) @@ -119,7 +119,7 @@ ${k-vars} (deflayer navigation grv 1 2 3 4 5 6 7 8 9 0 - = bspc tab q w e r t y u i o p [ ] \ - @supesc a s d f g left down up right ; ' ret + caps a s d f g left down up right ; ' ret @sp-lsft z x c v b n m , . / @sp-rsft lmet lalt lctrl _ rctrl ralt) '';