Commit graph

1874 commits

Author SHA1 Message Date
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
Oliver Davies 055b1583db Find .git directories, not files 2024-06-25 07:04:06 +01:00
Oliver Davies 3092cafb20 tmux: make the status bar transparent 2024-06-24 22:36:48 +01:00
Oliver Davies 2e225a7c91 git: remove git-cm 2024-06-24 22:36:40 +01:00
Oliver Davies d7f24aa03a Update opdavies.nvim to the latest version 2024-06-21 18:27:10 +01:00
Oliver Davies b86cc3d7f0 Update awesome configuration 2024-06-21 08:36:27 +01:00
Oliver Davies b3b96c3163 Add navigation aliases 2024-06-19 22:04:51 +01:00
Oliver Davies 5ba78f110a Configure starship prompt
Based on the Plain Text present.

https://starship.rs/presets/plain-text
2024-06-19 22:04:51 +01:00
Oliver Davies f0163cd28c Revert "Reapply "Remove starship""
This reverts commit 7c06364329.
2024-06-19 21:59:18 +01:00
Oliver Davies 1e14953314 Add git-instafix
As seen on
https://www.youtube.com/live/ik_d0dWYQgQ?si=XSNR00ovIgSu7Ent&t=6510,
`git-instafix` is a tool for quickly fix up an old commit using your
currently-staged changes.

https://github.com/quodlibetor/git-instafix
2024-06-19 08:07:02 +01:00
Oliver Davies c020d771c9 Remove .tmuxinator.yaml 2024-06-19 06:39:41 +01:00
Oliver Davies 4ddd317c6c Add xdg-utils and wsl-open
Add `xdg-utils` to add functions like `xdg-open` to run commands such
as `mob timer open` and have them open a browser.

Also add `wsl-open` so this works within WSL.
2024-06-18 12:32:47 +01:00
Oliver Davies 4ed0648578 Move mob and simple-http-server
So they aren't only available in NixOS.
2024-06-18 12:32:18 +01:00
Oliver Davies a36dd7baf4 Move t into its own file 2024-06-17 17:59:35 +01:00
Oliver Davies 4d24228c30 Update t script 2024-06-16 23:01:49 +01:00
Oliver Davies 9fcce5ad14 Change writeShellScriptBin to writeShellApplication 2024-06-15 13:26:38 +01:00
Oliver Davies 5347c04b3e Add awesome configuration 2024-06-15 13:26:18 +01:00
Oliver Davies f2c7453b02 Add mob
https://mob.sh
https://github.com/remotemobprogramming/mob
2024-06-15 12:39:45 +01:00
Oliver Davies e61242e51a Create the t script with nix 2024-06-15 12:36:11 +01:00
Oliver Davies 25b286786d Re-add alacritty 2024-06-15 12:22:36 +01:00
Oliver Davies 41386749b8 Use awesome window manager 2024-06-15 12:22:01 +01:00
Oliver Davies a7a979e17e Add move-firefox-screenshots script 2024-06-12 09:01:46 +01:00
Oliver Davies 68813f3af7 Fix battery notifications 2024-06-12 07:02:10 +01:00
Oliver Davies 1869c6b223 Try firefox-wayland 2024-06-12 07:02:10 +01:00
Oliver Davies 9f33af70a3 Change status bar background colour 2024-06-11 23:39:38 +01:00
Oliver Davies 1b629cb355 Update CHANGELOG 2024-06-11 22:14:50 +01:00
Oliver Davies 8ad1637c57 Switch from NixOS unstable to 24.05 by default 2024-06-11 09:18:50 +01:00
Oliver Davies cda7e38284 Update opdavies.nvim to the latest version 2024-06-10 10:18:40 +01:00
Oliver Davies 7f2df5f726 Run nix fmt
Format using `nixfmt-rfc-style`.
2024-06-10 09:38:34 +01:00
Oliver Davies 14a1f177a0 Update flake.lock dependencies 2024-06-09 21:06:05 +01:00
Oliver Davies 11d0c5ab3e Set systemd-boot configuration limit 2024-06-09 21:05:01 +01:00
Oliver Davies 7c06364329 Reapply "Remove starship"
This reverts commit e4923e708e.
2024-06-09 20:55:21 +01:00
Oliver Davies f952e2d6b8 Refactor zsh configuration
* Move aliases into `programs.zsh.shellAliases` and
  `programs.shellGlobalAliases`.
* Use the `MenkeTechnologies/zsh-expand` plugin instead of using custom
  expansion code.

https://github.com/MenkeTechnologies/zsh-expand
2024-06-09 20:54:19 +01:00
Oliver Davies a87750cd30 Tweak performance and battery optimisation settings
Based on https://github.com/MatthewCroughan/nixcfg and other sources.
2024-06-09 20:51:48 +01:00
Oliver Davies 00d9a75c3e Change date format
Change the date format used by `i3status-rs`.
2024-06-09 01:51:18 +01:00
Oliver Davies 3fe0d74a9b Run just update 2024-06-06 21:37:17 +01:00
Oliver Davies e4923e708e Revert "Remove starship"
This reverts commit 90a1ca81aa.
2024-06-02 01:43:01 +01:00
Oliver Davies 64dd65d4e9 Run just update 2024-06-01 14:50:59 +01:00
Oliver Davies c8bc522268 Revert "Use fzf for searching zsh history"
This reverts commit 0bbd536e3e.
2024-06-01 14:38:55 +01:00
Oliver Davies a3bcd63b3d Add keybindings for controlling volume
Add keybindings for increasing and decreasing volume in mpv.
2024-05-31 19:46:47 +01:00