diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml index 2099036..b0434dc 100644 --- a/.github/workflows/linters.yml +++ b/.github/workflows/linters.yml @@ -19,7 +19,6 @@ jobs: permissions: write-all steps: - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: GitHub Actions diff --git a/.github/workflows/pre-commit-autoupdate.yml b/.github/workflows/pre-commit-autoupdate.yml index ae5aef1..f90975c 100644 --- a/.github/workflows/pre-commit-autoupdate.yml +++ b/.github/workflows/pre-commit-autoupdate.yml @@ -5,7 +5,7 @@ name: Pre-commit autoupdate on: schedule: # At 04:00 on Monday and Thursday. - - cron: "0 4 * * 1,4" + - cron: '0 4 * * 1,4' workflow_dispatch: concurrency: @@ -33,6 +33,6 @@ jobs: with: token: ${{ secrets.GITHUB_TOKEN }} branch: update/pre-commit-hooks - title: "chore: update pre-commit hooks" - commit-message: "chore: update pre-commit hooks" + title: 'chore: update pre-commit hooks' + commit-message: 'chore: update pre-commit hooks' body: Update versions of pre-commit hooks to latest version. diff --git a/.github/workflows/sync-labels.yml b/.github/workflows/sync-labels.yml index 9872e47..4cf4e2a 100644 --- a/.github/workflows/sync-labels.yml +++ b/.github/workflows/sync-labels.yml @@ -11,7 +11,7 @@ on: - .github/workflows/sync-labels.yml - .github/labels.yml schedule: - - cron: "34 5 * * *" + - cron: '34 5 * * *' workflow_call: workflow_dispatch: diff --git a/.github/workflows/update-submodules.yml b/.github/workflows/update-submodules.yml index 192c34e..4236e94 100644 --- a/.github/workflows/update-submodules.yml +++ b/.github/workflows/update-submodules.yml @@ -5,7 +5,7 @@ name: Update submodules on: schedule: # At 04:00 on Monday and Thursday. - - cron: "0 4 * * 1" + - cron: '0 4 * * 1' workflow_dispatch: concurrency: @@ -21,7 +21,6 @@ jobs: permissions: write-all steps: - - name: Checkout repository uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: diff --git a/.luarc.json b/.luarc.json index f979d50..c2d33c2 100644 --- a/.luarc.json +++ b/.luarc.json @@ -1,5 +1,3 @@ { - "diagnostics.globals": [ - "vim" - ] + "diagnostics.globals": ["vim"] } diff --git a/config/aqua/aqua.yaml b/config/aqua/aqua.yaml index 08db635..f379782 100644 --- a/config/aqua/aqua.yaml +++ b/config/aqua/aqua.yaml @@ -8,8 +8,8 @@ # supported_envs: # - all registries: -- type: standard - ref: v4.346.0 # renovate: depName=aquaproj/aqua-registry + - type: standard + ref: v4.346.0 # renovate: depName=aquaproj/aqua-registry packages: -- name: cli/cli - version: 'v2.69.0' + - name: cli/cli + version: 'v2.69.0' diff --git a/config/cheat/conf.yml b/config/cheat/conf.yml index 9209de0..416eeb6 100644 --- a/config/cheat/conf.yml +++ b/config/cheat/conf.yml @@ -75,7 +75,6 @@ cheatpaths: path: ~/.dotfiles/config/cheat/cheatsheets/personal tags: [personal] readonly: false - # While it requires no configuration here, it's also worth noting that # cheat will automatically append directories named '.cheat' within the # current working directory to the 'cheatpath'. This can be very useful if diff --git a/config/omp/own.json b/config/omp/own.json index 4117d26..2e00a45 100644 --- a/config/omp/own.json +++ b/config/omp/own.json @@ -112,9 +112,7 @@ { "background": "transparent", "foreground": "lightGreen", - "foreground_templates": [ - "{{ if gt .Code 0 }}red{{ end }}" - ], + "foreground_templates": ["{{ if gt .Code 0 }}red{{ end }}"], "properties": { "always_enabled": true }, @@ -129,9 +127,7 @@ "transient_prompt": { "background": "transparent", "foreground": "lightGreen", - "foreground_templates": [ - "{{ if gt .Code 0 }}red{{ end }}" - ], + "foreground_templates": ["{{ if gt .Code 0 }}red{{ end }}"], "template": "\u279c " }, "version": 2 diff --git a/config/op/plugins/gh.json b/config/op/plugins/gh.json index 2c8f646..c8d5f4f 100644 --- a/config/op/plugins/gh.json +++ b/config/op/plugins/gh.json @@ -1,15 +1,13 @@ { - "account_id": "S5Z2DMNFKJEZBPCWRHRWC4DCGI", - "entrypoint": [ - "gh" - ], - "credentials": [ - { - "plugin": "github", - "credential_type": "personal_access_token", - "usage_id": "personal_access_token", - "vault_id": "injcin7obv3jdet3r2u3kfihfy", - "item_id": "f6vinbnc6l7ngdzvlw66ayewlq" - } - ] -} \ No newline at end of file + "account_id": "S5Z2DMNFKJEZBPCWRHRWC4DCGI", + "entrypoint": ["gh"], + "credentials": [ + { + "plugin": "github", + "credential_type": "personal_access_token", + "usage_id": "personal_access_token", + "vault_id": "injcin7obv3jdet3r2u3kfihfy", + "item_id": "f6vinbnc6l7ngdzvlw66ayewlq" + } + ] +} diff --git a/config/op/plugins/used_items/gh.json b/config/op/plugins/used_items/gh.json index 9eff365..53e152d 100644 --- a/config/op/plugins/used_items/gh.json +++ b/config/op/plugins/used_items/gh.json @@ -1 +1,7 @@ -[{"account_id":"S5Z2DMNFKJEZBPCWRHRWC4DCGI","vault_id":"injcin7obv3jdet3r2u3kfihfy","item_id":"f6vinbnc6l7ngdzvlw66ayewlq"}] \ No newline at end of file +[ + { + "account_id": "S5Z2DMNFKJEZBPCWRHRWC4DCGI", + "vault_id": "injcin7obv3jdet3r2u3kfihfy", + "item_id": "f6vinbnc6l7ngdzvlw66ayewlq" + } +] diff --git a/docs/aerospace-keybindings.md b/docs/aerospace-keybindings.md index 0afaa25..6920691 100644 --- a/docs/aerospace-keybindings.md +++ b/docs/aerospace-keybindings.md @@ -2,64 +2,64 @@ ## main -| Key | Command(s) and actions | -|-----------------|-----------------------------------------------| -| alt-a | mode apps | -| alt-h | focus left | -| alt-j | focus down | -| alt-k | focus up | -| alt-l | focus right | -| alt-m | mode move | -| alt-s | mode service | -| alt-shift-1 | workspace 1 | -| alt-shift-2 | workspace 2 | -| alt-shift-tab | workspace-back-and-forth | -| ctrl-shift-1 | move-node-to-workspace 1 | -| ctrl-shift-2 | move-node-to-workspace 2 | -| ctrl-shift-tab | move-workspace-to-monitor --wrap-around prev | +| Key | Command(s) and actions | +| -------------- | -------------------------------------------- | +| alt-a | mode apps | +| alt-h | focus left | +| alt-j | focus down | +| alt-k | focus up | +| alt-l | focus right | +| alt-m | mode move | +| alt-s | mode service | +| alt-shift-1 | workspace 1 | +| alt-shift-2 | workspace 2 | +| alt-shift-tab | workspace-back-and-forth | +| ctrl-shift-1 | move-node-to-workspace 1 | +| ctrl-shift-2 | move-node-to-workspace 2 | +| ctrl-shift-tab | move-workspace-to-monitor --wrap-around prev | ## apps -| Key | Command(s) and actions | -|------|----------------------------------------------------------------------| -| b | exec-and-forget open -a /Applications/Brave Browser.app; mode main | -| c | exec-and-forget open -a /Applications/Ferdium.app; mode main | -| esc | reload-config; mode main | -| g | exec-and-forget open -a /Applications/Ghostty.app; mode main | -| o | exec-and-forget open -a /Applications/Obsidian.app; mode main | -| s | exec-and-forget open -a /Applications/Slack.app; mode main | -| t | exec-and-forget open -a /Applications/TIDAL.app; mode main | -| w | exec-and-forget open -a /Applications/WezTerm.app; mode main | +| Key | Command(s) and actions | +| --- | ------------------------------------------------------------------ | +| b | exec-and-forget open -a /Applications/Brave Browser.app; mode main | +| c | exec-and-forget open -a /Applications/Ferdium.app; mode main | +| esc | reload-config; mode main | +| g | exec-and-forget open -a /Applications/Ghostty.app; mode main | +| o | exec-and-forget open -a /Applications/Obsidian.app; mode main | +| s | exec-and-forget open -a /Applications/Slack.app; mode main | +| t | exec-and-forget open -a /Applications/TIDAL.app; mode main | +| w | exec-and-forget open -a /Applications/WezTerm.app; mode main | ## move -| Key | Command(s) and actions | -|--------------|--------------------------------------------------| -| 1 | move-node-to-workspace 1 --focus-follows-window | -| 2 | move-node-to-workspace 2 --focus-follows-window | -| ctrl-h | resize smart -70 | -| ctrl-l | resize smart +70 | -| esc | reload-config; mode main | -| h | move left | -| j | move down | -| k | move up | -| l | move right | -| r | flatten-workspace-tree; mode main | -| shift-h | join-with left | -| shift-j | join-with down | -| shift-k | join-with up | -| shift-l | join-with right | -| shift-left | resize smart +70 | -| shift-right | resize smart -70 | +| Key | Command(s) and actions | +| ----------- | ----------------------------------------------- | +| 1 | move-node-to-workspace 1 --focus-follows-window | +| 2 | move-node-to-workspace 2 --focus-follows-window | +| ctrl-h | resize smart -70 | +| ctrl-l | resize smart +70 | +| esc | reload-config; mode main | +| h | move left | +| j | move down | +| k | move up | +| l | move right | +| r | flatten-workspace-tree; mode main | +| shift-h | join-with left | +| shift-j | join-with down | +| shift-k | join-with up | +| shift-l | join-with right | +| shift-left | resize smart +70 | +| shift-right | resize smart -70 | ## service -| Key | Command(s) and actions | -|------------|-------------------------------------------| -| backspace | close-all-windows-but-current; mode main | -| esc | reload-config; mode main | -| f | layout floating tiling; mode main | -| r | flatten-workspace-tree; mode main | +| Key | Command(s) and actions | +| --------- | ---------------------------------------- | +| backspace | close-all-windows-but-current; mode main | +| esc | reload-config; mode main | +| f | layout floating tiling; mode main | +| r | flatten-workspace-tree; mode main | File generated: 2025-01-15 13:32:41 diff --git a/docs/alias.md b/docs/alias.md index 7c18a44..9415fc9 100644 --- a/docs/alias.md +++ b/docs/alias.md @@ -2,51 +2,51 @@ This file lists all aliases defined in `config/alias`. -| Alias | Command | -| ------------- | ------------------------------------------------------------------------------------------------------------------------------ | -| `....` | `cd ../../..` | -| `...` | `cd ../..` | -| `..` | `cd ..` | -| `.` | `cd $HOME` | -| `.b` | `cd $XDG_BIN_HOME` | -| `.c` | `cd $HOME/Code` | -| `.d` | `cd $DOTFILES` | -| `.l` | `cd $HOME/.local` | -| `.o` | `cd $HOME/Code/ivuorinen/obsidian/` | -| `art` | `[ -f artisan ] && php artisan \|\| php vendor/bin/artisan` | -| `cd..` | `cd ..` | -| `cdgr` | `cd "$(get_git_root)"` | -| `dn` | `du -chd1` | -| `flush` | `dscacheutil -flushcache` | -| `grep` | `grep --color` | -| `hide` | `defaults write com.apple.finder AppleShowAllFiles -bool false; killall Finder` | -| `ips` | `ifconfig -a \| grep -o 'inet6\? \(\([0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+\)\\|[a-fA-F0-9:]\+\)' \| sed -e 's/inet6* //' \| sort` | -| `irssi` | `irssi --config=$XDG_CONFIG_HOME/irssi/config --home=$XDG_CONFIG_HOME/irssi` | -| `isodate` | `date +'%Y-%m-%d'` | -| `l` | `ls -a` | -| `ll` | `ls -la` | -| `localip` | `ipconfig getifaddr en1` | -| `mirror_site` | `wget -m -k -K -E -e robots=off` | -| `peek` | `tee >(cat 1>&2)` | -| `pubkey` | `more ~/.ssh/id_rsa.pub \| pbcopy \| echo '=> Public key copied to pasteboard.'` | -| `sail` | `[ -f sail ] && bash sail \|\| bash vendor/bin/sail` | -| `show` | `defaults write com.apple.finder AppleShowAllFiles -bool true; killall Finder` | -| `sl` | `ls` | -| `svn` | `svn --config-dir $XDG_CONFIG_HOME/subversion` | -| `trivy_scan` | `docker run -v /var/run/docker.sock:/var/run/docker.sock -v $HOME/Library/Caches:/root/.cache/ aquasec/trivy` | -| `updatedb` | `sudo /usr/libexec/locate.updatedb` | -| `vi` | `nvim` | -| `vim` | `nvim` | -| `watchx` | `watch -dpbc` | -| `wget` | `wget --hsts-file=$XDG_DATA_HOME/wget-hsts` | -| `x-datetime` | `date +'%Y-%m-%d %H:%M:%S'` | -| `x-ip` | `dig +short myip.opendns.com @resolver1.opendns.com` | -| `x-timestamp` | `date +'%s'` | -| `xdg` | `xdg-ninja --skip-ok --skip-unsupported` | -| `zapall` | `zapds && zappyc` | -| `zapds` | `find . -name ".DS_Store" -print -delete` | -| `zappyc` | `find . -type f -name '*.pyc' -ls -delete` | -| `zedit` | `$EDITOR ~/.dotfiles` | +| Alias | Command | +| ------------- | ------------------------------------------------------------------------------------------------------------- | --------------------------------------------------- | +| `....` | `cd ../../..` | +| `...` | `cd ../..` | +| `..` | `cd ..` | +| `.` | `cd $HOME` | +| `.b` | `cd $XDG_BIN_HOME` | +| `.c` | `cd $HOME/Code` | +| `.d` | `cd $DOTFILES` | +| `.l` | `cd $HOME/.local` | +| `.o` | `cd $HOME/Code/ivuorinen/obsidian/` | +| `art` | `[ -f artisan ] && php artisan \|\| php vendor/bin/artisan` | +| `cd..` | `cd ..` | +| `cdgr` | `cd "$(get_git_root)"` | +| `dn` | `du -chd1` | +| `flush` | `dscacheutil -flushcache` | +| `grep` | `grep --color` | +| `hide` | `defaults write com.apple.finder AppleShowAllFiles -bool false; killall Finder` | +| `ips` | `ifconfig -a \| grep -o 'inet6\? \(\([0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+\)\\ | [a-fA-F0-9:]\+\)' \| sed -e 's/inet6\* //' \| sort` | +| `irssi` | `irssi --config=$XDG_CONFIG_HOME/irssi/config --home=$XDG_CONFIG_HOME/irssi` | +| `isodate` | `date +'%Y-%m-%d'` | +| `l` | `ls -a` | +| `ll` | `ls -la` | +| `localip` | `ipconfig getifaddr en1` | +| `mirror_site` | `wget -m -k -K -E -e robots=off` | +| `peek` | `tee >(cat 1>&2)` | +| `pubkey` | `more ~/.ssh/id_rsa.pub \| pbcopy \| echo '=> Public key copied to pasteboard.'` | +| `sail` | `[ -f sail ] && bash sail \|\| bash vendor/bin/sail` | +| `show` | `defaults write com.apple.finder AppleShowAllFiles -bool true; killall Finder` | +| `sl` | `ls` | +| `svn` | `svn --config-dir $XDG_CONFIG_HOME/subversion` | +| `trivy_scan` | `docker run -v /var/run/docker.sock:/var/run/docker.sock -v $HOME/Library/Caches:/root/.cache/ aquasec/trivy` | +| `updatedb` | `sudo /usr/libexec/locate.updatedb` | +| `vi` | `nvim` | +| `vim` | `nvim` | +| `watchx` | `watch -dpbc` | +| `wget` | `wget --hsts-file=$XDG_DATA_HOME/wget-hsts` | +| `x-datetime` | `date +'%Y-%m-%d %H:%M:%S'` | +| `x-ip` | `dig +short myip.opendns.com @resolver1.opendns.com` | +| `x-timestamp` | `date +'%s'` | +| `xdg` | `xdg-ninja --skip-ok --skip-unsupported` | +| `zapall` | `zapds && zappyc` | +| `zapds` | `find . -name ".DS_Store" -print -delete` | +| `zappyc` | `find . -type f -name '*.pyc' -ls -delete` | +| `zedit` | `$EDITOR ~/.dotfiles` | Total aliases: 43 Last updated: Fri 17 Jan 2025 13:06:59 EET diff --git a/docs/tmux-keybindings.md b/docs/tmux-keybindings.md index 214a423..ca3a40c 100644 --- a/docs/tmux-keybindings.md +++ b/docs/tmux-keybindings.md @@ -87,4 +87,3 @@ Leader: `` S-Left Move the visible part of the window left S-Right Move the visible part of the window right ``` - diff --git a/docs/wezterm-keybindings.md b/docs/wezterm-keybindings.md index ed29154..04b0322 100644 --- a/docs/wezterm-keybindings.md +++ b/docs/wezterm-keybindings.md @@ -277,4 +277,4 @@ Mouse: alt_screen ``` -- Generated on Thu 2 Jan 2025 17:41:13 EET +- Generated on Thu 2 Jan 2025 17:41:13 EET diff --git a/local/bin/README.md b/local/bin/README.md index 44b67e3..dac4e72 100644 --- a/local/bin/README.md +++ b/local/bin/README.md @@ -20,7 +20,7 @@ Some problematic code has been fixed per `shellcheck` suggestions. ## Sourced | Script | Source | -|-------------------------|-------------------| +| ----------------------- | ----------------- | | `x-dupes` | skx/sysadmin-util | | `x-foreach` | mvdan/dotfiles | | `x-multi-ping` | skx/sysadmin-util |