From cd19ea95791d4aadf6378a869aff64f11183c237 Mon Sep 17 00:00:00 2001 From: MoonlightWave-12 <135532-MoonlightWave-12@users.noreply.gitlab.gnome.org> Date: Sat, 28 Sep 2024 20:50:57 +0200 Subject: [PATCH] layouts: Improve `number`-layout - Larger buttons - Numbers centered Part-of: --- data/keyboards/number/us.yaml | 20 ++++++++++---------- data/keyboards/number/us_wide.yaml | 20 ++++++++++---------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/data/keyboards/number/us.yaml b/data/keyboards/number/us.yaml index eb727f88..e67de535 100644 --- a/data/keyboards/number/us.yaml +++ b/data/keyboards/number/us.yaml @@ -1,26 +1,26 @@ --- outlines: - default: { width: 37.46, height: 52 } - special-2: { width: 48.39, height: 52 } - special-3: { width: 88.98, height: 52 } - spaceline: { width: 120.58, height: 52 } + default: { width: 71.314, height: 52 } + special: { width: 71.314, height: 52 } + spaceline: { width: 142.628, height: 52 } views: base: - - "1 2 3 ( )" - - "4 5 6 # *" - - "7 8 9 + -" + - "( 1 2 3 )" + - "# 4 5 6 +" + - "* 7 8 9 -" - "BackSpace 0 space Return" buttons: BackSpace: - outline: "special-2" + outline: "special" icon: "edit-clear-symbolic" action: "erase" space: outline: "spaceline" text: " " + label: "␣" Return: - outline: "special-3" + outline: "special" icon: "key-enter" - keysym: "Return" \ No newline at end of file + keysym: "Return" diff --git a/data/keyboards/number/us_wide.yaml b/data/keyboards/number/us_wide.yaml index 162690c3..baad4a79 100644 --- a/data/keyboards/number/us_wide.yaml +++ b/data/keyboards/number/us_wide.yaml @@ -1,26 +1,26 @@ --- outlines: - default: { width: 37.46, height: 42 } - special-2: { width: 48.39, height: 42 } - special-3: { width: 88.98, height: 42 } - spaceline: { width: 120.58, height: 42 } + default: { width: 73.5, height: 42 } + special: { width: 73.5, height: 42 } + spaceline: { width: 147, height: 42 } views: base: - - "1 2 3 ( )" - - "4 5 6 # *" - - "7 8 9 + -" + - "( 1 2 3 )" + - "# 4 5 6 +" + - "* 7 8 9 -" - "BackSpace 0 space Return" buttons: BackSpace: - outline: "special-2" + outline: "special" icon: "edit-clear-symbolic" action: "erase" space: outline: "spaceline" text: " " + label: "␣" Return: - outline: "special-3" + outline: "special" icon: "key-enter" - keysym: "Return" \ No newline at end of file + keysym: "Return"