Commit graph

1844 commits

Author SHA1 Message Date
Oliver Davies 098d714168 Use create-zellij-session 2024-09-13 20:18:20 +01:00
Oliver Davies 15fd2c3d25 Re-add the brave browser 2024-09-13 20:18:11 +01:00
Oliver Davies 72e2f1f46d Simplify packages using with 2024-09-13 13:52:51 +01:00
Oliver Davies 5cd3ddceff Re-add Pocket Casts 2024-09-13 13:49:25 +01:00
Oliver Davies 552d7cda20 espanso: move base matches to base.nix 2024-09-11 23:08:32 +01:00
Oliver Davies f706299fbf espanso: configure toggle key
From the configuration docs:

> If you often need to quickly enable and disable Espanso during regular
use, you might want to customize the Toggle Key. When double pressed,
the Toggle Key disables Espanso, preventing any
expansion. Double-pressing Alt again will re-enable it.

> Prior to version 2.1.2, Espanso was configured to use the ALT key as
toggle_key by default. That was a major source of confusion, as many
users accidentally pressed it during normal use. For this reason,
Espanso now ships with the toggle_key disabled by default.

https://espanso.org/docs/configuration/options/#customizing-the-toggle-key
2024-09-11 23:03:11 +01:00
Oliver Davies 28aef6504f Add a :record snippet
That links to the calendar to book a Beyond Blocks podcast episode
recording.
2024-09-11 22:53:41 +01:00
Oliver Davies d63992ed63 Re-organise Home Manager modules 2024-09-11 21:48:58 +01:00
Oliver Davies 9401bd3754 Remove DDEV and just 2024-09-11 20:39:19 +01:00
Oliver Davies 91dc0de725 Add fastfetch 2024-09-11 20:38:52 +01:00
Oliver Davies a476a53d3a Update completions 2024-09-11 15:22:49 +01:00
Oliver Davies 1d1f4255b9 Re-add Lemur Pro laptop as a NixOS machine 2024-09-11 15:21:52 +01:00
Oliver Davies 2082d9361b Update expansion matches 2024-09-10 01:41:50 +01:00
Oliver Davies 985b872d7b Update flake dependencies 2024-09-08 12:27:36 +01:00
Oliver Davies a7556575ac Remove tmux
After using it as a daily driver from the last week or so, I'm switching
to Zellij.

https://zellij.dev
2024-09-04 08:00:59 +01:00
Oliver Davies edfa2b7c22 Only show the names of the directories
Remove the ~/Code prefix from the list of items.
2024-09-04 07:55:50 +01:00
Oliver Davies 246e383a77 Update flake dependencies 2024-09-04 07:55:42 +01:00
Oliver Davies 2d91ea65a4 Update abbreviations 2024-09-04 00:00:16 +01:00
Oliver Davies 950579f538 Add compact bar 2024-08-31 17:18:27 +01:00
Oliver Davies 56ce8ba735 Add create-zellij-session script
Based on t.nix, this creates or attaches to a Zellij session based on a
given directory.
2024-08-31 17:17:32 +01:00
Oliver Davies 9f4e5bebf8 Add the Zellij default configuration
Used `zellij setup --dump-config` to get the configuration and saved it
into its own file.
2024-08-29 09:44:59 +01:00
Oliver Davies 4406690f63 Set Zellij theme 2024-08-29 02:21:19 +01:00
Oliver Davies 4c3ba5549d Don't open all Kdenlive windows in fullscreen mode
This also affects pop-up windows within Kdenlive, such as when changing
the playback speed, that I don't want to be fullscreen.
2024-08-28 13:01:46 +01:00
Oliver Davies c62f741a90 Add a default directory when using yt-dlp
Always place downloaded videos in `~/Videos`.
2024-08-28 13:00:36 +01:00
Oliver Davies 7c6d68a589 zsh: add code directory to CDPATH 2024-08-28 13:00:09 +01:00
Oliver Davies e810a8506e Add a :zet expansion that links to my
...Zettelkasten site
2024-08-28 12:58:17 +01:00
Oliver Davies b9ff90afc0 Add watchexec 2024-08-28 12:58:02 +01:00
Oliver Davies 7ec9ec107d Add Zellij layout 2024-08-27 23:30:38 +01:00
Oliver Davies 932294ca3f Update opdavies-nvim 2024-08-27 23:29:36 +01:00
Oliver Davies 5fe35808d2 Trying out zellij 2024-08-24 23:36:39 +01:00
Oliver Davies 10097802b3 Update opdavies-nvim 2024-08-24 15:23:17 +01:00
Oliver Davies 50fc641743 Update abbreviations 2024-08-21 09:36:15 +01:00
Oliver Davies a1c356a1f5 Update aliases, abbreviations and snippets 2024-08-21 01:12:55 +01:00
Oliver Davies a1ef2d1402 Update path to jq 2024-08-20 21:51:15 +01:00
Oliver Davies 4d4d65d812 Refactor: inject the username into the source path 2024-08-20 21:01:50 +01:00
Oliver Davies ce5b4fa0a1 Create export-video-list script
Create a `export-video-list` script that exports all the video files on
my external hard drive to a JSON file so I can easily see what videos I
have without needing to get and plug in the drive.

I can easily view it using `bat` or `jq` and combine it with `grep` to
search for a specific video - e.g. `cat ~/video.json | grep -i nix`
(`-i` makes the search case-insensitive).
2024-08-20 19:48:57 +01:00
Oliver Davies 13c83fb8b4 Hide error about nested tmux sessions 2024-08-20 17:07:04 +01:00
Oliver Davies b36ca8086e Add timer script for desktop machines
Based on https://github.com/sdaschner/dotfiles/blob/master/bin/timer and
https://github.com/sdaschner/dotfiles/blob/master/bin/_timer.

Seen in https://youtu.be/8CZIv3MJvic?si=PiVPM_vwuUKI7ak3&t=1460.
2024-08-20 14:34:32 +01:00
Oliver Davies b30909b32a zsh: add some suffix aliases
Aliases that run when files of a matching type are opened.

See https://youtu.be/8CZIv3MJvic?si=QVqtaCDNaygs2qaE&t=670.
2024-08-19 22:18:02 +01:00
Oliver Davies c712a1b254 Add aliases for curl
Use the cursor position to not have a trailing space after expanding the
abbreviation, making it easier to type any following characters.

See https://zsh-abbr.olets.dev/usage.html#place-the-cursor and
https://github.com/olets/zsh-abbr/discussions/97
2024-08-19 22:10:29 +01:00
Oliver Davies 5dac3f312d Add an abbreviation for C to copy to the
...clipboard using `xclip`

This also works in WSL.
2024-08-19 21:41:42 +01:00
Oliver Davies 74c6c2f8dc Always install xclip, not just on desktop 2024-08-19 21:41:28 +01:00
Oliver Davies 730c776646 Add xclip 2024-08-19 21:09:01 +01:00
Oliver Davies 49ec84d9e4 Add mermaid-cli 2024-08-19 21:08:41 +01:00
Oliver Davies 92cecef02c Remove feh and nitrogen
Go back to the default awesome WM wallpaper.
2024-08-15 21:22:55 +01:00
Oliver Davies 0a2a924a9d Update Flake lock file 2024-08-15 10:00:38 +01:00
Oliver Davies 6254621f24 nix flake update 2024-08-13 23:37:26 +01:00
Oliver Davies 834b1bb502 Update opdavies-nvim 2024-08-13 23:30:41 +01:00
Oliver Davies 9f860ee6f2 Experiment with pet for snippets
https://github.com/knqyf263/pet

Seen on https://youtu.be/fU8HB1cvG9w?si=-lPdL1csAB_4D6tL&t=653.
2024-08-13 18:12:59 +01:00
Oliver Davies 95f6620c47 Remove nnn 2024-08-13 12:04:43 +01:00