Commit graph

1863 commits

Author SHA1 Message Date
Oliver Davies c258e6f70c Re-add lightdm as a display manager 2024-07-14 09:14:15 +01:00
Oliver Davies d2dbf29483 Don't use pkgs.firefox-wayland 2024-07-11 13:16:59 +01:00
Oliver Davies 537eb704e7 zsh: remove zsh-auto-notify plugin
`AUTO_NOTIFY_IGNORE` keeps being reset within a tmux session, so I'm
removing this for now until I have time to investigate further and
resolve.
2024-07-11 13:14:10 +01:00
Oliver Davies d2ae9d01ee git-instafix: set a default upstream branch 2024-07-11 02:58:46 +01:00
Oliver Davies 2b157d1275 awesome: allow toggling the wibar with Mod+b 2024-07-10 22:48:24 +01:00
Oliver Davies a2ed026258 Use $REPOS variable consistently in scripts 2024-07-10 13:44:09 +01:00
Oliver Davies c8d21d28c1 Re-add backintime for Linux backups 2024-07-10 13:27:47 +01:00
Oliver Davies cc896e94b4 Add cpufrequtils to get cpufreq-info to check
...CPU performance
2024-07-10 13:27:47 +01:00
Oliver Davies 2220569643 Re-add gtk configuration, switch Thunar back to
...the dark theme
2024-07-10 12:34:20 +01:00
Oliver Davies 91aa0e0c0e Update opdavies-nvim 2024-07-10 09:32:28 +01:00
Oliver Davies d1e47d867e Update opdavies-nvim 2024-07-09 19:59:43 +01:00
Oliver Davies 97ac64195c autorandr: fix automatically switching when a
...monitor is plugged or unplugged
2024-07-09 18:39:40 +01:00
Oliver Davies 590cb3ab40 Update opdavies-nvim 2024-07-09 18:39:05 +01:00
Oliver Davies f0e3671e1d zsh: remove unused functions 2024-07-09 14:25:41 +01:00
Oliver Davies 5bf2253f98 git: organise extraConfig values 2024-07-09 14:25:00 +01:00
Oliver Davies 2fbf67507f git: use difftastic by default
As described in
https://difftastic.wilfred.me.uk/git.html#difftastic-by-default, the
`--ext-diff` option needs to be used for difftastic to be used on
commands other than `git diff`, such as `git show` or `git log`.

> This only applies to git diff. For other git commands, you still need
to specify --ext-diff, or use an alias as described above.

```shell
$ git diff
$ git show HEAD --ext-diff
$ git log -p --ext-diff
```

> Conversely, if you need to copy/paste a diff in the standard diff
format, you can use git diff --no-ext-diff.
2024-07-09 14:15:46 +01:00
Oliver Davies c06fb20115 git: use difftastic 2024-07-09 13:53:02 +01:00
Oliver Davies 42c1bc4045 zsh: remove just override 2024-07-09 12:01:08 +01:00
Oliver Davies 0610b0e865 t: search in ~/Documents 2024-07-09 07:07:51 +01:00
Oliver Davies 75731bda19 t: extract a function that finds and executes
...`.tmux` files
2024-07-09 07:07:44 +01:00
Oliver Davies 9677ef8ecd Replace justfile with run 2024-07-08 22:13:06 +01:00
Oliver Davies ad796ad495 Remove unused files and references 2024-07-08 22:13:06 +01:00
Oliver Davies 84cff06cf3 Move autorandr configuration so it works
...automatically when docking or undocking
2024-07-08 22:12:28 +01:00
Oliver Davies 0c4167a464 zsh: don't automatically source zsh plugins
It seems this is done automatically.
2024-07-08 18:46:56 +01:00
Oliver Davies d1080e0cbc t: ignore the _archive directory 2024-07-08 18:43:32 +01:00
Oliver Davies b23d33586b Update opdavies-nvim 2024-07-08 16:53:43 +01:00
Oliver Davies d769885d8f Flatten Code directories 2024-07-06 02:21:40 +01:00
Oliver Davies 766a35d27e awesome: add space between keybindings 2024-07-06 02:21:40 +01:00
Oliver Davies c90b77f4a1 awesome: increase font size 2024-07-06 02:21:40 +01:00
Oliver Davies e6e55d8af8 Remove build-configs
Caching permissions error when running `app:generate`.
2024-07-06 01:41:43 +01:00
Oliver Davies 53b8745b34 Update git-instafix to 0.2.7
v0.2.6 contained fixes for trunk-based development workflows that don't
require being on a separate branch.

https://github.com/quodlibetor/git-instafix/releases/tag/v0.2.6
2024-07-06 01:38:44 +01:00
Oliver Davies aaf069593d Update flake dependencies 2024-07-06 01:23:52 +01:00
Oliver Davies 0fc3c765e5 tmux: remove padding around words in the status
...bar
2024-07-05 23:10:56 +01:00
Oliver Davies fc8f930aef t: work for .ignored/.tmux files too 2024-07-05 19:43:55 +01:00
Oliver Davies d37e30e67c git: ignore .ddev/providers 2024-07-05 15:12:06 +01:00
Oliver Davies 3137c0e096 awesome: make max the default layout 2024-07-03 09:08:47 +01:00
Oliver Davies b636f365ca tmux: remove tmuxinator 2024-07-03 09:08:47 +01:00
Oliver Davies 8f98a24ea1 awesome: add spacing between keybinds 2024-07-03 09:08:47 +01:00
Oliver Davies 795f996091 awesome: swap Mod+j and Mod+k keybindings
Make `Mod+j` go left and `Mod+k` go right, so they match the position of
the keys on the keyboard.
2024-07-03 09:08:47 +01:00
Oliver Davies b11055fd8e zsh: configure auto-notify ignore settings 2024-07-03 09:08:47 +01:00
Oliver Davies 3de6b6cd33 Update flake lock file 2024-06-30 14:41:40 +01:00
Oliver Davies b68d48603e zsh: extract aliases and abbreviations into
...separate files
2024-06-30 14:22:57 +01:00
Oliver Davies 0ec273cbb4 zsh: fix gs alias for git status 2024-06-29 20:51:22 +01:00
Oliver Davies 53423ccdbf zsh: add zsh-auto-notify plugin
Shows notifications when long running tasks are completed.

See https://github.com/MichaelAquilina/zsh-auto-notify.
2024-06-29 20:47:41 +01:00
Oliver Davies f0f7e55a04 awesome: re-add the max layout 2024-06-27 20:50:50 +01:00
Oliver Davies 776bcfe7ea awesome: space out keybindings 2024-06-27 20:08:45 +01:00
Oliver Davies 56ccef5c7b awesome: add a keybinding to run flameshot 2024-06-27 20:08:45 +01:00
Oliver Davies 928e5c6938 awesome: prevent firefox from always opening in
...a maximised window
2024-06-27 20:08:43 +01:00
Oliver Davies 0df5f17dae zsh: migrate to zsh-abbr
Migrate from `zsh-expand` to `zsh-abbr` as it seems more performant and
isn't giving me unwanted expansions, such as when typing `run` within
this repository and it completing to something else.

Whilst Home Manager does have `programs.zsh-attr`, there isn't an option
for setting global abbreviations that expand anywhere in the command,
which I need to replace global ZSH aliases such as `G` which expands to
`| grep`.

For now, I've installed `zsh-abbr` via zplug and am creating the
`user-abbreviations` file using Home Manager where I can use `attr -g`
for global aliases.

If or when support is added for global abbreviations in Home Manager,
I'll switch to `programs.zsh-abbr.abbreviations`.

`programs.zsh.shellAliases` is still used for aliases that shouldn't
expand, whereas everything else has been moved to abbreviations.
2024-06-25 12:43:30 +01:00
Oliver Davies d277199c23 services.xserver.displayManager is now
...`services.displayManager`
2024-06-25 07:04:26 +01:00