Commit Graph

346 Commits

Author SHA1 Message Date
Hoang Nguyen a58c24762a
dotfiles: add 'music_daemon' variable
- allowing 'mpd' or 'mopidy' value. Also switch to mpd unix socket
  instead of localhost port
- Fix wallpaper script with swww
2022-09-11 22:42:20 +07:00
Hoang Nguyen b041ffbc2c
Some clean up here and there
Merge `system` and `chromium` roles `packages` and `config`. They were
separated before due to the fact that root is required, but that is not
really a big deal.
2022-09-05 23:30:57 +07:00
Hoang Nguyen 50087b2fca
podman: no need for --interactive in aports-dev clean up stage 2022-09-04 10:05:06 +07:00
Hoang Nguyen 0ca06337ec
podman: make aports-dev clean up stage stand out 2022-09-03 23:10:32 +07:00
Hoang Nguyen ca6192ecf9
podman: add aports-dev container image
- nvim: fix hadolint script
- podman: put wrapper scripts directly into ~/.local/bin
2022-09-03 22:46:37 +07:00
Hoang Nguyen 56e939f0ea
nvim: temporary updates
There are still things I want to add, but the diff has gotten quite
large already. Putting the current config here for backup.

- add inlay-hints.nvim, flit.nvim
- bind leap.nvim to -/_ and reset nvim-surround mappings
- update deprecated setup instruction for a few plugins

Also move TODO section out of README.md
2022-09-03 17:19:55 +07:00
Hoang Nguyen f4069d0144
scripts: tweak swww options 2022-09-03 15:11:05 +07:00
Hoang Nguyen ff4aae2d82
Another bunch of changes
- Added option for wallpaper engines
- emacs: disable tree-sitter (the pulled tree-sitter lang binaries are
  glibc only)
- podman: define versions in Ansible variables
- theme: delete catppuccin template (I'll work it out in the future)
2022-09-03 14:52:28 +07:00
Hoang Nguyen 512a1e8157
Some changes here and there
- fish: add my own Nord theme
- scripts: delete launch_pipewire script (/usr/libexec/pipewire-launcher
  does the same thing)
2022-09-02 23:08:19 +07:00
Hoang Nguyen bd6267b1b1
emacs: update module list in init.el 2022-08-24 23:17:39 +07:00
Hoang Nguyen 28a0ec7bbf
terminal: apply terminal tag to subtask
include_tasks doesn't apply its tags to the subtasks.
2022-08-22 22:03:57 +07:00
Hoang Nguyen 74df667563
Group roles and playbooks together
Also remove test Dockerfile. I run the playbook everyday so no need for
testing
2022-08-22 21:39:26 +07:00
Hoang Nguyen eff81a55c5
zellij: no need to generate fish completion
zellij-fish-completion package exists in AlpineLinux repo
2022-08-21 23:30:17 +07:00
Hoang Nguyen 9579bad605
dotfiles: rework roles structure
Group configuration tasks into 1 single role
2022-08-21 23:00:49 +07:00
Hoang Nguyen 2ab1dc9402
Lots of changes because I'm bored
- Add go-s config. Adjust searchmenu script to use s
- Add gdb-dashboard script
- Rewrite translate-shell Dockerfile
- Update aerc config, filters
- Remove ipinfo and crypt scripts (they are too simple, can manually
  type them myself)
- Split large tasks file into chunks
- fish: use themes directory for shell color config
- Reword ssh_client variable (there are other SSH clients than openssh
  and dropbear)
2022-08-21 15:15:42 +07:00
Hoang Nguyen a5156828a9
vars: move hard-coded variables to the main playbook
Variables in group_vars should be there as reference to be changed.
2022-08-18 19:48:16 +07:00
Hoang Nguyen ef9a3d9405
playbooks/podman: update ltex-ls Dockerfile 2022-08-15 23:25:05 +07:00
Hoang Nguyen c3a6dfbcb0
vifm: extend filextype 2022-08-09 22:54:25 +07:00
Hoang Nguyen 539996cc4a
terminal: remove opacity option
Neovim dislike it (or it's just me not knowing how to make them work
together properly).
2022-08-07 10:17:22 +07:00
Hoang Nguyen f2718ec2e4
nvim: add scope.nvim
Also add some convenient bindings for the new tab workflow
2022-08-03 21:29:59 +07:00
Hoang Nguyen a84a5abb06
gallery-dl: correct file path for DeviantArt source 2022-07-30 00:42:22 +07:00
Hoang Nguyen bef4a09fcb
nvim: strip lsp go binaries
Also update progress color for mako
2022-07-29 10:02:01 +07:00
Hoang Nguyen 6e6a59d03d
scripts: use jq alternatives
- packages: add gum
- scripts: remove lyrics script
2022-07-29 01:51:10 +07:00
Hoang Nguyen 9d222d8b0d
yt-dlp: remove ytmdl virtualenv
AlpineLinux has ytmdl packaged now.
2022-07-26 23:45:50 +07:00
Hoang Nguyen 619e37c386
nvim: add lsp_lines.nvim
Also newsboat: add This week in Neovim feed
2022-07-26 23:33:38 +07:00
Hoang Nguyen 4805b27025
nvim: set colorscheme in $XDG_CONFIG_DIR/nvim/after/plugin
Make the Jinja template shorter for easier maintenance.
2022-07-25 22:48:40 +07:00
Hoang Nguyen 2180f19f5d
Some small changes
- nvim: load nvim-surround on BufRead instead of key pressed (it makes
  a delay when pressing y, c, d)
- packages: add rakkess, gokey, cshatag, pkg, mdbook-mermaid
- newsboat: add new subscriptions
2022-07-25 00:03:37 +07:00
Hoang Nguyen 0b9c876656
nvim: some updates after a while
- Tweak the way impatient.nvim and which-key.nvim are loaded (fix
  automated setup for nvim)
- Plugins changed:
  - vim-sandwich -> nvim-surround
  - cmp-nvim-lua -> emmylua-nvim
2022-07-23 12:10:53 +07:00
Hoang Nguyen 95f1bbc8c0
playbooks/packages: add infra and kubeval 2022-07-22 00:50:59 +07:00
Hoang Nguyen b67bdf3f31
mpv: update font size for mordenx OSC 2022-07-21 23:56:27 +07:00
Hoang Nguyen 755f525d93
mpv: update plugins list
Also add ytmdl back (from my old dotfiles)
2022-07-21 23:15:22 +07:00
Hoang Nguyen 43335f7a41
shells/fish: revert common abbr back to alias
I use cp, mv, rm, mkdir a lot so abbr popping arguments up is kinda
annoying.
2022-07-13 00:01:13 +07:00
Hoang Nguyen 0bdb53f091
shells/fish: small changes
- Use abbr instead of alias everywhere
- Set $fish_user_paths conditionally
- Add more options to less pager
- Add --cycle flag as default to fzf
2022-07-04 21:01:49 +07:00
Hoang Nguyen 2a32254455
shells/fish: update XDG directories 2022-06-28 23:45:14 +07:00
Hoang Nguyen a24b747a7d
shells/fish: add KREW_ROOT env, update pyenv setup
Also delete direnv settings as it is provided by direnv-fish package
2022-06-26 14:20:12 +07:00
Hoang Nguyen f7f5671364
streamlink: update player command 2022-06-23 00:18:43 +07:00
Hoang Nguyen a6b0ea3df8
scripts,vifm: update preview script
Remove stuff that are not available.
2022-06-20 11:00:23 +07:00
Hoang Nguyen 5cbe648548
roles: add streamlink role 2022-06-19 16:02:47 +07:00
Hoang Nguyen 3f84fb597b
packages: strip go packages 2022-06-09 10:26:41 +07:00
Hoang Nguyen 46ef36d2dd
Minor changes
- sway: add --locked for media bindings
- river: update template for colors
- packages: remove kmon (it has apk package now)
2022-06-05 23:59:52 +07:00
Hoang Nguyen d5420562c6
aerc: sync config with default config template 2022-05-30 15:37:52 +07:00
Hoang Nguyen 661898ba53
filter_plugins: update hex_to_rgb filter
Just added a safety check
2022-05-30 11:04:18 +07:00
Hoang Nguyen 4dba92c657
gallery-dl: update config
- Don't repeat "postprocessors" block (use its whitelist value)
- Specify "chapter-filter" for only manga extractors as it breaks Pixiv
  user extractor function
2022-05-29 16:01:30 +07:00
Hoang Nguyen 5c6776075e
Lots of updates
- scripts: improve notifications
- aerc: redefine stylesets and config
- gpg: get rid of the comments
- nvim: update nvim-tree.lua config
- playbooks: use a custom hex_to_rgb filter to define colors for some
  applications
2022-05-29 14:55:52 +07:00
Hoang Nguyen 1742e02dba
Rely less on CJK font
Allow providing a list of CJK fonts now.
2022-05-27 23:51:01 +07:00
Hoang Nguyen 83875efa5d
packages: replace 'tt' with 'ttyper' 2022-05-21 01:01:15 +07:00
Hoang Nguyen 266b9c7726
nvim: remove autocmd for AlphaReady
Avoid conflict with the way bufferline.nvim is loaded in the config.
2022-05-15 17:33:01 +07:00
Hoang Nguyen 3d0c27cd3d
nvim: use yarn instead of npm for install scripts 2022-05-15 03:47:27 +07:00
Hoang Nguyen 7a295b8eb7
packages: use state=latest for pip module 2022-05-15 02:54:01 +07:00
Hoang Nguyen 32b0308dc2
nvim: more small tweaks here and there 2022-05-14 21:20:20 +07:00