skhd: Segfaults when using Function keys literals

Skhd segfaults when using function keys literals. Maybe I do not understand properly the syntax 😦

Here’s what happen:

❯❯❯ ~ skhd
skhd: using config '/Users/bigo/.skhdrc'
(#2) hotkey :: {
	mod: 'cmd'
	mod: 'alt'
	key: 'q' (12)
	cmd: 'brew services stop chunkwm'
}
(#5) hotkey :: {
	mod: 'cmd'
	mod: 'alt'
	key: 'r' (15)
	cmd: 'bash $HOME/.chunkwmrc'
}
(#8) hotkey :: {
	mod: 'cmd'
	mod: 'alt'
	key: 'k' (40)
	cmd: 'khd -e "reload"'
}
(#11) hotkey :: {
	mod: 'cmd'
	mod: 'alt'
	key: 'u' (32)
	cmd: 'bash -c "LPID=$(pgrep -f bersicht); kill $LPID; open -a Übersicht"'
}
(#14) hotkey :: {
	mod: 'ctrl'
	mod: 'shift'
	key: 'f' (3)
(#14:17) expected token 'Token_Command', but got '1'
[1]    9304 segmentation fault  skhd

And the config line causing the segfault is:

# block screen
ctrl + shift - f12                       :    m screensaver

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 17 (8 by maintainers)

Commits related to this issue

Most upvoted comments

Yayyyyy. Great job as usual!! All working fine and it is way more performant than khd.