diff --git a/flake.lock b/flake.lock index f9e4367..19ff6b2 100644 --- a/flake.lock +++ b/flake.lock @@ -703,16 +703,17 @@ "niri-unstable": { "flake": false, "locked": { - "lastModified": 1743835358, - "narHash": "sha256-HiDNB5meUAsz8gbQrS551M8axbbVx+nHfJdYZedzivQ=", + "lastModified": 1743928003, + "narHash": "sha256-zplmZv+QgVXzk7O3j5CWmvAPydxhbsVfkZ0DjUGMPlc=", "owner": "YalTeR", "repo": "niri", - "rev": "c359d248257bdb68785597d2822f9c3a5ccbfdfe", + "rev": "4ca7812e4fd51632995f9fccaad8f4607977abff", "type": "github" }, "original": { "owner": "YalTeR", "repo": "niri", + "rev": "4ca7812e4fd51632995f9fccaad8f4607977abff", "type": "github" } }, diff --git a/flake.nix b/flake.nix index 74437f6..8a4d6c7 100644 --- a/flake.nix +++ b/flake.nix @@ -54,7 +54,7 @@ }; flake-parts.url = "github:hercules-ci/flake-parts"; niri-unstable = { - url = "github:YalTeR/niri"; + url = "github:YalTeR/niri/4ca7812e4fd51632995f9fccaad8f4607977abff"; flake = false; }; niri = { diff --git a/home/programs/desktop/niri/swhkd.nix b/home/programs/desktop/niri/swhkd.nix index 5b1dd74..13cc4c4 100644 --- a/home/programs/desktop/niri/swhkd.nix +++ b/home/programs/desktop/niri/swhkd.nix @@ -44,6 +44,10 @@ in (niriAction "super + alt + {h, j, k, l}" "move-floating-window -{x \\-10, y +10, y \\-10, x +10}") (niriAction "{ctrl +, alt +} print" "screenshot-{screen, window}") (niriAction "print" "screenshot") + (niriAction "super + w" "toggle-overview") + (niriAction "super + alt + m" "set-dynamic-cast-monitor") + (niriAction "super + alt + w" "set-dynamic-cast-window") + (niriAction "super + alt + n" "clear-dynamic-cast-target") { key = "super + ctrl + c"; command = "niri msg pick-color | grep Hex | sd 'Hex: ' '' | sd '\\n' '' | wl-copy"; diff --git a/home/programs/social/default.nix b/home/programs/social/default.nix index 4a63c5e..a8bcb90 100644 --- a/home/programs/social/default.nix +++ b/home/programs/social/default.nix @@ -2,5 +2,6 @@ { home.packages = with pkgs; [ telegram-desktop + fractal ]; }