Commit Graph

1030 Commits (ad3afe6c90a67da0dd37acd09eaff204977a9539)

Author SHA1 Message Date
sudo pacman -Syu 31308c6ead feat: do not distinguish errors for simple case
Failed to read file can result in error not existt
2021-05-05 16:39:31 +07:00
sudo pacman -Syu a08fd5bf8e refactor: split config real and config demo 2021-05-05 16:37:38 +07:00
sudo pacman -Syu f173917f48 chore: correct go build in github action 2021-05-05 16:33:31 +07:00
sudo pacman -Syu 36de227c89 refactor: remove unused struct 2021-05-05 16:32:42 +07:00
sudo pacman -Syu 3d470d1c43 refactor: move main to cmd 2021-05-05 16:31:00 +07:00
sudo pacman -Syu 9ccef3f67f chore: switch pkg to internal 2021-05-05 16:30:01 +07:00
sudo pacman -Syu 066f2631dd
chore: add building macos on github action (#11)
Co-authored-by: Tran Hau <ngtranhau@gmail.com>
2021-04-23 10:57:12 +07:00
Tran Hau 870bd54fac chore(readme): guide compare 2021-04-23 03:25:24 +00:00
sudo pacman -Syu 3434986e67
feat: add compare command (#10)
* feat: add compare commands

* feat: implete compare config

* chore(config): correct config store

Co-authored-by: Tran Hau <ngtranhau@gmail.com>
2021-04-23 10:21:48 +07:00
sudo pacman -Syu cd085a4b54
feat: dry run for install, update, clean (#9)
* feat: implement dry run for config install, update

* chore: better wording

* feat: dry run for clean unused dirs

Co-authored-by: Tran Hau <ngtranhau@gmail.com>
2021-04-22 17:54:17 +07:00
sudo pacman -Syu d655736596
feat: treat files, dirs in config as the same (#8)
* feat: use paths for bpth files and dirs

* refactor: rename file to path when config install/update

Co-authored-by: Tran Hau <ngtranhau@gmail.com>
2021-04-22 17:36:19 +07:00
sudo pacman -Syu 992bba6640
refactor: move completely cli outside golang (#7)
Co-authored-by: Tran Hau <ngtranhau@gmail.com>
2021-04-22 17:07:19 +07:00
sudo pacman -Syu 4fa12066d0
feat: add --dry-run flag (#6)
* feat: add --dry-run flag to all commands

* feat: update copy-go with single copy.Replace

* refactor: make Config interface

* chore(config): cleanup unused

* feat: add config demo (1/?)

* chore: better naming for cfg

* refactor: move to pkg config

* refactor: use data for store configs

* refactor: split real and demo config

* feat: make use of dry run flag

Co-authored-by: Tran Hau <ngtranhau@gmail.com>
2021-04-22 16:36:11 +07:00
Tran Hau ecafc5b74d chore(config): use tag vim-go release 2021-04-19 08:22:07 +00:00
Tran Hau 129f69f8e2 chore(config): ignore vim-go version 2021-04-16 23:03:26 +07:00
sudo pacman -Syu 1b1e813024
feat: add --verbose flag (#5)
* feat: add --verbose flag

* refactor: app run default RunHelp

* feat: add flags to action

* feat: add log verbose for all commands

Co-authored-by: Tran Hau <ngtranhau@gmail.com>
2021-04-15 14:43:51 +07:00
Tran Hau 3ac06c6082 fix: correct aliases for commands 2021-04-14 10:06:04 +00:00
Tran Hau cbd1338f3e refactor: move aliases to pre-define var 2021-04-14 04:53:21 +00:00
Tran Hau febaa537ee chore(changelog): generate v0.6.0 2021-04-14 04:38:54 +00:00
sudo pacman -Syu 621461233f
chore: only run github action on main or pull request (#4)
Co-authored-by: Tran Hau <ngtranhau@gmail.com>
2021-04-14 11:36:36 +07:00
sudo pacman -Syu ef390ca1a4
feat: use my own color pkg to wrap fatih/color (#3)
* feat: use my own color pkg to wrap fatih color

* build: run go mod tidy

Co-authored-by: Tran Hau <ngtranhau@gmail.com>
2021-04-14 11:32:47 +07:00
sudo pacman -Syu 73ac768289
feat: prevent define os running at runtime (#2)
Co-authored-by: Tran Hau <ngtranhau@gmail.com>
2021-04-14 11:20:24 +07:00
Tran Hau 4f41315db6 chore(config): split vim and neovim config, keep it the same for now 2021-04-14 03:22:41 +00:00
Tran Hau dca5bf145c chore(confg): add vimrc 2021-04-11 01:18:22 +07:00
Hau Nguyen 44aa80eea7 build: update go.mod 2021-04-08 21:02:24 +07:00
Hau Nguyen a9d91218ba chore: update latest go in github action 2021-04-08 20:58:04 +07:00
Tran Hau b8b7e9823d chore(config): i3status onedark color 2021-04-05 23:50:54 +07:00
Tran Hau 06fe19a8db chore(config): use lightline instead of airline 2021-04-05 23:44:01 +07:00
Tran Hau ba5ef67d7a chore(config): add fcitx 2021-04-05 23:30:54 +07:00
Tran Hau c40cbc3983 chore(config): add redshift 2021-04-05 23:03:24 +07:00
Tran Hau 162dc39627 chore(config): aadjust brightness in i3 2021-04-05 21:01:22 +07:00
Tran Hau b0e01055fe chore(config): i3lock with black color 2021-04-05 00:42:54 +07:00
Tran Hau 0125fddec2 chore(config): add feh and update rofi 2021-04-05 00:33:01 +07:00
Tran Hau 5d010eab23 chore(config): simplify i3 2021-04-05 00:12:15 +07:00
Tran Hau 399e639bac chore(config): add volume i3status 2021-04-04 16:39:21 +07:00
Tran Hau fec9b2f1d6 chore(config): better i3status 2021-04-04 14:21:22 +07:00
Tran Hau 0381563b82 chore(config): add xinit 2021-04-03 23:29:15 +07:00
Tran Hau 0be237bf6a chore(config): use cascadia code to look good on my bad laptop 2021-04-03 23:22:29 +07:00
Tran Hau 9c6922b758 chore(config): add rofi config 2021-04-02 16:52:53 +07:00
Tran Hau 78fbb6094d chore(config): add i3status config 2021-04-02 16:27:51 +07:00
Tran Hau 903ccaea70 chore(config): add i3 config 2021-04-02 16:25:55 +07:00
Tran Hau d750b4efbd chore(config): use TwoDark for bat 2021-04-02 16:16:28 +07:00
Tran Hau 91dd93ad53 chore(config): remove neovim solarized 2021-04-02 16:14:59 +07:00
Tran Hau b45c74e579 chore(config): add one-dark color for alacritty 2021-04-02 16:12:23 +07:00
Tran Hau ccdcdfdaba chore(config): add alacritty config 2021-04-02 15:52:10 +07:00
Tran Hau 384aedcad9 chore(config): stricter go format 2021-03-22 07:37:00 +00:00
Tran Hau 55d2186013 chore(config): use airline for neovim 2021-03-22 03:49:09 +00:00
Tran Hau e5facc3d03 chore(config): disable cursor style in neovim
Remember to use " for comments and ' for string in neovim
2021-03-22 03:45:43 +00:00
Tran Hau ce64039433 chore(config): switch neovim to onedark 2021-03-22 03:37:08 +00:00
Tran Hau 7b7442f4af chore(config): add onedark to vim 2021-03-22 03:17:43 +00:00