Commit graph

1587 commits

Author SHA1 Message Date
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
Oliver Davies a29372ef99 Try using wezterm as my default terminal 2024-05-31 19:43:51 +01:00
Oliver Davies 430ea10ef6 Run just update 2024-05-31 18:36:51 +01:00
Oliver Davies 194289f9a6 Replace VLC with mpv 2024-05-31 16:30:35 +01:00
Oliver Davies 859d46781c Update kanshi.settings 2024-05-31 16:09:49 +01:00
Oliver Davies d515d5cc0f Rename kanshi.profiles to kanshi.settings
> trace: warning: opdavies profile: kanshi.profiles option is
> deprecated. Use kanshi.settings instead.
2024-05-24 15:36:22 +01:00
Oliver Davies 361412db61 Add wezterm
Add wezterm as another terminal option and to see how it compares to
Alacritty.
2024-05-24 15:29:00 +01:00
Oliver Davies fb4886be49 Add simple-http-server 2024-05-23 17:14:07 +01:00
Oliver Davies 323df5ca10 Add GNOME as a desktop manager, working with sway
...and wayland
2024-05-22 21:36:26 +01:00
Oliver Davies 5a0cfd10ae Run just update 2024-05-22 21:35:43 +01:00
Oliver Davies d9d04025dc Move Slack into NixOS configuration 2024-05-22 21:35:12 +01:00
Oliver Davies c8cc72b1ac Add build-configs from its derivation
It currently uses a local version of `build-configs`. I need to look
into how to get it to with Nix and a private GitHub repository.
2024-05-22 09:21:25 +01:00
Oliver Davies 395e92054e Add vss alias for sorting words in my spellfile
Automatically sort and update the words within my `spellfile` that's
used by Neovim.
2024-05-22 08:52:27 +01:00
Oliver Davies a2ac74a796 Use set -o 2024-05-22 08:52:27 +01:00
Oliver Davies 504fb96771 Add swaybg
At the moment, it's not being run automatically when sway starts, so I
need to add it to my sway configuration.
2024-05-20 19:11:04 +01:00
Oliver Davies ab20c7de69 Consolidate Git aliases
Move the `update` alias into the Git namespace, so it's now `git
update`, and remove the others that I wasn't using.
2024-05-20 19:09:17 +01:00
Oliver Davies 2382103445 Run nix flake update 2024-05-20 18:13:08 +01:00
Oliver Davies c4eaf38a9c Remove references to nixpkgs 23.11
As it's no longer used by kdenlive.
2024-05-19 16:02:39 +01:00
Oliver Davies 9da6ec88cc Update kdenlive 2024-05-19 16:00:21 +01:00
Oliver Davies 01700889fa Run nix flake update 2024-05-19 15:59:53 +01:00
Oliver Davies f766a15616 Alias cat to bat 2024-05-15 13:49:05 +01:00
Oliver Davies c95a5105c9 Don't automatically run tmuxinator when starting
...a session
2024-05-12 10:40:50 +02:00
Oliver Davies 7b9e5c6cfc Add todo and til functions
Add helper functions to write text input into a `TODO.txt` or `TIL.txt`
file respectively.

Extracting this to a function means I'm not able to overwrite the
contents of a file by typing `echo "foo" > TODO.txt` or similar
accidentally and overwriting the entire file instead of appending to it.
2024-05-12 09:25:21 +02:00
Oliver Davies 5c8c53d1cf Run nix flake update 2024-05-12 00:50:54 +02:00
Oliver Davies 56ca4cba12 Open copyq in floating windows, too 2024-05-11 07:57:28 +02:00
Oliver Davies 1a285c668c Open pavucontrol in a floating window
The `app_id` is found by running `swaymsg -t get_tree`.
2024-05-11 07:57:28 +02:00
Oliver Davies 475a2195c0 Configure lsd
See: https://github.com/lsd-rs/lsd
2024-05-11 01:55:59 +02:00
Oliver Davies 689c018bae Add update-all-git-repos
Add a script to update top-level cloned Git repositories within my Code
directories to their latest versions.
2024-05-11 01:55:59 +02:00
Oliver Davies de2ca55cac Add just globally
See: https://just.systems/man/en
2024-05-11 01:55:10 +02:00
Oliver Davies 0a5815c116 Add the git root command
Add the `git root` command shown by Greg in his YouTube video:

https://www.youtube.com/watch?v=C5aRtq-Rtbg
2024-05-09 23:57:05 +01:00
Oliver Davies 5d3f7ef58f Override just command
If a `.ignored/justfile` exists, e.g. for open-source projects I can't
commit a `justfile` to, use it by default.
2024-05-09 23:40:30 +01:00
Oliver Davies 634ed23325 Override the ttyper command with a function
Set values for the number of words and languages, as there isn't a word
setting to add to a `config.toml` file.

This is based on https://www.youtube.com/watch?v=C5aRtq-Rtbg by Greg
Hurrell.
2024-05-09 23:31:43 +01:00
Oliver Davies cae47950be Update lock file 2024-05-09 18:59:25 +01:00
Oliver Davies 0976d079e4 Fix copying from tmux to the system clipboard 2024-05-09 18:53:09 +01:00
Oliver Davies 78f810844b Add yt-dlp 2024-05-09 18:52:43 +01:00
Oliver Davies 88c61fe7ad Update monitor resolution 2024-05-09 13:55:11 +01:00
Oliver Davies d9bd5fa3bd Fix colours in tmux 2024-05-09 13:54:41 +01:00
Oliver Davies 43c3def633 Update lock file 2024-05-09 13:03:36 +01:00