diff --git a/config/modules/hyprland/doloro-settings.nix b/config/modules/hyprland/doloro-settings.nix index 731e8cd..ee4703c 100644 --- a/config/modules/hyprland/doloro-settings.nix +++ b/config/modules/hyprland/doloro-settings.nix @@ -9,6 +9,7 @@ home.packages = [ pkgs.hyprcursor pkgs.wlogout + pkgs.tofi ]; home.pointerCursor = { enable = true; @@ -99,6 +100,29 @@ }; "$mainMod" = "SUPER"; bind = [ + ( + let + config = pkgs.writeTextFile { + name = "config"; + text = '' + width = 100% + height = 100% + border-width = 0 + outline-width = 0 + padding-left = 35% + padding-top = 35% + result-spacing = 25 + num-results = 5 + font = monospace + background-color = #000A + ''; + }; + script = pkgs.writeShellScript "mreow" '' + exec $(tofi-drun -c ${config}) + ''; + in + "$mainMod, R, exec, ${script}" + ) "$mainMod, C, killactive" "$mainMod, M, exec, uwsm stop" "$mainMod, E, exec, zen"