hyprwm / Hyprland

Hyprland is an independent, highly customizable, dynamic tiling Wayland compositor that doesn't sacrifice on its looks.
https://hyprland.org
BSD 3-Clause "New" or "Revised" License
21.5k stars 899 forks source link

Swaylock uses different keyboard layout #2772

Open LiGoldragon opened 1 year ago

LiGoldragon commented 1 year ago

Hyprland Version

0.27.0

Bug or Regression?

Bug

Description

Config uses colemak

    input {
      kb_layout = us
      kb_variant=colemak
    }

But swaylock obviously does not.

How to reproduce

Use different keyboard layout, then lock with swaylock.

Crash reports, logs, images, videos

No response

LiGoldragon commented 1 year ago

Did you know that the QWERTY layout was designed to slow down the typist, to prevent jamming of the typewriter? QWERTY is literally the worst layout possible.

vaxerski commented 1 year ago

It's a false myth that everyone seems to repeat. Studies have shown no difference in typing abilities between qwerty and other popular layouts like dvorak.

I also fail to see the reasoning for layout propaganda here.

LiGoldragon commented 1 year ago

From an AI analysis of real world hand movements1:

During the research I've identified the following results: in terms of efficiency QWERTY - 0% (baseline) Dvorak - +77% Colemak - +84% Workman - +101% Halmak - +134%

LiGoldragon commented 1 year ago

I also fail to see the reasoning for layout propaganda here.

I understand why some people don't have time to improve their typing efficiency, so there is no need to perceive the information, which is directly related to this bug being fixed (nobody cares who's not using qwerty), as an attack. All is as it should be. Peace, gratitude, joy. 🙏

vaxerski commented 1 year ago

passive-aggressive comments won't get you anywhere.

"efficiency" is misleading here, as less finger movement does not necessarily lead to faster typing.

https://repository.kulib.kyoto-u.ac.jp/dspace/bitstream/2433/139379/1/42_161.pdf

qwerty was never made to slow down anyone. Whether it's a bad layout is a different topic.

If anything, spreading common combinations far apart makes more sense to me, as I can use two fingers to reach them quickly, rather than having to use one in rapid succession (if they are close to each other)

LiGoldragon commented 1 year ago

@vaxerski I'm very sorry I offended you. Thank you :pray:

LiGoldragon commented 12 months ago

Related: https://github.com/hyprwm/Hyprland/issues/1881

LiGoldragon commented 12 months ago

Using kb_variant= results in the same problem with a colemak keyboard also using kb_variant= in order to get around the general kb_variant misbehavior while still setting the laptop keyboard to colemak in hyprland (which breaks the laptop hyprland binds and swaylock on all keyboards.)