From 3d922f1dbc4f594ccb66d1560f63b4267e069535 Mon Sep 17 00:00:00 2001 From: Myned Date: Wed, 12 Feb 2025 13:19:55 -0600 Subject: [PATCH] niri: add todo Signed-off-by: Myned --- options/custom/desktops/niri/binds.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/options/custom/desktops/niri/binds.nix b/options/custom/desktops/niri/binds.nix index f4822d0..7f58144 100644 --- a/options/custom/desktops/niri/binds.nix +++ b/options/custom/desktops/niri/binds.nix @@ -67,6 +67,9 @@ in { ]; in listToAttrs (with hm.lib.niri.actions; [ + # TODO: Focus window if already launched + # https://github.com/YaLTeR/niri/discussions/267 + #?? niri msg action focus-window --id (niri msg -j windows | jq '.[] | select(.app_id == "").id') (key "0" "Mod" (spawn [swayosd-client "--output-volume" "mute-toggle"])) (key "1" "Ctrl+Alt" (spawn ["lifx" "state" "--brightness" "0.01"])) (key "1" "Mod" (focus-workspace "1"))