Add 'bg' layout
This is the Bulgarian (BDS) layout. I took the liberty to remove "э" from the layout, as it is not part of the Bulgarian alphabet and it was left there for historical reasons, also not to mess with the layouts for physical keyboards. Removing it gives more space for the shift_l and backspace keys. I've also added the letter "small i with grave" to the special symbols, as it is occasionally used in Bulgarian.
This commit is contained in:
78
data/keyboards/bg.yaml
Normal file
78
data/keyboards/bg.yaml
Normal file
@ -0,0 +1,78 @@
|
||||
---
|
||||
outlines:
|
||||
default: { width: 32.72, height: 52 }
|
||||
altline: { width: 47, height: 52 }
|
||||
wide: { width: 49.09, height: 52 }
|
||||
spaceline: { width: 185, height: 52 }
|
||||
special: { width: 44, height: 52 }
|
||||
|
||||
views:
|
||||
base:
|
||||
- "у е и ш щ к с д з ц б"
|
||||
- "ь я а о ж г т н в м ч"
|
||||
- "Shift_L ю й ъ ф х п р л BackSpace"
|
||||
- "show_numbers preferences space . Return"
|
||||
upper:
|
||||
- "У Е И Ш Щ К С Д З Ц Б"
|
||||
- "Ь Я А О Ж Г Т Н В М Ч"
|
||||
- "Shift_L Ю Й Ъ Ф Х П Р Л BackSpace"
|
||||
- "show_numbers preferences space , Return"
|
||||
numbers:
|
||||
- "1 2 3 4 5 6 7 8 9 0"
|
||||
- "@ # € % & - _ + ( )"
|
||||
- "show_symbols , \" ' colon ; ! ? ѝ BackSpace"
|
||||
- "show_letters preferences space Return"
|
||||
symbols:
|
||||
- "~ ` | · √ π τ ÷ × ¶"
|
||||
- "© ® £ $ ¥ ^ ° * { }"
|
||||
- "show_numbers_from_symbols \\ / < > = [ ] BackSpace"
|
||||
- "show_letters preferences space Return"
|
||||
|
||||
|
||||
buttons:
|
||||
Shift_L:
|
||||
action:
|
||||
locking:
|
||||
lock_view: "upper"
|
||||
unlock_view: "base"
|
||||
outline: "altline"
|
||||
icon: "key-shift"
|
||||
BackSpace:
|
||||
outline: "altline"
|
||||
icon: "edit-clear-symbolic"
|
||||
action: erase
|
||||
preferences:
|
||||
action: "show_prefs"
|
||||
outline: "special"
|
||||
icon: "keyboard-mode-symbolic"
|
||||
show_numbers:
|
||||
action:
|
||||
set_view: "numbers"
|
||||
outline: "wide"
|
||||
label: "123"
|
||||
show_numbers_from_symbols:
|
||||
action:
|
||||
set_view: "numbers"
|
||||
outline: "altline"
|
||||
label: "123"
|
||||
show_letters:
|
||||
action:
|
||||
set_view: "base"
|
||||
outline: "wide"
|
||||
label: "abc"
|
||||
show_symbols:
|
||||
action:
|
||||
set_view: "symbols"
|
||||
outline: "altline"
|
||||
label: "*/="
|
||||
space:
|
||||
outline: "spaceline"
|
||||
text: " "
|
||||
Return:
|
||||
outline: "wide"
|
||||
icon: "key-enter"
|
||||
keysym: "Return"
|
||||
colon:
|
||||
text: ":"
|
||||
"\"":
|
||||
keysym: "quotedbl"
|
||||
@ -24,6 +24,7 @@ static KEYBOARDS: &[(&'static str, &'static str)] = &[
|
||||
("be", include_str!("../data/keyboards/be.yaml")),
|
||||
("be_wide", include_str!("../data/keyboards/be_wide.yaml")),
|
||||
|
||||
("bg", include_str!("../data/keyboards/bg.yaml")),
|
||||
("bg+phonetic", include_str!("../data/keyboards/bg+phonetic.yaml")),
|
||||
|
||||
("br", include_str!("../data/keyboards/br.yaml")),
|
||||
|
||||
@ -60,6 +60,7 @@ foreach layout : [
|
||||
# Block: Languages
|
||||
'ara', 'ara_wide',
|
||||
'be', 'be_wide',
|
||||
'bg',
|
||||
'bg+phonetic',
|
||||
'br',
|
||||
'ch+fr',
|
||||
|
||||
Reference in New Issue
Block a user