onagre-launcher / onagre

A general purpose application launcher for X and wayland inspired by rofi/wofi and alfred
MIT License
536 stars 26 forks source link

Main thread panicked #34

Closed ibnumalik closed 2 years ago

ibnumalik commented 2 years ago

Describe the bug Cannot run onagre and panicked error is displayed.

Config

icon_theme = "Arc"
font = "JetBrains Mono,JetBrains Mono Medium"
size = [800, 280]
font_size = 18
background = "#2E3440"
border_color = "#00000000"
border_radius = 0.0
border_width = 10.0

[rows.lines.default]
background = "#2E3440"
text_color = "#81A1C1"
padding = 5

[rows.lines.selected]
background = "#2E3440"
text_color = "#EBCB8B"
padding = 5

[scrollable]
scrollbar_width = 0
scroller_width = 0

[search.bar]
background = "#3B4252"
value_color = "#8FBCBB"
placeholder_color = "#8FBCBB"
border_color = "#00ff00ff"
selection_color = "#fcfbfbff"
text_width = "fill"

[search]
background = "#3B4252"
height = 30

To Reproduce run onagre command in terminal

Expected behavior Onagre should run

Screenshots not relevant

Window manager (please complete the following information):

Additional context

Full error message

thread 'main' panicked at 'Error in Surface::configure: invalid surface', /home/ibnumalik/.cargo/registry/src/github.com-1ecc6299db9ec823/wgpu-0.11.0/src/backend/direct.rs:204:9
stack backtrace:

Installation method

yay -S onagre-git
ibnumalik commented 2 years ago

now it worked, use cargo install method. thanks for this tools!