Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

caps-lock osd not respecting capslock swap #70

Open
Doomer-Cat opened this issue Jan 4, 2024 · 3 comments
Open

caps-lock osd not respecting capslock swap #70

Doomer-Cat opened this issue Jan 4, 2024 · 3 comments

Comments

@Doomer-Cat
Copy link

Doomer-Cat commented Jan 4, 2024

I use capslock:swapescape a lot

The osd activates when i hit escape (actual key: capslock)
and doesn't when i hit capslock (actual key: escape)

input "type:keyboard" xkb_options caps:swapescape
@Doomer-Cat
Copy link
Author

Doomer-Cat commented Jan 4, 2024

Workaround is not using the backend like mentioned in the readme.md but remaining issue is the osd being activated by escape key in this case

PS: i have a device without capslock led (sys class is still there tho. don't know if that's usually the case)

@darkshitllord
Copy link

I have the same issue, im running hyprland though, i had to set this in my config file
bind = ,Caps_lock, exec, sleep 0.1 && swayosd-client --caps-lock
In my case for example, in order for the caps lock on/off to appear on screen only when i press caps lock (actual key escape), i have to run swayosd-server and then do systemctl stop swayosd-server(not the actual name of the process, something like swaysod backend service).

@ablizno
Copy link

ablizno commented May 12, 2024

remapping capslock with a tool like keyd instead of through the sway config fixes this as it works on a system level.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants