Commit Graph

345 Commits

Author SHA1 Message Date
Hoang Nguyen 193c9ad7b3
Update hostname alpine-tp -> thorin
Consistently using LoTR for hostnames ^-^
Add initial flake.nix for disk configuration.
Remove amfora configuration (upstream is abandoned).
2024-04-06 00:00:00 +07:00
Hoang Nguyen bd35665c21
Improve preview script (again)
Convert the image file to JPG and cache it if chafa cannot print
the original file to the terminal.

Also remove fallback previewer, as it will mangle vifm's preview pane
with passthrough flag %N enabled.
2024-03-25 00:00:00 +07:00
Hoang Nguyen 32867f005c
Add jinja-lsp Rust package 2024-03-16 00:00:00 +07:00
Hoang Nguyen ad08375db7
Add extract.sh script
Also move preview script to ~/.local/bin and rename to preview.sh
2024-03-14 00:00:00 +07:00
Hoang Nguyen e5c33e7d01
fish: disable some more telemetry garbage 2024-03-02 00:00:00 +07:00
Hoang Nguyen 7879065c49
packages/go: add sqls 2024-02-27 00:00:00 +07:00
Hoang Nguyen 7cea00ac14
gallery-dl: clean up config
Only define non-default values.
2024-02-17 00:00:00 +07:00
Hoang Nguyen fc531935fd
Update README 2024-02-16 00:00:00 +07:00
Hoang Nguyen 922733dcde
Merge sysconfig repo
The other repo is not large enough to be standalone, so include it here
as a single role.

More changes:
- Update onedark pallete (https://github.com/Binaryify/OneDark-Pro/blob/master/src/themes/data/oneDarkPro.ts)
- Fix ansible-lint warnings
2024-02-16 00:00:00 +07:00
Hoang Nguyen db2efc5aac
config: set PATH only in login shell for fish
Reduce overhead for interactive shell.
2024-02-15 00:00:00 +07:00
Hoang Nguyen 7a5185cd57
config: add luarocks tasks
Also remove `force: true` for various template/file task (it's the
default) and clean up XDG directory variables.
2024-02-14 00:00:00 +07:00
Hoang Nguyen d9cd2f1b60
Remove gopass (use pass instead)
Also add guix related env vars.
2024-02-13 00:00:00 +07:00
Hoang Nguyen 6391745de2
gnupg: let ssh update GPG_TTY on every run 2024-02-12 00:00:00 +07:00
Hoang Nguyen cef0cc50cd
scripts: fix preview script
The pattern can't be spanned into multiple lines.
2024-02-11 00:00:00 +07:00
Hoang Nguyen de4bc58e0d
scripts: remove gzip in preview script
`gzip -l` is disappointing (only outputs the archive's info). Use bsdtar instead.
2024-02-09 00:00:00 +07:00
Hoang Nguyen a2d843d72e
scripts: improve launch_wallpaper script
Also fallback to /run/user/$UID for XDG_RUNTIME_DIR in other scripts.
2024-02-09 00:00:00 +07:00
Hoang Nguyen a92193776d
containers: fix ltex-ls Dockerfile 2024-02-09 00:00:00 +07:00
Hoang Nguyen ec15746219
vifm: use regex for classify
so that they also match against hidden files.
2024-02-09 00:00:00 +07:00
Hoang Nguyen e18d3d120d
vifm: improve file opener; add/update more file icons
Put filextype commands to background (via %i).
2024-02-09 00:00:00 +07:00
Hoang Nguyen 43dca23e90
scripts: be more specific with file extension for tar files in preview script 2024-02-08 00:00:00 +07:00
Hoang Nguyen ee3f623095
scripts: rewrite volumecontrol script to sh
More portable than luajit I guess (no need to install anything to run).
Also stop templating `fzmp` script.
2024-02-08 00:00:00 +07:00
Hoang Nguyen 55dc973260
scripts: further improve preview script
Switch to bash to utilize pattern matching.
2024-02-08 00:00:00 +07:00
Hoang Nguyen 9822f8b08a
scripts: improve preview script
* Use the same script to preview everything for both fzf and vifm.
* Image preview works with fzf now.
* Solely rely on mimetypes instead of file extensions.
* Merge genfontimage script into the preview script
2024-02-07 00:00:00 +07:00
Hoang Nguyen ac32f4d838
fish: update ghq_rm function to use the new 'rm' subcommand of ghq
Present in ghq v1.5.0
2024-02-03 00:00:00 +07:00
Hoang Nguyen a1a400a765
Use lowercase characters for the nickname 2024-01-27 00:00:00 +07:00
Hoang Nguyen 28f0c9875f
scripts/preview: add gojq/jaq to *.json preview option 2024-01-27 00:00:00 +07:00
Hoang Nguyen 01cf930d09
containers: update .Net to 8.0 for marksman
Also switch ltex-ls container to use Git based approach.
2024-01-20 00:00:00 +07:00
Hoang Nguyen b00ae691c4
scripts: add httpstat.py 2024-01-20 00:00:00 +07:00
Hoang Nguyen 776c01cdcc
fix(typo): .cache -> .ccache 2024-01-14 00:00:00 +07:00
Hoang Nguyen 3852df5f14
containers: simplify aports-dev container image
More changes:
- Drop yq from YAML generating task. Jsonnet's output (using
  quote_keys=false) is pretty good already. `jsonnet-lint` right now
  isn't happy though.
- Update versions of container images
2024-01-14 00:00:00 +07:00
Hoang Nguyen 1549f55dfe
Remove tmux and qutebrowser config (not used anymore)
More changes:
- alacritty: switch config to TOML format
- options:
  - Go back to specify 1 variant of CJK fonts
  - Update user_agent
- fish: update Nord theme to be more aligned with upstream
- cava: update config to use pipewire as the default backend
- container: pull kcli container images
- packages/go: add regal, go-licenses (and remove some unused linters)
2024-01-06 00:00:00 +07:00
Hoang Nguyen b64465635a
scripts/fzapk: remove duplicated items in fzf result 2024-01-01 00:00:00 +07:00
Hoang Nguyen c0326a034e
vifm: update icons 2023-12-23 00:00:00 +07:00
Hoang Nguyen c3ef0b604f
Ensure Go's telemetry is off 2023-12-03 00:00:00 +07:00
Hoang Nguyen 5552326eec
packages: add more Go packages
Also remove shfmt, vale and templ (exist in AlpineLinux's repository)
2023-12-02 00:00:00 +07:00
Hoang Nguyen 18899b129d
containers/podman: fix path joining for copy_script function 2023-12-02 00:00:00 +07:00
Hoang Nguyen 8a5675d252
config/fish: add ANSIBLE_HOME to follow XDG spec 2023-12-02 00:00:00 +07:00
Hoang Nguyen 147365885c
apptainer: add symlinks for asciidoctor wrapper script 2023-11-15 00:00:00 +07:00
Hoang Nguyen fdf8c534e1
containers: add opam Apptainer task 2023-11-13 00:00:00 +07:00
Hoang Nguyen 8ed8e593e9
Use {{ xdg_dir }} variable for everything
Stop hard-coding ~/.config, ~/.local/share and so on.
2023-11-06 00:00:00 +07:00
Hoang Nguyen 0a00606752
packages: add more tags to tasks 2023-11-05 00:00:00 +07:00
Hoang Nguyen 3ae2f1f680
Add config for lsd 2023-10-29 00:00:00 +07:00
Hoang Nguyen 379519c832
nvim: move Neovim config to an external repo 2023-10-28 00:00:00 +07:00
Hoang Nguyen 59ee8750b3
Switch from Makefile to Taskfile.yml (using go-task)
Also use consul, nomad, vagrant and asciidoctor inside container.
2023-10-27 00:00:00 +07:00
Hoang Nguyen e9d702563b
Update package list and adjust some TODO milestones 2023-10-25 00:00:00 +07:00
Hoang Nguyen 19ed7ad6ce
emacs: add dired-preview package 2023-10-08 00:00:00 +07:00
Hoang Nguyen febd6e025c
nvim: assume ansible.cfg as ini filetype 2023-09-30 00:00:00 +07:00
Hoang Nguyen 2c6d74b8e3
vifm: more file icons 2023-09-30 00:00:00 +07:00
Hoang Nguyen c8169b3e32
clipboard: remove clipman (dead upstream URL)
More changes:
- nvim: make indent-blankline.nvim's scope behave like it used to
- vifm: more file icons
2023-09-30 00:00:00 +07:00
Hoang Nguyen b913dd010e
nvim: update config for indent-blankline.nvim v3 2023-09-29 00:00:00 +07:00