I recently restructed the contents of my `~/Code` directory so that
repositories are grouped by their provider and organisation.
For example, my `dotfiles` are now located at
`~/Code/github.com/opdavies/dotfiles`.
Likewise, `build-configs` is now located at
`~/Code/github.com/OliverDaviesLtd/build-configs` as it's within the
`OliverDaviesLtd` organisation.
As well as `~/Code/github.com`, I also have `~/Code/bitbucket.org` for
Bitbucket repositories. These are also grouped within subdirectories for
each organisation.
This change means I need to update any reference to the old `dotfiles`
location to the new one and I can update the `t` function to adjust the
min and max depth it uses to find directories.
...repositories
When running `git init` to initialise a new repository, set the default
branch name that will be used. In this case, the branch name will be
`main` instead of the old default, `master`.
Add a `develop` script that runs either Docker Compose or Nix depending
on which files are present within the repository.
Also add a `dev` alias for the `develop` script.
Phpactor isn't providing LSP information or diagnostics within Drupal
tests whereas Intelephense does.
This means that I'm getting duplicate results in files where both
Intelephense and Phpactor are working, but I'll look into this again and
see if I can go back to using just Phpactor.
- Change the mod key to Alt.
- Change the keyboard input language to UK.
- Replace dmenu with wofi.
- Disable the laptop screen when used in clam mode (lid closed with an
external monitor).
- Override the GTK theme to ensure that a dark theme is used in all apps
(e.g. Firefox).
See:
- https://github.com/swaywm/sway/wiki#clamshell-mode
- https://wiki.archlinux.org/title/Sway#Keymap