Commit Graph

69 Commits

Author SHA1 Message Date
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 d9bb87a551
nvim: update some highlights 2023-07-01 00:00:00 +07:00
Hoang Nguyen 01e4b35592
Add Apptainer container for Bazel
Other stuff:
- Clean up foot and aerc config (only contain non-default settings now)
- Clean up Neovim plugins in TODO list
- Rename `podman` role to `containers`
- packages: add some helm plugins
2023-04-30 00:00:00 +07:00
Hoang Nguyen 0704fd92fa
Change the way to import colors
- All color variables is now nested inside 'colors.' field instead of
  being global.
- fish: avoid update for kopia
- newsboat: add cloudflare and dudemanguy blogs
- preview scripts: indent with tabs
- go-packages: add tfline, kubestr, kubectl-trace, oras-cli; remove fish completions
- flatpak: add whalebird-desktop
- waybar: add workaround for 0.9.15 GtkButton regression
2022-11-06 11:00:00 +07:00
Hoang Nguyen 7e5982051c
fuzzel: add configuration
Target fuzzel version >= 1.8.0 (not out yet) with file-based configuration.

Other changes:
- scripts:
  - tweak wofi-calc script to be more generic with launchers
  - simplify clipboard script
  - yank a better sway_window script from Reddit (I forgot the source)
- bash: make a separated task file, create history directory
- superd: again remove dependencies related to pipewire. pipewire-pulse
  and wireplumber can be started fine without order
- terminal: use ui_opacity value (my nvim config kind of works with
  transparency now)
2022-10-25 11:00:00 +07:00
Hoang Nguyen badeebcde1
Super long list of changes
- ansible:
  - use "true, false" instead of "yes, no" (yamllint is annoying)
  - use community.general.packaging.? module paths instead of plain
    community.general.?
- nvim:
  - lazy-load which-key.nvim
  - add experimental winbar inside feline.nvim
  - replace nvim-colorizer.lua with ccc.nvim
  - load bufferline.nvim stuff conditionally (plugins, keymaps)
  - clean up telescope keymap I rarely use
  - improve path completion for nvim-cmp with nvim-web-devicons
  - refactor plugins.lua files to look cleaner
  - replace close-buffers.nvim with bufdelete.nvim
- alacritty: upgrade config to 0.11.0
- pyradio: use Jinja2 template for theme file
- fish:
  - add environment variables for helmfile, gopass, pulumi, vivid
  - rollback $NPM_CONFIG_PREFIX (it is used to set $PATH)
- git:
  - add git-privacy
  - tweak aliases a bit to look nicer
- dotfiles:
  - rename `terminal` variable to `terminal_emulators`
- extend:
  - merge `flatpak` role into `packages`
  - merge `wallpapers` and `soundtheme` roles into `theme`
2022-10-16 11:00:00 +07:00
Hoang Nguyen 961ef44c90
mpd: use mopidy-local plugin instead of mopidy-file, remove logging.conf
Also:
- packages: add dblab
- playbook: use yaml format for inventory file
- tasks: refactor variable check tasks
2022-09-18 16:22:15 +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 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 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 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 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 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 95f1bbc8c0
playbooks/packages: add infra and kubeval 2022-07-22 00:50:59 +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 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 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 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 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 ba69b1ec87
nvim: lightspeed.nvim -> leap.nvim
Also adjust some vim.opt_local
2022-05-10 23:24:20 +07:00
Hoang Nguyen 9715734fbf
scripts, vifm: migrate atool -> bsdtar (from libarchive-tools) 2022-05-10 16:20:16 +07:00
Hoang Nguyen 507302b401
podman: add hadolint and build ltex-ls from source 2022-05-04 22:57:59 +07:00
Hoang Nguyen 640fd9cc7c
podman: fix build directory in tasks, add translate-shell image 2022-05-04 00:55:54 +07:00
Hoang Nguyen 8a32699019
chromium: use inline content for 'copy' task
The policy is short so it's a waste storing an external file for it
2022-05-03 10:32:25 +07:00
Hoang Nguyen 519a43411b
playooks: group external playbooks into 1
Also:
- chromium: add Ozone flag for Wayland
- flatpak: add role
2022-05-02 23:28:49 +07:00
Hoang Nguyen e501f2dac2
Some temporary changes
- river: update new mapping option -layout and -hide-cursor river option
- aerc: use abook command from aerc's wiki
  (https://man.sr.ht/~rjarry/aerc/integrations/index.md)
- packages: add zdict
- palette: add catppuccin (haven't tested)
- nvim: adjust highlights for markdown-preview.nvim (to support all
  3 palettes)
- scripts/launch_xdg_portal: xdg-desktop-portal-kde is now in the same
  directory as the other on Alpine
- env: add DOTNET_SKIP_FIRST_TIME_EXPERIENCE, XDG_STATE_HOME and adjust
  NPM_GLOBAL_PREFIX
- cava: update config to version 0.8.2
2022-04-30 13:23:09 +07:00
Hoang Nguyen 9790a6fdca
playbooks/packages: add rancher-cli 2022-04-07 21:59:54 +07:00
Hoang Nguyen 0a92bdc4a6
shells/fish: add some aliases
Also:
- playbooks/packages: add helmfile
- ssh: don't add keys automatically (mainly for Vagrant)
2022-04-06 22:45:07 +07:00
Hoang Nguyen 6cbbe7adac
Succumb to setting chromium as the default browser
Other changes:
- Add a policy file to disable chromium's history
- shells/fish: add env var for Puppeteer to make mermaid-cli work
- scripts: add task to download git-filter-repo script
- Fix dependencies in Dockerfile
2022-03-30 23:54:28 +07:00
Hoang Nguyen eb73bf24b5
roles: add 'aerc' role 2022-03-19 01:42:54 +07:00
Hoang Nguyen 671b56720a
river: use standard lua for init script
There is nearly no difference anyway as we don't precompile the init file.

The standard lua (current 5.4) is required by Wireplumber so stick with
it (that way I don't need to install 1 more lua version).

Also fix waybar exec command in sway config.
2022-03-09 18:47:25 +07:00
Hoang Nguyen b981f61a39
river: use luajit for the init script
Other changes:
- newsboat: add people's rss feeds
- nvim: update filetypes for luajit, waybar
- waybar: move config to be for sway only
- scripts:
  - add launch scripts for xdg-desktop-portal backends, mpDris2
  - musicmenu: delete icon spacings
  - touchpad: rename to sway_touchpad (as it is sway specific)
- sway, river: update float filters, change run menu mapping to
  Super+Shift+D
2022-03-08 19:03:03 +07:00
Hoang Nguyen d1c68c75e5
scripts: symlink lua binary
This way we don't need to hardcode lua binary path to each script
2022-03-06 17:20:00 +07:00
Hoang Nguyen a8f3d0ed23
Some updates
- scripts:
  - volumecontrol: use Wireplumber's lua API
  - mangamenu: fix recursive call

- sway, river:
  - update syntax for the new volumecontrol script
  - input keyboard layout now is set in startwl script

- system: ditch pulsemixer, replaced by pavucontrol-qt

- notification: add microphone icons
2022-03-06 15:44:00 +07:00
Hoang Nguyen 3be104b697
mpd/ncmpcpp: disable genius.com lyrics provider again 2022-03-05 15:41:17 +07:00
Hoang Nguyen d6d7279246
Fix lint errors + bunch of changes
- scripts:
  - add urlfilter script
  - update bukumenu and searchmenu to use urlfilter script

- packages: use 'bundler' ansible module to bootstrap Vagrant

- README: add goals
2022-03-05 15:13:46 +07:00
Hoang Nguyen b1598fbd5d
Some updates
- gallery-dl: don't use virtualenv anymore (gallery-dl is now in
  Alpine's testing repository)

- nvim: revert lsp log level config

- git: update config to use consistent style, remove lfs config (lfs
  config is configured system-wide in Alpine with an apk hook)
2022-03-04 20:32:41 +07:00
Hoang Nguyen 90a0bd8774
Update stuff
- packages: remove poetry (use the poetry package in Alpine's community
  repo instead)
- chroot: update chroot script
- scripts:
  - git-fork: also handle SSH url
  - urlify: use nocry.me for shortening url
- shells: move zellij completion generation to multiplexer role
2022-03-02 23:28:04 +07:00