diff --git a/users/phundrak/home.nix b/users/phundrak/home.nix index faa47da..f3ed98a 100644 --- a/users/phundrak/home.nix +++ b/users/phundrak/home.nix @@ -77,8 +77,10 @@ general = { # first eight chars to select areas, last three chars # for left, right, middle click + # First eigh chars to select areas: auiectsr + # last three chars for left, right, and middle click: tsr home_row_keys = "auiectsrtsr"; - modes = "tile,bisect"; + modes = "tile,bisect,click"; }; }; }; diff --git a/users/phundrak/wlr-which-key/default.nix b/users/phundrak/wlr-which-key/default.nix index 49e3111..9a5b3cb 100644 --- a/users/phundrak/wlr-which-key/default.nix +++ b/users/phundrak/wlr-which-key/default.nix @@ -242,10 +242,18 @@ ]; } ] - ++ lib.lists.optional config.home.desktop.wl-kbptr.enable { - key = "m"; - desc = "Mouse Warp"; - cmd = "wl-kbptr"; - }; + ++ lib.lists.optionals config.home.desktop.wl-kbptr.enable [ + { + key = "m"; + desc = "Mouse Warp"; + cmd = "wl-kbptr"; + } + { + key = "M"; + desc = "Mouse click"; + # cmd = "wl-kbptr -o modes=floating,click"; + cmd = "wl-kbptr -o modes=floating,click -o mode_floating.source=detect"; + } + ]; }; }