Skip to content

Commit dcf8ba8

Browse files
committed
init
0 parents  commit dcf8ba8

File tree

274 files changed

+46506
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

274 files changed

+46506
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__pycache__/

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "configs/.config/nvim"]
2+
path = configs/.config/nvim
3+
url = https://github.com/Groveer/nvchad-starter.git

LICENSE

Lines changed: 674 additions & 0 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 154 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,154 @@
1+
# Personal Configurations
2+
<!-- <a id="top"></a> -->
3+
English | [中文](README.zh.md)
4+
5+
## Themes
6+
<div align="center">
7+
<img src="https://raw.githubusercontent.com/prasanthrangan/hyprdots/main/Source/assets/hyprdots_banner.png">
8+
9+
<br><br>
10+
11+
<img style="margin: 0 5px 10px 0; width: 48%;" src="https://raw.githubusercontent.com/prasanthrangan/hyprdots/main/Source/assets/showcase_1.png" />
12+
<img style="margin: 0 0 10px 5px; width: 48%;" src="https://raw.githubusercontent.com/prasanthrangan/hyprdots/main/Source/assets/showcase_2.png" />
13+
<img style="margin: 0 5px 10px 0; width: 48%;" src="https://raw.githubusercontent.com/prasanthrangan/hyprdots/main/Source/assets/showcase_3.png" />
14+
<img style="margin: 0 0 10px 5px; width: 48%;" src="https://raw.githubusercontent.com/prasanthrangan/hyprdots/main/Source/assets/showcase_4.png" />
15+
</div>
16+
17+
<div align="right">
18+
<br>
19+
<a href="#top"><kbd> <br> 🡅 <br> </kbd></a>
20+
</div>
21+
22+
**You can have the same user experience as me in Archlinux**
23+
24+
## Desktop Environment(Native Wayland)
25+
26+
**Install packages in Archlinux (need aur):**
27+
28+
1. shell
29+
30+
```bash
31+
yay -S eza fish rsync bat starship htop
32+
```
33+
34+
2. fonts
35+
36+
```
37+
yay -S ttf-firacode-nerd ttf-maple-sc-nerd
38+
```
39+
40+
3. utils
41+
42+
```bash
43+
yay -S qt5-wayland qt6-wayland
44+
```
45+
46+
4. hypr
47+
48+
```bash
49+
yay -S dunst libbotify hyprland rofi-lbonn-wayland-git waybar swww swaylock-effects-git wlogout grimblast-git cliphist pipewire-pulse swappy hyde-cli-git wf-recorder
50+
```
51+
52+
5. dependency
53+
54+
```bash
55+
yay -S polkit-gnome xdg-desktop-portal-hyprland python-pyamdgpuinfo parallel imagemagick qt5-imageformats brightnessctl pavucontrol pamixer pacman-contrib
56+
```
57+
58+
6. theme
59+
60+
```bash
61+
yay -S nwg-look kvantum qt5ct qt6ct
62+
```
63+
64+
7. apps
65+
66+
```bash
67+
yay -S google-chrome kitty fastfetch neovim fcitx5
68+
```
69+
70+
8. others
71+
72+
```bash
73+
pip install hyprshade
74+
```
75+
76+
## Init
77+
78+
1. Install all packages
79+
2. Run `./init.sh`, it will initialize env and patch sources.
80+
3. If there is a conflicting file, delete it manually. run `./config.sh install`
81+
82+
## Run
83+
84+
run `startde w` in tty.
85+
86+
## Update
87+
88+
```bash
89+
./config.sh uninstall
90+
git pull --rebase
91+
./config.sh install
92+
```
93+
94+
## Uninstall
95+
96+
It is easy to rm the symbol, just run `./config.sh uninstall`
97+
98+
## Editor/IDE (Neovim)
99+
100+
### Developer Environment (Neovim config dependeies)
101+
102+
Install packages:
103+
104+
```bash
105+
yay -S python fnm
106+
```
107+
108+
```bash
109+
python -m venv ~/.python_venv
110+
```
111+
112+
```bash
113+
fnm install <version/--latest>
114+
fnm default <version>
115+
```
116+
117+
```bash
118+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
119+
```
120+
121+
Restart terminal for apply environment.
122+
123+
```bash
124+
pip install pynvim
125+
```
126+
127+
```bash
128+
npm i -g neovim
129+
```
130+
131+
`pip` and `npm` are just the basic environment configuration of neovim, it is highly recommended to use the `:checkhealth` command to see which commands are not installed after running the configuration of lua, you can continue to use the corresponding package management for installation!
132+
133+
### install neovim config
134+
135+
default use git ssh, if you use http, modify `.gitmodules`, set `url`:
136+
137+
```
138+
https://github.com/groveer/nvchad-starter.git
139+
```
140+
141+
Update git submodule:
142+
143+
```bash
144+
git submodule update --init
145+
```
146+
147+
<div align="right">
148+
<br>
149+
<a href="#top"><kbd> <br> 🡅 <br> </kbd></a>
150+
</div>
151+
152+
## Thanks to
153+
154+
1. [hyprdots](https://github.com/prasanthrangan/hyprdots): themes from here!

README.zh.md

Lines changed: 159 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,159 @@
1+
# 个人配置
2+
<!-- <a id="top"></a> -->
3+
[English](README.md) | 中文
4+
5+
## Themes
6+
7+
<div align="center">
8+
<img src="https://raw.githubusercontent.com/prasanthrangan/hyprdots/main/Source/assets/hyprdots_banner.png">
9+
10+
<br><br>
11+
12+
<img style="margin: 0 5px 10px 0; width: 48%;" src="https://raw.githubusercontent.com/prasanthrangan/hyprdots/main/Source/assets/showcase_1.png" />
13+
<img style="margin: 0 0 10px 5px; width: 48%;" src="https://raw.githubusercontent.com/prasanthrangan/hyprdots/main/Source/assets/showcase_2.png" />
14+
<img style="margin: 0 5px 10px 0; width: 48%;" src="https://raw.githubusercontent.com/prasanthrangan/hyprdots/main/Source/assets/showcase_3.png" />
15+
<img style="margin: 0 0 10px 5px; width: 48%;" src="https://raw.githubusercontent.com/prasanthrangan/hyprdots/main/Source/assets/showcase_4.png" />
16+
</div>
17+
18+
<div align="right">
19+
<br>
20+
<a href="#top"><kbd> <br> 🡅 <br> </kbd></a>
21+
</div>
22+
23+
**在 Archlinux 上可以拥有与本人一致的体验**
24+
25+
## Desktop Environment(Native Wayland)
26+
27+
**在 Archlinux 上安装包(需要 aur):**
28+
29+
1. shell
30+
31+
```bash
32+
yay -S eza fish rsync bat starship htop
33+
```
34+
35+
2. fonts
36+
37+
```
38+
yay -S ttf-firacode-nerd ttf-maple-sc-nerd
39+
```
40+
41+
3. utils
42+
43+
```bash
44+
yay -S qt5-wayland qt6-wayland
45+
```
46+
47+
4. hypr
48+
49+
```bash
50+
yay -S dunst libbotify hyprland rofi-lbonn-wayland-git waybar swww swaylock-effects-git wlogout grimblast-git cliphist pipewire-pulse swappy hyde-cli-git wf-recorder
51+
```
52+
53+
5. dependency
54+
55+
```bash
56+
yay -S polkit-gnome xdg-desktop-portal-hyprland python-pyamdgpuinfo parallel imagemagick qt5-imageformats brightnessctl pavucontrol pamixer pacman-contrib
57+
```
58+
59+
6. theme
60+
61+
```bash
62+
yay -S nwg-look kvantum qt5ct qt6ct
63+
```
64+
65+
7. apps
66+
67+
```bash
68+
yay -S google-chrome kitty fastfetch neovim fcitx5
69+
```
70+
71+
8. others
72+
73+
```bash
74+
pip install hyprshade
75+
```
76+
77+
## 初始化
78+
79+
1. 安装上面所有的包。
80+
2. 运行`./init.sh`脚本,它会初始化环境变量并且释放资源。
81+
3. 如果在运行过程中发现在家目录有冲突文件,请手动删除它,然后运行:`./config.sh install`
82+
83+
## 运行
84+
85+
在 tty 中执行`startde w`
86+
87+
## 更新
88+
89+
```bash
90+
./config.sh uninstall
91+
git pull --rebase
92+
./config.sh install
93+
```
94+
95+
## 卸载
96+
97+
非常简单的删除初始化过程中创建的符号,只需要运行:`./config.sh uninstall`
98+
99+
## 编辑器 (Neovim)
100+
101+
### 开发环境 (Neovim 配置依赖)
102+
103+
安装包:
104+
105+
```bash
106+
yay -S python fnm
107+
```
108+
109+
```bash
110+
python -m venv ~/.python_venv
111+
```
112+
113+
```bash
114+
fnm install <version/--latest> --node-dist-mirror=https://npmmirror.com/mirrors/node
115+
fnm default <version>
116+
```
117+
118+
```bash
119+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | RUSTUP_DIST_SERVER=https://mirrors.tuna.tsinghua.edu.cn/rustup sh
120+
```
121+
122+
重启终端以应用的环境变量,使用`./stow.sh`脚本会自动使用国内源:
123+
124+
```bash
125+
./stow.sh
126+
```
127+
128+
```bash
129+
pip install pynvim
130+
```
131+
132+
```bash
133+
npm i -g neovim
134+
```
135+
136+
`pip``npm`只是 neovim 基本的环境配置,强烈建议跑完 lua 的配置后使用`:checkhealth`命令查看哪些命令未安装,可继续使用相应的包管理进行安装!
137+
138+
### 安装 neovim 配置
139+
140+
默认使用 ssh 协议,如果使用 http 协议,需要修改`.gitmodules`文件,设置`url`为:
141+
142+
```
143+
https://github.com/groveer/nvchad-starter.git
144+
```
145+
146+
更新 git 子模块:
147+
148+
```bash
149+
git submodule update --init
150+
```
151+
152+
<div align="right">
153+
<br>
154+
<a href="#top"><kbd> <br> 🡅 <br> </kbd></a>
155+
</div>
156+
157+
## Thanks to
158+
159+
1. [hyprdots](https://github.com/prasanthrangan/hyprdots):主题来源于这里!

0 commit comments

Comments
 (0)