Skip to content

unable to parse config file, = expected send, on_release, shorthand_allow, or key_range #322

@evanescente-ondine

Description

@evanescente-ondine

It's my first installation/configuration. I'd like to know if it's a bug or the config is wrong:
~> [2025-10-25T23:40:27Z ERROR swhkd] Config Error: unable to parse config file
[2025-10-25T23:40:27Z ERROR swhkd] --> .config/swhkd/swhkdrc:1:23
|
1 | super + {F4,F10,F2,F5,shift + F5}
| ^---
|
= expected send, on_release, shorthand_allow, or key_range
Simple-Wayland-HotKey-Daemon 1.3.0-dev
Linux 84-47-09-37-40-35 6.12.43+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.43-1 (2025-08-27) x86_64 GNU/Linux

the config goes like this:
super + {F4,F10,F2,F5,shift + F5}
doas loginctl {poweroff,hybrid-sleep,suspend,reboot,reboot --firmware-setup}
super + {Return,asterisk,shift + asterisk}
{footclient broot,footclient,foot}

And if comment out the first two lines, the same message goes about the second and third lines. When comparing what I read in the official documentation I just can't see the difference.

Thanks for your help.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions