and fix some other issues, to make the layouts more consistent. The aspect-ratios of the layouts, should now match the intended aspect-ratios (12:7 and 16:5), with 3 decimal-digits of precision; either exactly, or rounded to be a little more square, so that the entire height of the panel will be used. Adding 0.001 to `width` in the `default`-outlines of the layouts, would make the layouts a little wider than the intended aspect-ratio. Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/691>
		
			
				
	
	
		
			84 lines
		
	
	
		
			2.5 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			84 lines
		
	
	
		
			2.5 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
# Language: French (Switzerland)
 | 
						||
# Maintained by: Jordi Bossy <jordi@bossy.space>. No Copyright, enjoy!
 | 
						||
---
 | 
						||
outlines:
 | 
						||
    default:       { width: 35.657, height: 52 }
 | 
						||
    change-view:   { width: 53.485, height: 52 }
 | 
						||
    change-view-2: { width: 62.399, height: 52 }
 | 
						||
    spaceline:     { width: 80.23,  height: 52 }
 | 
						||
    special:       { width: 35.657, height: 52 }
 | 
						||
    special-2:     { width: 53.485, height: 52 }
 | 
						||
    special-3:     { width: 62.399, height: 52 }
 | 
						||
 | 
						||
views:
 | 
						||
    base:
 | 
						||
        - "q w e r t z u i o p"
 | 
						||
        - "a s d f g h j k l ?"
 | 
						||
        - "show_upper y x c v b n m BackSpace"
 | 
						||
        - "show_numbers show_eschars preferences space , . Return"
 | 
						||
    upper:
 | 
						||
        - "Q W E R T Z U I O P"
 | 
						||
        - "A S D F G H J K L !"
 | 
						||
        - "show_upper Y X C V B N M BackSpace"
 | 
						||
        - "show_numbers show_eschars preferences space ' \" Return"
 | 
						||
    numbers:      
 | 
						||
        - "1 2 3 4 5 6 7 8 9 0"
 | 
						||
        - "@ * + - = ( ) ~ < >"
 | 
						||
        - "show_symbols # & / \\ √ ; : BackSpace"
 | 
						||
        - "show_letters show_eschars preferences space , . Return"
 | 
						||
    symbols:
 | 
						||
        - "€ $ £ ¥ % | § µ [ ]"
 | 
						||
        - "© ® § ` ^ { } · ¡ ¿"
 | 
						||
        - "show_numbers « » ÷ × “ ” „ BackSpace"
 | 
						||
        - "show_letters show_eschars preferences space - _ Return"
 | 
						||
    eschars:
 | 
						||
        - "à â ç é è ê î ô ù û"
 | 
						||
        - "À Â Ç É È Ê Î Ô Ù Û"
 | 
						||
        - "show_numbers æ œ ä ë ï ö ü BackSpace"
 | 
						||
        - "show_letters show_eschars preferences space ° ß Return"
 | 
						||
 | 
						||
buttons:
 | 
						||
    show_upper:
 | 
						||
        action:
 | 
						||
            locking:
 | 
						||
                lock_view: "upper"
 | 
						||
                unlock_view: "base"
 | 
						||
        outline: "change-view"
 | 
						||
        icon: "key-shift"
 | 
						||
    BackSpace:
 | 
						||
        outline: "special-2"
 | 
						||
        icon: "edit-clear-symbolic"
 | 
						||
        action: "erase"
 | 
						||
    preferences:
 | 
						||
        action: "show_prefs"
 | 
						||
        outline: "special"
 | 
						||
        icon: "keyboard-mode-symbolic"
 | 
						||
    show_numbers:
 | 
						||
        action:
 | 
						||
            set_view: "numbers"
 | 
						||
        outline: "change-view"
 | 
						||
        label: "123"
 | 
						||
    show_letters:
 | 
						||
        action:
 | 
						||
            set_view: "base"
 | 
						||
        outline: "change-view"
 | 
						||
        label: "ABC"
 | 
						||
    show_symbols:
 | 
						||
        action:
 | 
						||
            set_view: "symbols"
 | 
						||
        outline: "change-view"
 | 
						||
        label: "*/="
 | 
						||
    show_eschars:
 | 
						||
        action:
 | 
						||
            locking:
 | 
						||
                lock_view: "eschars"
 | 
						||
                unlock_view: "base"
 | 
						||
        outline: "change-view"
 | 
						||
        label: "Ââ"
 | 
						||
    space:
 | 
						||
        outline: "spaceline"
 | 
						||
        text: " "
 | 
						||
    Return:
 | 
						||
        outline: "special-3"
 | 
						||
        icon: "key-enter"
 | 
						||
        keysym: "Return" |