diff --git a/gunther/hypr/hyprland.nix b/gunther/hypr/hyprland.nix index 013f817..9a23006 100644 --- a/gunther/hypr/hyprland.nix +++ b/gunther/hypr/hyprland.nix @@ -63,7 +63,7 @@ bind = [ # opening programs "$mod, Return, exec, foot" - "$mod, D, exec, rofi -show drun -show-icons" + "$mod, D, exec, wofi" "$mod, M, exit, " "$mod, Q, killactive, " @@ -148,18 +148,88 @@ }; }; - programs.rofi = { + programs.wofi = { enable = true; - package = pkgs.rofi-wayland; - theme = ./catppuccin-macchiato.rasi; - font = "monospace 14"; - terminal = "foot"; - extraConfig = { - modi = "drun,run"; + settings = { + width = 600; + height = 365; + location = "center"; + show = "drun"; + prompt = "Search..."; + filter_rate = 100; + allow_markup = true; + no_actions = true; + halign = "fill"; + orientation = "vertical"; + content_halign = "fill"; + insensitive = true; + allow_images = true; + image_size = 40; + gtk_dark = true; + layer = "overlay"; }; - plugins = [ - pkgs.rofi-top - ]; + style = '' + window { + margin: 0px; + border: 2px solid #b59dc3; + background-color: #282a36; + border-radius: 18px; + + + } + + #input { + margin: 5px; + border: none; + color: #f8f8f2; + border-radius: 15px; + background-color: #44475a; + } + + #inner-box { + margin: 5px; + border: none; + border-radius: 15px; + background-color: #282a36; + } + + #outer-box { + margin: 5px; + border: none; + border-radius: 15px; + background-color: #282a36; + } + + #scroll { + margin: 0px; + border-radius: 15px; + border: none; + } + + #text { + border-radius: 15px; + margin: 5px; + border: none; + color: #f8f8f2; + } + + #entry.activatable #text { + color: #282a36; + } + + #entry > * { + color: #f8f8f2; + } + + #entry:selected { + border-radius: 15px; + background-color: #44475a; + } + + #entry:selected #text { + border-radius: 15px; + } + ''; }; services.mako = {