diff options
| author | Thomas Vanbesien <tvanbesi@proton.me> | 2026-06-02 14:29:33 +0200 |
|---|---|---|
| committer | Thomas Vanbesien <tvanbesi@proton.me> | 2026-06-02 14:29:33 +0200 |
| commit | e61627d5756fb3612a6a8dd6f34714baf12df4df (patch) | |
| tree | 16454ddb8709c5c67ddd761e761bea0ffc477090 | |
| parent | 35d345c23c79030e32843eff5f626f833a6609fa (diff) | |
| download | dotfiles-e61627d5756fb3612a6a8dd6f34714baf12df4df.tar.gz dotfiles-e61627d5756fb3612a6a8dd6f34714baf12df4df.zip | |
refactor(nvim): move base package list to dedicated file
| -rwxr-xr-x | .local/bin/dotfiles | 34 | ||||
| -rw-r--r-- | .local/share/dotfiles/packages/README.md | 45 | ||||
| -rw-r--r-- | .local/share/dotfiles/packages/base.txt | 43 |
3 files changed, 89 insertions, 33 deletions
diff --git a/.local/bin/dotfiles b/.local/bin/dotfiles index 8570995..722c41f 100755 --- a/.local/bin/dotfiles +++ b/.local/bin/dotfiles @@ -141,39 +141,7 @@ sync_proton_vpn() { case ${1:-} in sync) # shellcheck disable=SC2034 - declare deps=( - foot # terminal emulator - tmux # terminal multiplexer - bash # shell - bash-completion # collection of bash completions - fzf # fuzzy finder - fd # fast file finder (fzf-lua files provider) - tig # Git terminal interface - ripgrep # fast grep (fzf-lua live_grep provider) - ranger # file explorer - glib2 # GIO library (used to trash in ranger) - bat # syntax highlighter - texinfo # GNU info documentation reader - python-pipx # Python apps environment - wl-clipboard # Wayland clipboard - jq # JSON processor - pass # password manager - firefox # web browser - browserpass # pass native host for browsers - browserpass-firefox # firefox extension for browserpass - yay # AUR helper (for pass-secret-service-bin) - shfmt # shell program formatter - stylua # Lua formatter - tree-sitter-cli # used by nvim (increment parsing) - base-devel cmake ninja git # nvim build dependencies - tk # gitk and git gui - # language servers (used by nvim) - bash-language-server - lua-language-server - marksman - # tools for archives - atool bzip2 cpio gzip lhasa xz lzop 7zip tar unrar zip unzip - ) + readarray -t deps < <(cat "$HOME/.local/share/dotfiles/packages/base.txt") sync_packages pacman deps # shellcheck disable=SC2034 declare aur_deps=(vim-language-server) diff --git a/.local/share/dotfiles/packages/README.md b/.local/share/dotfiles/packages/README.md new file mode 100644 index 0000000..7a26aae --- /dev/null +++ b/.local/share/dotfiles/packages/README.md @@ -0,0 +1,45 @@ +# packages + +## base.txt + +- `foot` (terminal emulator) +- `tmux` (terminal multiplexer) +- `bash` (shell) +- `bash-completion` (collection of bash completions) +- `fzf` (fuzzy finder) +- `fd` (fast file finder (fzf-lua files provider)) +- `tig` (Git terminal interface) +- `ripgrep` (fast grep (fzf-lua live_grep provider)) +- `ranger` (file explorer) +- `glib2` (GIO library (used to trash in ranger)) +- `bat` (syntax highlighter) +- `texinfo` (GNU info documentation reader) +- `python-pipx` (Python apps environment) +- `wl-clipboard` (Wayland clipboard) +- `jq` (JSON processor) +- `pass` (password manager) +- `firefox` (web browser) +- `browserpass` (pass native host for browsers) +- `browserpass-firefox` (firefox extension for browserpass) +- `yay` (AUR helper (for pass-secret-service-bin)) +- `shfmt` (shell program formatter) +- `stylua` (Lua formatter) +- `tree-sitter-cli` (used by nvim (increment parsing)) +- `base-devel` `cmake` `ninja` `git` (nvim build dependencies) +- `tk` (gitk and git gui) +- language servers (used by `nvim)` + - `bash-language-server` + - `lua-language-server` + - `marksman` +- tools for archives + - `atool` + - `bzip2` + - `cpio` + - `gzip` + - `lhasa` + - `xz` + - `lzop` `7zip` + - `tar` + - `unrar` + - `zip` + - `unzip` diff --git a/.local/share/dotfiles/packages/base.txt b/.local/share/dotfiles/packages/base.txt new file mode 100644 index 0000000..82f29be --- /dev/null +++ b/.local/share/dotfiles/packages/base.txt @@ -0,0 +1,43 @@ +7zip +atool +base-devel +bash +bash-completion +bash-language-server +bat +browserpass +browserpass-firefox +bzip2 +cmake +cpio +fd +firefox +foot +fzf +git +glib2 +gzip +jq +lhasa +lua-language-server +lzop +marksman +ninja +pass +python-pipx +ranger +ripgrep +shfmt +stylua +tar +texinfo +tig +tk +tmux +tree-sitter-cli +unrar +unzip +wl-clipboard +xz +yay +zip |
