Files
nix-config/users/phundrak/wlr-which-key/float-window.nix

5 lines
147 B
Nix

{pkgs, ...}:
pkgs.writeShellScriptBin "float" ''
${pkgs.procps}/bin/pidof -x Hyprland && ${pkgs.hyprland}/bin/hyprctl dispatch togglefloating
''