Commit Graph

51 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 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 e9d702563b
Update package list and adjust some TODO milestones 2023-10-25 00:00:00 +07:00
Hoang Nguyen 485470f517
Add imv and lazygit config
Also:
- fix errors reported by ansible-lint.
- simplify starship config
- add image_viewer configuration variable
- update ltex-ls to 16.0.0
- remove git status in bash shell prompt
2023-05-06 00:00:00 +07:00
Hoang Nguyen e62ac53d45
Overhaul icon set due to Nerdfont v3.0.0
Also:
- list all components in starship config
- remove qtcreator (qmlls exists)
- fish: back to source /etc/profile file with replay.fish (there are
  some nasty programs putting stuff there, e.g. nushell, nix)
- rename term_font from 'Iosevka Nerd Font' to 'IosevkaTerm Nerd Font'
2023-05-03 00:00:00 +07:00
Hoang Nguyen 11e77e3675
Remove `default_browser` variable and go-s config
=> bring back the old searchmenu script ^-^ for simplicity
=> just hardcode xdg-open for web link (need xdg-utils)

- pyradio, alacritty: update config for newer version
- weechat:
  - remove wee-slack (Slack is so terrible using it inside the
    terminal is much worse (blame the API :>))
  - add my nick on OFTC (just hanging out on AlpineLinux's channels)
- scripts: add `fake-lua` script to display Lua version in Starship
  prompt (kudos to https://github.com/wangl-cc/dotfiles)
- TODO: remove stuff as I'm working on my new Neovim config right now
2023-04-02 00:00:00 +07:00
Hoang Nguyen a468fb814b
git: add gitsign option alongside openpgp and ssh
Upstream some Go packages to AlpineLinux repo.
2023-03-06 00:00:00 +07:00
Hoang Nguyen e9e40cd1ee
Add "screenshot" config option with grim and wayshot
Also add config file for swappy + improve screenshot script.
2023-03-04 11:00:00 +07:00
Hoang Nguyen 10c1a8e02c
Use flatpak ungoogled-chromium as the default browser
mermaid-cli doesn't end the process nicely though => should investigate more.
Also use CHROMIUM_USER_FLAGS to configure chromium globally.
2023-02-26 11:00:00 +07:00
Hoang Nguyen 48897d684d
git: colorize diff and some more tweaks 2023-01-28 11:00:00 +07:00
Hoang Nguyen 6533d10ba5
First commit of the New Year's Cat
- Add SSH sign option for Git (Gitlab 15.7 supports this now)
- Clean packages I don't use
- Minor updates to Neovim config
- Fix fish_user_key_bindings
- Fix git-fork script
- Add Python packages (installed with pip)
2023-01-28 11:00:00 +07:00
Hoang Nguyen f188184737
Updates here and there after a while
- Install fonts
- Update browser's user agent
- Add gopass config file
- Compile some more Go packages
2023-01-02 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 22fe8d4685
Add superd tasks for user services
Other noticeable changes:
- river:
  - clean up init script, use luajit
  - change 'repeat', 'release' keymap options to 'repeated', 'released'
    to avoid colision with Lua's keyword 'repeat'
- sway: update config
- scripts:
  - remove launch scripts covered by superd services
  - replace normal lua with luajit
- group_vars: split into multiple files
- various 'command' tasks: use 'removes' keyword to trick LSP linter
2022-10-23 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 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 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 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 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 6e6a59d03d
scripts: use jq alternatives
- packages: add gum
- scripts: remove lyrics script
2022-07-29 01:51:10 +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 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 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 3498a5a351
Another bunch of changes
- nvim:
  - disable ansiblels on single file
  - remove markdown highlights
  - change DEBUG notify color from fg to green

- scripts: revise multiple files

- alacritty: update config based on 0.15.0 template

- introduce variable font_size_px for controlling image size in launcher

- add sound_theme playbook

- vifm: add chafa preview script and clean up vifmrc (it leads to
  a bunch of redundant previewer code though)
2022-02-19 00:26:22 +07:00
Hoang Nguyen 8f3697aabb
Bunch of changes
- playbooks: refactor installing package tasks (use Ansible modules
  where possible instead of running commands)

- add umask

- add .editorconfig file, since the repo is getting large

- mpd: update ncmpcpp config, also bind mpd on IPv6 localhost

- nvim:
  - move things into 'user' directory to avoid module name clashed with
    plugins
  - don't vendor syntax files for nftables, jinja and log filetypes
  - add some more plugins
  - no longer lazy-load nvim-notify
  - simplify init.lua (no longer expose autocmd.lua and options.lua)
  - change 'v' mode mappings to 'x' mode (I never use Select Mode so
    explicitly rebind those mappings to Visual Mode only)
  - re-enable ansiblels and cspell, since they work nicely now
  - use 'sh' instead of 'bash' for shell
2022-02-16 02:38:02 +07:00
Hoang Nguyen 85700dd480
group_vars: use ternary() for 'dmenu_flag' variable
The condition is bool, so it is more fitting than an 'if-then-else'
2022-02-11 20:30:58 +07:00
Hoang Nguyen f08d185084
Some clean up tasks
- playbook: move check tasks to external files for visibility

- multiplexer: introduce variable 'multiplexer'

- shells/fish: reflect aliases on the new variable 'multiplexer'
2022-02-11 14:17:40 +07:00
Hoang Nguyen e3590f0563
Multiple changes
- scripts:
  - add nmount, git-fork, bukumenu, musicmenu
  - adjust preview script not to cut stdout of atool
  - mangamenu: turn into template instead of list out launchers
  - doasedit: require readlinkf_posix
  - searchmenu: turn into POSIX script. It looks uglier though :(

- packages: add antora and mermaid-cli packages (yarn)

- vifm: add archive commands (gzip, xz) using tar

- sway, river: add bindings for menu commands and the other screenshot
  task variants

- waybar: change media.sh module to work nicely without udisks

- launcher:
    - rofi: add '-i' (case insensitive) option to dmenu_flag. The other
      launchers don't need this flag, as fuzzel is case insensitive by
      default, while wofi uses the option in its config file
    - wofi: move wofi-calc to ~/.local/libexec/wayland (it is intended
      to be run with a compositor binding)
2022-02-11 02:02:42 +07:00
Hoang Nguyen 510476f516
group_vars: separate custom variables and unchanged ones 2022-02-06 23:19:35 +07:00
Hoang Nguyen 9ff3a87e2a
Clean up template and playbook structure
- Add ui_background variable instead of defining if-else in templates
  for waybar and launchers
- dotfiles.yml: make when statements more visible
2022-02-06 21:25:26 +07:00
Hoang Nguyen 145a291b26
launcher: add rofi-emoji plugin 2022-02-05 11:50:50 +07:00
Hoang Nguyen e7d7036511
Some changes
- launcher: add rofi option and use it as default
- nvim: only rainbow treesitter plugin is needed early
- waybar, launcher: make opacity configurable
- dependencies: delete polkit related packages (except flatpak) and lang
  packages (I use only English anyway)
2022-02-05 02:10:44 +07:00
Hoang Nguyen a3fd4c20ec
nvim: fix remaining black highlights + disable winblend
Winblend interferes with the transparency of the terminal so disable it.
Disable terminal transparency again, but leave it configurable.
2022-02-03 21:59:42 +07:00
Hoang Nguyen a35cc2c902
Bunch of changes
- nvim:
  - nvim-lightbulb: move config to modules.lsp (this seems more proper,
    and we also can check for client's capabilities)
  - highlights: unset Normal (this helps transparent terminal emulators)

- scripts:
  - fzmp: back to check proc (the pid file is unreliable, it persists if
    mpd is killed not by invoking `mpd --kill`, e.g. by sending
    SIGKILL). Just make sure the normal user has permission to read
    /proc
  - launch_pipewire: wait after launching the main pipewire process

- alacritty, foot: add transparency

- fish: fix fzf nord theme (this helps transparent terminal emulators)

- other:
  - remove 20-pipewire.conf (moved to sysconfig repository)
  - clean up system dependencies
2022-02-02 01:42:50 +07:00
Hoang Nguyen 42db64e76e
roles: rename 'wofi' role to 'launcher'
This is preparation for adding 'fuzzel' launcher option
2022-01-27 14:51:41 +07:00
Hoang Nguyen 9cc4b50025
roles: Refactoring
- dunst_mako: rename to 'notification'
- fish, bash, nushell, xonsh, starship: group into 'shells' role
- xdg-desktop-portal-wlr, npm: group info 'xdg' role
- zellij, tmux: group info 'multiplexer' role
2022-01-26 23:33:38 +07:00
Hoang Nguyen 8553b1ea91
Stop hardcoding main terminal emulator
- Group 'foot' and 'alacrity' into 1 task, with precedence configurable
- scripts/urlify: back to tinyurl since 0x0.st blocks url shortening
  service now
2022-01-26 21:42:10 +07:00
Hoang Nguyen f81ff72160
Decrease font_size from 14 to 13.5
It looked weird in foot before
2022-01-01 00:30:17 +07:00
Hoang Nguyen 099946a1bd
Make playbooks easier to read + add 'curl' tag 2021-12-24 01:29:16 +07:00
Hoang Nguyen a3f583f13a
Another big commit
Some notable changes:
- Add tags for roles
- roles/fish: move out pyenv and poetry
- nvim: update config for feline.nvim
- roles/gpg: change the way gpg-agent is started (follow the man page)
2021-12-23 16:43:02 +07:00
Hoang Nguyen 56516a9c70
Add notes for dropbear and multiple changes 2021-12-22 00:25:43 +07:00
Hoang Nguyen 1c96422a91
Big commit. I think I'm done for most parts :) 2021-12-21 01:33:08 +07:00
Hoang Nguyen 8b9d49f07f
Lots of changes
nvim: ditto headlines.nvim, add jinja ft support
roles: add 'scripts' and 'mpd' roles
2021-12-14 23:55:21 +07:00
Hoang Nguyen 33d98be5f6
roles: add dunst/mako; nvim: restructure keymap, remove eft.vim 2021-12-04 20:53:02 +07:00
Hoang Nguyen ba851f8dbe
roles: add tmux + git; nvim: more mappings for telescope-symbols.nvim 2021-11-17 22:54:12 +07:00
Hoang Nguyen c892d5657a
nvim: update config for ogrmode.nvim 2021-11-09 15:03:10 +07:00
Hoang Nguyen 571c4c91ac
roles: add amfora, bash, foot 2021-11-07 15:50:19 +07:00
Hoang Nguyen 0c8cb81326
nvim/plugins: add nvim-gps 2021-11-07 14:18:49 +07:00