diff --git a/modules/rice/wofi.nix b/modules/rice/wofi.nix new file mode 100644 index 0000000..f29f05d --- /dev/null +++ b/modules/rice/wofi.nix @@ -0,0 +1,70 @@ +{ + programs.wofi = { + enable = true; + settings = { + hide_scroll = true; + show = "drun"; + width = "30%"; + lines = 8; + line_wrap = "word"; + term = "kitty"; + allow_markup = true; + always_parse_args = false; + show_all = true; + print_command = true; + layer = "overlay"; + allow_images = true; + sort_order = "alphabetical"; + gtk_dark = true; + prompt = ""; + image_size = 20; + display_generic = false; + location = "center"; + key_expand = "Tab"; + insensitive = false; + }; + + style = '' + * { + font-family: Iosevka Mono; + color: #e5e9f0; + background: transparent; + } + + #window { + background: rgba(41, 46, 66, 0.5); + margin: auto; + padding: 10px; + border-radius: 20px; + border: 5px solid #b072d1; + } + + #input { + padding: 10px; + margin-bottom: 10px; + border-radius: 15px; + } + + #outer-box { + padding: 20px; + } + + #img { + margin-right: 6px; + } + + #entry { + padding: 10px; + border-radius: 15px; + } + + #entry:selected { + background-color: #2e3440; + } + + #text { + margin: 2px; + } + ''; + }; +}