add fractal; try niri overview

This commit is contained in:
EdenQwQ 2025-04-06 18:24:08 +08:00
parent 8424d690c1
commit fda4391c57
4 changed files with 10 additions and 4 deletions

7
flake.lock generated
View file

@ -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"
}
},

View file

@ -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 = {

View file

@ -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";

View file

@ -2,5 +2,6 @@
{
home.packages = with pkgs; [
telegram-desktop
fractal
];
}