Commit graph

120 commits

Author SHA1 Message Date
Oliver Davies 346960f313 feat(git): set the default branch name for new
...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`.
2023-07-25 20:24:48 +01:00
Oliver Davies b6a3906865 feat(sway): auto-start Firefox and Alacritty 2023-07-25 09:07:41 +01:00
Oliver Davies e0c37b06e7 feat(zoom): configure window settings 2023-07-24 15:12:03 +01:00
Oliver Davies 1dd6dc16e5 chore(sway): change the workspace number
Change the assigned workspace from 10 to 9.
2023-07-22 23:10:30 +01:00
Oliver Davies 0580fd54dc feat(nvim): configure lualine 2023-07-22 09:35:20 +01:00
Oliver Davies f61697da02 chore(nvim): switch to stable 2023-07-22 08:45:01 +01:00
Oliver Davies 648e9ee023 feat(scripts): add develop
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.
2023-07-19 11:38:50 +01:00
Oliver Davies 3d93030568 feat(zsh): add tf alias 2023-07-18 20:51:00 +01:00
Oliver Davies ebf27538d6 feat(nixos): use Firefox Developer Edition 2023-07-18 20:23:55 +01:00
Oliver Davies 367cc7600b fix(sway): background colours 2023-07-18 20:21:59 +01:00
Oliver Davies 6345e57c75 feat(nvim): add terraform-ls 2023-07-18 20:21:08 +01:00
Oliver Davies a1a4ee3374 feat(nvim): add vim-easy-align 2023-07-17 20:17:19 +01:00
Oliver Davies d486ace596 feat(nixos): add and use IntelOne Mono 2023-07-07 09:22:50 +01:00
Oliver Davies 43235e0f5d chore(nvim): remove neogit 2023-07-07 09:20:12 +01:00
Oliver Davies 1fb3954397 fix(i3status-rust): override critical_bg colour 2023-07-01 00:13:56 +01:00
Oliver Davies 6050660c4e feat(home-manager): add packages 2023-06-28 20:49:08 +01:00
Oliver Davies 3d27c35796 fix(tmux): remove erroring key bind 2023-06-24 10:34:13 +01:00
Oliver Davies 43c720d245 chore(alacritty): use IBM Plex Mono 2023-06-23 22:33:42 +01:00
Oliver Davies 9fe308fb83 chore(alacritty): enable window opacity 2023-06-23 22:33:07 +01:00
Oliver Davies c8a62301f8 refactor(nvim): group extra Vim packages 2023-06-23 21:41:27 +01:00
Oliver Davies ee3054fe48 fix(nvim): re-add intelephense
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.
2023-06-22 07:56:36 +01:00
Oliver Davies 3547fe2c2b feat: add pass - a CLI password manager 2023-06-22 07:55:59 +01:00
Oliver Davies 31602d9de6 chore(nvim): standardise Telescope themes 2023-06-21 10:13:19 +01:00
Oliver Davies 07b9d08a3e feat(nvim): add nixd 2023-06-20 01:39:23 +01:00
Oliver Davies fe46ac7d43 feat: add rustywind 2023-06-20 00:29:34 +01:00
Oliver Davies db175139a9 refactor(packages): move packages
Move packages so they aren't only available in Neovim, just in case I
want to run one of them from the command line.
2023-06-16 21:01:02 +01:00
Oliver Davies 9c2da9d353 refactor 2023-06-15 19:00:45 +01:00
Oliver Davies 31089aa054 chore(git): update user email address 2023-06-15 08:56:42 +01:00
Oliver Davies 94b045c01f style(fmt) 2023-06-13 19:51:56 +01:00
Oliver Davies e2a8f86899 refactor(sway): manage with Home Manager 2023-06-13 12:33:34 +01:00
Oliver Davies 7c8e2d3284 refactor(i3status-rs): manage with Home Manager 2023-06-12 08:43:37 +01:00
Oliver Davies bf3d81656d feat: caps lock key configuration
Esc on press, ctrl on hold.
2023-06-03 11:09:59 +01:00
Oliver Davies f933b7c2e1 chore(sway): updates 2023-05-31 13:50:02 +01:00
Oliver Davies 42bab05a83 feat: ripgrep configuration 2023-05-25 23:37:35 +01:00
Oliver Davies 807e8f177c feat: sway configuration
- 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
2023-05-25 23:37:35 +01:00
Oliver Davies 0c75a6799d feat: add keybinding for the t function 2023-05-22 22:45:52 +01:00
Oliver Davies ef64b0e03d feat(sway): initial configuration 2023-05-22 22:45:23 +01:00
Oliver Davies 0bad33a035 refactor(git): move .gitmessage text 2023-05-16 22:49:11 +01:00
Oliver Davies 57bfd7470e chore(git): populate .gitmessage
Populate the default Git commit message with information about the
Conventional Commits specification.

See https://www.conventionalcommits.org.
2023-05-16 22:46:07 +01:00
Oliver Davies 8b44eb3c5f feat(tmux): restore nvim sessions 2023-05-13 10:50:32 +01:00
Oliver Davies 180f88da20 feat(zsh): update aliases 2023-05-13 10:47:52 +01:00
Oliver Davies b027182014 fix(tmux): fix colours 2023-05-13 10:40:04 +01:00
Oliver Davies cad984b874 chore(home-manager): rename packages.nix 2023-05-11 14:16:00 +01:00
Oliver Davies 281b15d86b chore(home-manager): set environment variables 2023-05-10 13:26:31 +01:00
Oliver Davies 1e22556f6a feat(nvim): add Phpactor templates for Drupal tests 2023-05-10 12:36:54 +01:00
Oliver Davies 9ecc92f7d1 feat(nvim): evaluate replacing Intelephense with
...Phpactor

Refs: #41
2023-05-10 01:44:29 +01:00
Oliver Davies b733e63574 feat(nvim): add phpactor
Refs: #41
2023-05-10 01:44:12 +01:00
Oliver Davies 1a65394a0c chore: update Git user email address 2023-05-09 21:43:21 +01:00
Oliver Davies 4b459f08d4 style: reformat with nixpkgs-fmt 2023-05-03 22:19:59 +01:00
Oliver Davies d0f59f950b refactor(nvim): move custom plugins 2023-04-29 10:56:47 +01:00