Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
machadoit committed Jan 3, 2021
0 parents commit 3b1d57d
Show file tree
Hide file tree
Showing 4 changed files with 87 additions and 0 deletions.
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2021 Joao Machado

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Bootstrap

All the things that I need, from a factory reset to a nice and cosy environment to work and life.

24 changes: 24 additions & 0 deletions keyboard/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Keyboard layouts

I base my 2 layouts on Portuguese PC layout for both Windows and MacOS.

## PT+

PT (PC) layout to be able to write portguese with a couple changes:

- `Alt Gr` + `+` -> `[`
- `Alt Gr` + `´` -> `]`
- `` / `` -> `+` / `*`
- `º` / `ª` -> `` ` `` / `@`

## PT-Dev

Everything that PT+ does, removes all dead keys, and:

- `+` -> `(`
- `´` -> `)`
- `Shift` + `+` -> `}`
- `Shift` + `´` -> `}`
- `ç` -> - `;`
- `Shift` + `ç` -> - `:`

38 changes: 38 additions & 0 deletions keyboard/macos/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Installing MacOS layout

## Specifics for MacOS

There is only layout, that combines PT-Dev and PT+ into PT-Dev+.
The default behaviour is PT-Dev, and it will behave as PT+ when Caps-Lock is on.

## Install the layouts

1. Install Ukelele - https://software.sil.org/ukelele

1. `Ukelele > File > Install > Show Organizer`

a. `Set Folder` to the folder with the layouts example for this repo: `keyboard/macos`

b. `Right-Click > Install for All Users` on the layouts you want to install

c. Follow the rest of the instructions and logout

1. Go to your Mac Keyboard Input sources, `System Preferences > Keyboard > Input Sources`

1. Add input language, `+` on the lower left corner

1. Add the newly installed keyboard located under Portuguese

## Notes

The keyboards will be installed at `/Library/Keyboard Layouts`, you shouldn't manually manipulate that directory.
It seems that is safer to uninstall the layout via Ukelele, make the necessary changes on the original file, and installed again.

### Create/update layouts:

Open Ukelele and it will create a new empty layout for you, try to save the file right away.
> Also the `File > New From Current Input Source` can be a nice base to start.
Make sure you are saving on a location where your user has access.

If you want to update a existing one, just `File > Open`

0 comments on commit 3b1d57d

Please sign in to comment.