0349769225
fix(script/bootstrap): Fix some error
...
* Missing ;; in case statement
* Should only configure doas if doas is installed
* Refactor is_package_exists function to use return
2024-07-20 18:51:50 +07:00
6f569742b5
refactor(zsh): Move bun completion to include/completion
2024-07-20 11:47:59 +07:00
59611f7e58
fix(script/bootstrap): Skip paru preview
2024-07-20 11:25:07 +07:00
b13f4b707f
chore(bootstrap-pkgs): Add spicetify
2024-07-20 11:24:08 +07:00
9abc45b0ca
fix(script/bootstrap): No confirmation flag for APT
2024-07-20 11:14:50 +07:00
2181f35090
chore(script/bootstrap): Handle darwin
2024-07-20 11:08:22 +07:00
d49219e852
chore: Don't supress git clone logs
2024-07-20 10:37:27 +07:00
a88961a3ed
refactor(zsh/zshrc): Automate plugin install
...
Why not just use OMZ? It slows down my syste quite a lotm when I used it
a few years ago. Besides, you don't really need OMZ in the first place.
2024-07-20 10:10:46 +07:00
0d5e65b823
refactor(script/zsh-xdg-setup): Print the config before writing the file
...
Also make it more posix-compliant just in case
2024-07-20 09:19:59 +07:00
2139e16219
fix(script/bootstrap): Skip not yet supported package manager
2024-07-20 09:08:00 +07:00
a843e5236a
refactor(script/bootstrap): Allow pre-bootstrap
to be ran
...
automatically by `bootstrap`
This will simplify the process of installing the dotfiles while still
giving users control
2024-07-20 09:00:06 +07:00
c212f09fe3
fix(script/bootstrap): Script didn't install all packages
2024-07-20 05:39:38 +07:00
1abd970524
refactor(script/bootstrap): Split package list
2024-07-20 05:33:14 +07:00
94e8b20ac6
refactor(script/bootstrap): Use doas by default if it's installed
2024-07-19 20:07:29 +07:00
29bc84fabc
refactor(script/user-chrome-setup): Install userChrome.css to multiple
...
profiles
2024-07-19 19:55:43 +07:00
783d2bbd4c
chore(script/bootstrap): Add some packages
2024-07-19 19:47:59 +07:00
7e0770387b
refactor(script/bootstrap): Checks and stuff
...
* Use case to check package manager for easier control
* Finally use `install_aur_packages` function
* Add a check to make sure it won't run on distro other than arch
* Add a check to make sure AUR helper is already installed
* Add extra check to make sure package is not empty
2024-07-19 19:07:32 +07:00
28b29c3487
chore(nix): Use nix to install yt-dlp
2024-07-19 10:52:09 +07:00
905d7e2309
chore(nix): Clean up unused code
2024-07-16 22:19:44 +07:00
a0dd718b4e
chore(nix): Migrate inkscape from homebrew to nix
...
Also add overlay to ignore pytest for some python packages, because
python is pain
2024-07-16 16:29:32 +07:00
6088674857
style(zsh): Different colour for different vi mode
2024-07-16 11:44:55 +07:00
d8750d6712
chore(nix): Only enable browserpass for chrome (arc) and brave
2024-07-16 11:34:23 +07:00
ecaf288606
refactor(nix): Use nix to setup browserpass
2024-07-16 11:30:13 +07:00
0a140214b7
chore(nix): Install IINA through nix
2024-07-16 11:16:16 +07:00
337bd0a6a5
fix(nix): Symlink the apps, not the folder
2024-07-16 11:11:51 +07:00
a56d56788d
chore(nix): Add rclone and move pinentry_mac to optional list
2024-07-16 10:34:56 +07:00
24c6d78f8f
refactor(nix): Make duti only install on macOS
2024-07-16 10:27:57 +07:00
b27596dac3
chore: Add editorconfig
2024-07-16 10:25:39 +07:00
68527e4a8b
fix(zsh): git integration error
2024-07-16 08:50:41 +07:00
0fae8aa1e3
chore(nix): Add duti
2024-07-15 15:56:47 +07:00
9dc8847f4f
refactor(zsh): Use case
2024-07-15 15:42:31 +07:00
7b2924075f
refactor(zsh): Simplify code
2024-07-15 12:15:36 +07:00
93b32a8f43
fix(zsh): Don't detect empty untracked dir
2024-07-15 08:35:22 +07:00
2ff100e3bf
style: Fix inconsistent tab height when it being hovered
2024-07-14 09:08:26 +07:00
8a105fae1d
refactor: Apparently using case switch is POSIX
2024-07-13 10:00:02 +07:00
1002f2806d
refactor(nix): Remove nixpkgs.hostPlatform
...
Should already covered by `inherit system`
2024-07-13 09:40:00 +07:00
2ef4e6f407
refactor(nix): Use home-manager
...
Looks like nix-darwin is planning to drop per-user launchd (or perhaps
per-user feature entirely).
2024-07-13 09:09:20 +07:00
dff532c060
chore(nix): Disable auto install macOS update
2024-07-13 08:36:16 +07:00
c409f194eb
refactor(nix): Let nix install the CapsEscSwap LaunchAgent
...
It is a macOS-only thing after all
2024-07-13 08:27:50 +07:00
9fa1b766ee
chore: Clean up unused config
2024-07-11 21:53:51 +07:00
86459e0b0e
refactor(nix): Use withPackages to install python packages
2024-07-11 20:45:36 +07:00
aabd58ea3c
chore: Some comments
2024-07-11 19:55:30 +07:00
b90bdbcc30
refactor(zsh): Env variable to check if we're in macOS
2024-07-11 19:50:37 +07:00
6f5ad0588d
refactor(nix): No need to override python
...
Not sure why and how, but issue with `/usr/bin/env python3` just fixed
itself after migrating to flake.nix... I might've messed up nix setup
the first time
2024-07-11 13:44:32 +07:00
2155ef271d
chore(deps): Update python to 3.12
2024-07-11 13:37:00 +07:00
ea122dc39a
fix(zsh): Make $ZDOTDIR if it doesn't exists
...
Try to prevent "No such file or directory" error
2024-07-11 13:16:42 +07:00
bf8657c239
chore(zsh): Re-enable compinit
2024-07-11 13:12:05 +07:00
33e4513d91
fix(zsh): Backspace not working properly
...
REF: https://github.com/sorin-ionescu/prezto/issues/61#issue-3786521
2024-07-11 13:09:47 +07:00
2faf9059b8
refactor: Split nix config
2024-07-11 11:51:23 +07:00
37b30544c1
fix: Some nix stuff
2024-07-11 11:11:43 +07:00