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
Oliver Davies
1d59baa998
t: sort and reverse directories
2024-08-13 12:04:43 +01:00
Oliver Davies
4b7bae5c97
Don't include results from /tmp
2024-08-13 12:04:43 +01:00
Oliver Davies
0acedf8bea
Remove starship, atuin and wezterm
2024-08-13 12:04:40 +01:00
Oliver Davies
bcf8104617
Add age
and sshs
...
Seen on https://youtu.be/1QqvL-k11NE?si=I_nNNf7b7u9O16Xr .
2024-08-13 09:13:32 +01:00
Oliver Davies
ffc8945630
Simplify tmux configuration
2024-08-13 09:11:06 +01:00
Oliver Davies
fee57341de
Update opdavies-nvim
2024-08-13 09:05:04 +01:00
Oliver Davies
44e73d1815
Ignore .stignore
2024-08-13 09:05:04 +01:00
Oliver Davies
f6a6785234
Use arguments to the wsl
commands
2024-08-12 10:49:02 +01:00
Oliver Davies
4d1040a4de
bluetuith: use j
and k
to navigate up and down
...
https://github.com/darkhz/bluetuith/issues/62#issuecomment-2141669880
https://darkhz.github.io/bluetuith/Configuration.html
2024-08-09 12:50:18 +01:00
Oliver Davies
23cf80d9c6
Add bluetuith
...
A TUI for managing Bluetooth devices and connections.
https://darkhz.github.io/bluetuith/index.html
2024-08-07 09:21:31 +01:00
Oliver Davies
6082de62b0
Look for .ignored/run
when running commands
...
Make the `run` command cleverer by also searching for a `.ignored/run`
file, following the convention of always ignoring a `.ignored` directory
from Git.
This allows me to have a local `run` file that doesn't need to be
committed and pushed to the repo (e.g. it's too specific to me), and
being able to keep it outside of the root of the project directory where
it could be committed accidentally.
A similar approach was done by Andreas Möller using Makefiles in this
article:
https://localheinz.com/articles/2020/05/07/using-makefiles-in-projects-where-i-can-not-use-them
With this function, the `.ignored/run` file is executed if it's found
and exits with the status code of the command.
If not, it will fall back to using `./run` as before.
I considered reversing these and checking for `./run` first as there
could be a performance benefit but, if neither file is found, I want the
error to show `./run` and not `.ignored/run` as that's the main use
case.
2024-07-31 16:40:25 +01:00
Oliver Davies
75f983fea7
Revert "git: use difftastic
"
...
This reverts commit c06fb20115
.
2024-07-28 13:30:11 +01:00
Oliver Davies
22385b9a1c
Revert "git: use difftastic
by default"
...
This reverts commit 2fbf67507f
.
2024-07-28 13:29:57 +01:00
Oliver Davies
ac34ff2742
Update flake lock dependencies
2024-07-28 13:29:37 +01:00
Oliver Davies
b944d20123
zsh: run zle reset-prompt
in each widget
...
Instead of having to press the Enter key after running a widget, use
`zle reset-prompt` to reset the prompt.
2024-07-24 08:01:20 +01:00
Oliver Davies
15d6fa1aab
tmux: update prefix key
2024-07-23 21:33:13 +01:00
Oliver Davies
960b354b31
awesome: change font size
2024-07-23 21:32:25 +01:00
Oliver Davies
b661f78a28
awesome: remove s.mylayoutbox
...
It's not needed if I only have one layout option enabled.
2024-07-23 21:27:07 +01:00
Oliver Davies
bc92eb0afb
awesome: only use the tiled layout
2024-07-23 21:26:28 +01:00
Oliver Davies
0a28c2a5b3
zsh: open nvim
with Ctrl+v
2024-07-23 20:47:53 +01:00
Oliver Davies
4d5e17c46f
awesome: add a keybind to run notetaker
in a
...
...floating window
2024-07-23 17:00:30 +01:00
Oliver Davies
c2ead888dd
Add notetaker
script
...
Add a script to quickly and easily create and edit a daily note.
2024-07-23 15:19:47 +01:00
Oliver Davies
c7ca1fd14c
Remove nixedo
host
2024-07-22 18:09:50 +01:00
Oliver Davies
e63150e278
Re-add GNOME to fix the thunar theme and see if it
...
...fixes autorandr
2024-07-22 11:56:17 +01:00
Oliver Davies
3ae1d8d51d
Add pmutils
2024-07-21 13:11:22 +01:00
Oliver Davies
8c095288dc
espanso: move matches into a separate file
2024-07-21 00:28:35 +01:00