Commit Graph

1261 Commits

Author SHA1 Message Date
25fa7329f8 feat(xkeysnail): add cmd+, shortcut for 1Password 2024-08-24 18:06:33 +01:00
93dbc451e3 feat(xkeysnail): add cmd+shift+t keybinding for Firefox and Chrome 2024-08-24 17:52:20 +01:00
Jim Myhrberg
4e461ad88c feat(util): add and setup restish CLI tool 2024-08-21 16:27:17 +01:00
97a7844508 feat(fonts): update Menlo Nerd Fonts with FontPatcher 3.2.1 2024-07-31 12:43:15 +01:00
fde1c930be fix(bin/generate-nerdfonts): correctly parse input sources and find fonts 2024-07-31 12:43:14 +01:00
32d6142548 feat(starship): add configure and add gleam module, enable swift and zig modules 2024-07-31 12:43:14 +01:00
Jim Myhrberg
fc4ebfd5fd fix(hammerspoon/misc): change kill keybinding to not conflict with window management 2024-07-15 09:44:06 +01:00
Jim Myhrberg
ae53c3fb23 feat(tools): add helmfile and helm-diff to global tools list 2024-07-15 09:32:01 +01:00
Jim Myhrberg
3072c61568 fix(xbar/mise-updates): ensure commands all run within the env root 2024-07-15 09:31:30 +01:00
Jim Myhrberg
576d03a17a feat(hammerspoon/misc): add helper to easily trigger killall Dock
When waking macOS from sleep with multiple external monitors, it does
not correctly display the wallpaper on all screens, and can sometimes
get confused about window placement boundaries. The fix is to simply
restart the Dock process which handles these things.

This simply adds a cmd+ctrl+alt+k keybinding to trigger this via
Hammerspoon. This is particularly useful in the rare occasion you wake a
laptop without external displays which were disconnected when it was
asleep, as it sometimes gets confused to the point it thinks there are
external displays, and does not consider the internal display as part of
the usable desktop space, meaning there's no way to open a terminal
window to execute `killall Dock`. While this VERY rare, it does still
happen, which more than justifies the few lines of lua here.
2024-07-15 09:27:20 +01:00
Jim Myhrberg
e0e872227f fix(hammerspoon/hati): remove defunct keybinding 2024-07-15 09:26:53 +01:00
Jim Myhrberg
9135f58a12 feat(mise): add argocd and kustomize to global tools list 2024-07-01 18:12:56 +01:00
Jim Myhrberg
4ea6ee4ade feat(allacritty): switch to new toml config format 2024-07-01 09:40:56 +01:00
Jim Myhrberg
ad66b0251f fix(zsh/helper): make command-path helper return 1 if command does not exist 2024-07-01 09:40:56 +01:00
e2f55741aa fix(xbar/mise-updates): correctly run upgrade commands so old versions are removed 2024-06-28 22:11:46 +01:00
Jim Myhrberg
9791d9e304 feat(mise/tools): add godef 2024-06-06 18:34:15 +01:00
Jim Myhrberg
aa17e6fa66 feat(mise/tools): upgrade gitu to latest 2024-06-06 18:33:54 +01:00
Jim Myhrberg
d9cb73260e chore(shell): add custom command-path helper 2024-06-06 18:33:38 +01:00
12b5ecee91 feat(logrotate): add logrorate.d confx files 2024-06-06 18:31:53 +01:00
Jim Myhrberg
de4fad562a fix(irb): remove history setup causing exceptions in latest Ruby versions 2024-05-27 10:21:20 +01:00
Jim Myhrberg
6c80e27c64 fix(shell/cached-eval): fix cache hashing issue 2024-05-27 10:21:20 +01:00
de14e784c3 chore(env/fzf): remove old defunct install path for fzf 2024-05-27 00:30:04 +01:00
ad40c1e2e3 feat(tools): add hivemind to global tools 2024-05-27 00:29:37 +01:00
c5a5e9f108 feat(mise): add fzf to global tool list 2024-05-26 20:57:17 +01:00
54aed5d054 feat(shell/completion): add a custom override for fzf-tab-source 2024-05-21 02:56:29 +01:00
6562df1c19 fix(shell/completions): fix typo 2024-05-21 02:52:43 +01:00
ddbbe283ff feat(shell/completions): tweak and improve fzf-based completion interactions 2024-05-21 02:21:58 +01:00
98f0b2ec66 feat(shell): major refactor around history and completion setup
Biggest change is embracing fzf for all shell completion. This includes
using tmux popup windows to effectively render completions as floating
popups with fuzzy matching via fzf.

Shell history has also been improved, with appending each command to the
history file one by one, rather than only at end of a shell session when
the shell exists. This should ensure I don't have any more lost commands
cause the shell didn't exit cleanly.
2024-05-19 00:08:04 +01:00
3a6e6a5256 fix(shell/cached-eval): find usable md5 command and improve reliability 2024-05-19 00:05:25 +01:00
43be9196eb chore(shell): move interactive shell helpers to their own file 2024-05-18 01:34:49 +01:00
e6572caac9 fix(shell): fix typos 2024-05-18 01:32:46 +01:00
e224c2219c fix(mise/tools): remove neovim and cargo-quickinstall 2024-05-18 01:16:34 +01:00
4a63857a49 fix(mise/tools): install actionlint via go instead of asdf plugin
The asdf plugin uses git to fetch a list of remove versions, which can
be quite slow, and also requires me to auth my ssh agent, which is not
ideal.
2024-05-18 01:16:34 +01:00
359f0642a6 chore(shell/kubernetes): minor tweaks 2024-05-18 01:16:34 +01:00
6f720ba985 feat(shell): create cached-eval helper to improve shell startup speed. 2024-05-18 01:16:31 +01:00
6858f50757 chore(mise): move settings back into single config.toml file 2024-05-12 21:57:37 +01:00
4e5644de9d feat(hammerspoon/noct): remove cmd+ctrl+s keybind for Music app 2024-05-12 17:53:32 +01:00
90617b48e0 feat(hammerspoon/noct): add keybind for show app info helper 2024-05-12 17:53:13 +01:00
995181f67f feat(hammerspoon/noct): don't URL handler anymore
For now, I'm trying out Arc as the main browser, and the Little Arc
feature doesn't play super nice when links open via Hammerspoon.
2024-05-12 17:52:13 +01:00
6336532081 fix(hammerspoon/window-management): move to space works with Arc browser 2024-05-12 17:51:14 +01:00
f30c675f3b fix(shell/1password): source cache file after updating it 2024-05-12 16:35:30 +01:00
53052def08 fix(shell/1password): automatically resolve shell completion issues
1Password's shell plugin integration is nice, but it currently uses
aliases to run various CLI tools through `op plugin run -- <tool>`.

This leads to shell completion for those tools not working correctly in
bash and zsh.

While zsh can work around that with `setopt completealiases`, it causes
shorthand aliases to break instead. Hence the only reasonable solution
is to replace the aliases with shell functions.

Previously I had manually been editing ~/.config/op/plugins.sh replacing
the aliases with functions. This is an automated solution that generates
unalias calls and function definitions for all 1Password aliases. It is
also efficient by means of writing the generated functions to a cache
file which is only updated when needed.
2024-05-12 16:28:08 +01:00
f399f5f085 feat(shell): add alias to function helpers
These can be useful to convert aliases to shell functions, which can
help resolve shell completion issues in some situations.
2024-05-12 16:28:08 +01:00
Jim Myhrberg
f3bf4ff98d fix(hammerspoon/hati): disable URL handling with Hammerspoon
When using Arc and having new links open in Little Arc while having
Hammerspoon set as the default browser, clicking a link first switches
to and focuses on the most recent main Arc window, before then opening
Little Arc.

While if Arc itself is the default browser, no such focus switching
happens, and instead Little Arc just opens and gets focus.
2024-05-10 17:49:41 +01:00
Jim Myhrberg
ee5c2284ea feat(karabiner): add emacs-ctrl-g-to-esc mondification JSON 2024-05-09 21:17:09 +01:00
Jim Myhrberg
430e9053be feat(mise): add command wrapper function 2024-05-09 21:16:47 +01:00
Jim Myhrberg
ee559256c1 feat(gitignore): add mise*.local.toml files 2024-05-09 21:16:30 +01:00
Jim Myhrberg
ba5ea568c8 fix(tools/awscli): remove awscli, the asdf plugin often hangs for minutes 2024-05-09 21:15:10 +01:00
Jim Myhrberg
7fff0e62af fix(hammerspoon/hati): use Arc as default browser via Hammerspoon 2024-05-09 21:14:36 +01:00
Jim Myhrberg
4e5259cd1e feat(hammerspoon/apptoggle): add showAppInfo() utility function 2024-05-09 21:14:17 +01:00