waycrate / swhkd

Sxhkd clone for Wayland (works on TTY and X11 too)
https://git.sr.ht/~shinyzenith/swhkd
BSD 2-Clause "Simplified" License
679 stars 47 forks source link

thread 'main' panicked at 'called #176

Open vimyumy opened 1 year ago

vimyumy commented 1 year ago

Version Information: swhkd 1.2.1

image

idk why :(

Shinyzenith commented 1 year ago

Can you remove sudo and try again?

vimyumy commented 1 year ago

image

Same problem

Shinyzenith commented 1 year ago

Looks like it's crashing while parsing the modifier vector. Can you give us your config file?

vimyumy commented 1 year ago

image

Here u go i have only one line

Shinyzenith commented 1 year ago

Hm thats odd. @EdenQwQ @ajanon any idea what might be going on?

vimyumy commented 1 year ago

image

might be somthing helpful

vimyumy commented 1 year ago

@ Shinyzenith Why i can not use this syntax , and any alter? super + o ; {f, b , t} {firefox, brave, telegram-desktop}

press super + o then leave them and press f to open firefox.

Shinyzenith commented 1 year ago

@ Shinyzenith Why i can not use this syntax , and any alter? super + o ; {f, b , t} {firefox, brave, telegram-desktop}

press super + o then leave them and press f to open firefox.

My apologies, I have no experience with modes or our lexer at all. The people I pinged have the most experience and can help you.

ajanon commented 1 year ago

This looks a lot like what #171 is trying to fix. I am going to try it and my side and will get back to you.

Shinyzenith commented 1 year ago

@vimyumy Would you mind compiling main branch and trying once again? the issue has been fixed.

vimyumy commented 1 year ago

@Shinyzenith thanks, it works now BUT not on a key release, @super + shift + f thunar

u prees super + shift + f , not super then leave it and shift + t

Shinyzenith commented 1 year ago

@ajanon So it looks like that did indeed strip it from the check but now the conditions imposed by the prefixes are no longer respected.

Shinyzenith commented 1 year ago

@ajanon So it looks like that did indeed strip it from the check but now the conditions imposed by the prefixes are no longer respected.

Since I don't have a lot of parser experience, @TTWNO Your experience would be beneficial ❤️
Ref: https://github.com/waycrate/swhkd/pull/171