Skip to content

asterisk or asciicircum are not recognized #315

@kankaristo

Description

@kankaristo

Version Information:

Linux <hostname> 6.11.0-26-generic #26~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Apr 17 19:20:47 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

Simple-Wayland-HotKey-Daemon 1.3.0-dev

Describe the bug:
Both of the following keybindings work in sxhkd, but they give an error about the config in swhkd:

super + asterisk
    notify-send test1
super + shift + asciicircum
    notify-send test2

NOTE: On my keyboard layout pressing Shift+* gives ^, which is why the keybinding uses asciicircum. But super + shift + asterisk also works in sxhkd (but not in swhkd).

Expected behavior:
The keybindings should work and run the command

Actual behavior:
Any of the keybindings gives the following errors (only they key name changes, e.g. asterisk or asciicircum):

[2025-06-17T19:22:08Z ERROR swhkd] Config Error: unable to parse config file
[2025-06-17T19:22:08Z ERROR swhkd]  --> /home/sami/.config/swhkd/swhkdrc:4:10
      |
    4 | super + asterisk
      |          ^---
      |
      = expected command

To Reproduce:
Add the above to your swhkdrc.

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