Compare commits
13 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
eba81d9d56 | ||
|
|
ae9e09ec1e | ||
|
|
dd46377610 | ||
|
|
23303fd746 | ||
|
|
d4a4ddf595 | ||
|
|
761353954e | ||
|
|
7e7071cb8f | ||
|
|
62e409c361 | ||
|
|
5cb0511f45 | ||
|
|
c2cc261e66 | ||
|
|
d6dccb032f | ||
|
|
66d565bd41 | ||
|
|
90c0c86ccf |
BIN
SimpRead/simpread.AppImage
Executable file
BIN
SimpRead/simpread.AppImage
Executable file
Binary file not shown.
1
SimpRead/simpread_config.json
Normal file
1
SimpRead/simpread_config.json
Normal file
File diff suppressed because one or more lines are too long
@@ -26,12 +26,12 @@ dotfiles:
|
||||
d_swaylock:
|
||||
src: config/swaylock
|
||||
dst: ~/.config/swaylock
|
||||
f_software:
|
||||
src: software
|
||||
dst: ~/.software
|
||||
d_mako:
|
||||
src: config/mako
|
||||
dst: ~/.config/mako
|
||||
f_software.md:
|
||||
src: software.md
|
||||
dst: ~/software.md
|
||||
profiles:
|
||||
lostecho-nuc11pahi5:
|
||||
dotfiles:
|
||||
@@ -41,5 +41,5 @@ profiles:
|
||||
- d_wofi
|
||||
- d_kitty
|
||||
- d_swaylock
|
||||
- f_software
|
||||
- d_mako
|
||||
- f_software.md
|
||||
|
||||
BIN
dotfiles/config/hypr/endeavouros-wallpaper.png
Normal file
BIN
dotfiles/config/hypr/endeavouros-wallpaper.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 12 MiB |
@@ -13,8 +13,9 @@ OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS.
|
||||
# autogenerated = 1 # remove this line to remove the warning
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||
monitor = , preferred, auto, auto
|
||||
monitor = DP-2, 2560x1440@75, auto, 1
|
||||
monitor = , preferred, auto, auto
|
||||
monitor = DP-2, 2560x1440@75, 0x0, 1
|
||||
monitor = DP-3, 2256x1504@60, 0x1440, 1
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||
|
||||
@@ -22,17 +23,19 @@ monitor = DP-2, 2560x1440@75, auto, 1
|
||||
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP # Wayland magic (screen sharing etc.)
|
||||
exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP # More wayland magic (screen sharing etc.)
|
||||
|
||||
exec-once = ~/.config/hypr/scripts/xdg-portal-hyprland
|
||||
exec-once = ~/.config/hypr/scripts/bgaction
|
||||
exec-once = ~/.local/share/hyprload/hyprload.sh
|
||||
exec-once = ~/.config/hypr/scripts/xdg-portal-hyprland
|
||||
exec-once = /usr/lib/polkit-kde-authentication-agent-1
|
||||
|
||||
exec-once = fcitx5 --replace -d
|
||||
exec-once = udiskie &
|
||||
exec-once = waybar &
|
||||
exec-once = v2raya --lite &
|
||||
exec-once = mako
|
||||
exec-once = blueman-applet
|
||||
exec-once = nm-applet --indicator
|
||||
exec-once = gtk-launch simpread
|
||||
|
||||
|
||||
# Source a file (multi-file configs)
|
||||
@@ -43,11 +46,13 @@ env = XCURSOR_SIZE,24
|
||||
|
||||
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
|
||||
input {
|
||||
|
||||
kb_layout = us
|
||||
kb_variant =
|
||||
kb_model =
|
||||
kb_options =
|
||||
kb_options = ctrl:nocaps
|
||||
kb_rules =
|
||||
numlock_by_default = false
|
||||
|
||||
follow_mouse = 1
|
||||
|
||||
@@ -72,6 +77,10 @@ general {
|
||||
col.inactive_border = rgba(595959aa)
|
||||
|
||||
layout = dwindle
|
||||
cursor_inactive_timeout = 10
|
||||
resize_on_border = true
|
||||
extend_border_grab_area = 15
|
||||
hover_icon_on_border = true
|
||||
}
|
||||
|
||||
misc {
|
||||
@@ -80,7 +89,12 @@ misc {
|
||||
focus_on_activate = yes
|
||||
animate_manual_resizes = yes
|
||||
animate_mouse_windowdragging = no
|
||||
suppress_portal_warnings = yes
|
||||
#suppress_portal_warnings = yes
|
||||
force_hypr_chan = yes
|
||||
mouse_move_enables_dpms = yes
|
||||
key_press_enables_dpms = yes
|
||||
animate_manual_resizes = yes
|
||||
animate_mouse_windowdragging = yes
|
||||
}
|
||||
|
||||
|
||||
@@ -92,15 +106,20 @@ decoration {
|
||||
fullscreen_opacity=1.0
|
||||
|
||||
rounding = 5
|
||||
blur = yes
|
||||
blur_size = 5
|
||||
blur_passes = 2
|
||||
blur_new_optimizations = on
|
||||
blur {
|
||||
enabled = yes
|
||||
size = 5
|
||||
passes = 2
|
||||
new_optimizations = on
|
||||
}
|
||||
|
||||
drop_shadow = yes
|
||||
shadow_range = 4
|
||||
shadow_render_power = 3
|
||||
shadow_ignore_window = true
|
||||
col.shadow = rgba(1a1a1aee)
|
||||
dim_inactive = true
|
||||
dim_strength = 0.05
|
||||
}
|
||||
|
||||
animations {
|
||||
@@ -188,8 +207,11 @@ windowrulev2 = animation slide, class:^(wofi)$
|
||||
windowrulev2 = animation popin, class:^(kitty)$, title:^(update-sys)$
|
||||
#windowrulev2 = move 100%-433 53, class:^(wofi)$, title:^(clippick)$
|
||||
windowrulev2 = tile, title:^(微信读书)$
|
||||
windowrulev2 = tile, title:^(Cubox)$
|
||||
windowrulev2 = tile, title:^(notion)$
|
||||
windowrulev2 = tile, title:^(flomo)$
|
||||
windowrulev2 = tile, title:^(少数派)$
|
||||
windowrulev2 = tile, title:^(freeCodeCamp)$
|
||||
windowrulev2 = tile, title:^(bandu_flutter)$
|
||||
windowrulev2 = float, class:^(org.kde.polkit-kde-authentication-agent-1)$
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||
@@ -201,8 +223,11 @@ bind = $mainMod, A, exec, anytype
|
||||
bind = $mainMod, E, exec, thunar
|
||||
bind = $mainMod SHIFT, E, exec, dolphin
|
||||
bind = $mainMod CTRL, E, exec, kitty ranger
|
||||
bind = $mainMod, G, exec, google-chrome-stable
|
||||
bind = $mainMod SHIFT, F, exec, microsoft-edge-stable --profile-directory=Default --app-id=mjnbhimggobpdngjimoodpenobognheo --app-url=https://v.flomoapp.com/
|
||||
bind = $mainMod CTRL, F, exec, microsoft-edge-stable --profile-directory=Default --app-id=idcicjmfdnncfmmgoogecnlfbkglgcak --app-url=https://www.freecodecamp.org/
|
||||
bind = $mainMod, G, exec, microsoft-edge-stable
|
||||
bind = $mainMod SHIFT, G, exec, github-desktop
|
||||
bind = $mainMod CTRL, G, exec, google-chrome-stable
|
||||
bind = $mainMod, I, exec, cd ~/.loacl/share/applications; gtk-launch jetbrains-idea.desktop
|
||||
bind = $mainMod, J, exec, pkill jupyter-lab; jupyter-lab
|
||||
bind = $mainMod SHIFT, J, exec, pkill jupyter-lab; cd ~/PycharmProjects/the-craft-of-selfteaching; jupyter-lab
|
||||
@@ -211,7 +236,8 @@ bind = $mainMod, L, exec, logseq
|
||||
bind = $mainMod SHIFT, L, exec, swaylock
|
||||
bind = $mainMod, M, exec, wlogout --protocol layer-shell
|
||||
bind = $mainMod CTRL, M, exec, motrix
|
||||
bind = $mainMod, N, exec, notion-app-enhanced
|
||||
bind = $mainMod, N, exec, microsoft-edge-stable --profile-directory=Default --app-id=bicgkabnllfcnajoaobgkmpjchldbdco --app-url=https://www.notion.so/
|
||||
#bind = $mainMod, N, exec, notion-app-enhanced
|
||||
bind = $mainMod SHIFT, N, exec, kitty nvim
|
||||
bind = $mainMod, O, exec, obsidian
|
||||
bind = $mainMod SHIFT, O, exec, okular
|
||||
@@ -221,18 +247,20 @@ bind = $mainMod, P, exec, cd ~/.loacl/share/applications; gtk-launch j
|
||||
bind = $mainMod SHIFT, P, exec, pavucontrol
|
||||
bind = $mainMod, R, exec, pkill wofi; wofi --show drun
|
||||
bind = $mainMod, S, exec, spotify
|
||||
bind = $mainMod SHIFT, S, exec, microsoft-edge-stable --profile-directory=Default --app-id=idhlnkbfpmbggpopjbaemghibaoobglb "--app-url=https://pwa.sspai.com/?pwa=1"
|
||||
bind = $mainMod, T, exec, typora
|
||||
bind = $mainMod, V, exec, code
|
||||
bind = $mainMod SHIFT, V, exec, vlc
|
||||
bind = $mainMod, W, exec, google-chrome-stable --profile-directory=Default --app-id=magamgmomalmppfcmkgppgboggkfiphd
|
||||
bind = $mainMod, W, exec, microsoft-edge-stable --profile-directory=Default --app-id=magamgmomalmppfcmkgppgboggkfiphd --app-url=https://weread.qq.com/
|
||||
bind = $mainMod SHIFT, W, exec, wechat-uos
|
||||
bind = $mainMod, X, exec, microsoft-edge-stable --profile-directory=Default --app-id=jihkolckjdlcnmbfapjpmheicbncfalm --app-url=https://webapp.songy.info/
|
||||
|
||||
bind = $mainMod, Space, fullscreen,
|
||||
bind = $mainMod, C, killactive,
|
||||
bind = $mainMod, F, togglefloating,
|
||||
bind = $mainMod CTRL, P, pseudo,
|
||||
bind = $mainMod SHIFT, M, exit,
|
||||
bind = $mainMod SHIFT, S, togglesplit,
|
||||
bind = $mainMod SHIFT, T, togglesplit,
|
||||
|
||||
# Move focus with mainMod + arrow keys
|
||||
bind = $mainMod, left, movefocus, l
|
||||
@@ -280,11 +308,11 @@ binde = , XF86MonBrightnessUp, exec, ddcutil setvcp 10 + 10
|
||||
binde = , XF86MonBrightnessDown, exec, ddcutil setvcp 10 - 10
|
||||
|
||||
# Sound control
|
||||
binde = , F9, exec, pactl set-sink-volume @DEFAULT_SINK@ +1%
|
||||
binde = , F8, exec, pactl set-sink-volume @DEFAULT_SINK@ -1%
|
||||
binde = , F9, exec, pactl set-sink-volume @DEFAULT_SINK@ +5%
|
||||
binde = , F8, exec, pactl set-sink-volume @DEFAULT_SINK@ -5%
|
||||
binde = , F7, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle
|
||||
binde = , XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +1%
|
||||
binde = , XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -1%
|
||||
binde = , XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +5%
|
||||
binde = , XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -5%
|
||||
binde = , XF86AudioMute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle
|
||||
|
||||
# Player control
|
||||
|
||||
@@ -13,4 +13,5 @@ THEMEIS=$(readlink -f ~/.config/waybar/style.css | cut -d '-' -f2)
|
||||
# swww img -o DP-2 ~/.config/hypr/wallpaper.jpg
|
||||
#fi
|
||||
|
||||
swww img -o DP-2 ~/.config/hypr/wallpaper-dark.jpg
|
||||
swww img -o DP-2 ~/.config/hypr/endeavouros-wallpaper.png
|
||||
swww img -o DP-1 ~/.config/hypr/endeavouros-wallpaper.png
|
||||
|
||||
@@ -32,9 +32,9 @@
|
||||
//"pulseaudio_pamixer",
|
||||
//"pulseaudio_pamixer#microphone",
|
||||
//"custom/keyboard-layout",
|
||||
"backlight#icon",
|
||||
"backlight#value",
|
||||
"custom/updates",
|
||||
//"backlight#icon",
|
||||
//"backlight#value",
|
||||
//"custom/updates",
|
||||
"clock",
|
||||
"tray",
|
||||
//"custom/power",
|
||||
@@ -75,9 +75,9 @@
|
||||
//"on-click": "playerctl previous",
|
||||
"on-click-right": "playerctl next",
|
||||
"format-icons": {
|
||||
"Playing": "<span foreground='#E5B9C6'> </span>",
|
||||
"Paused": "<span foreground='#928374'> </span>"
|
||||
},
|
||||
"Playing": "<span foreground='#E5B9C6'> </span>",
|
||||
"Paused": "<span foreground='#928374'> </span>"
|
||||
}
|
||||
},
|
||||
|
||||
"custom/playerlabel": {
|
||||
@@ -90,9 +90,9 @@
|
||||
//"on-click": "playerctl previous",
|
||||
"on-click-right": "playerctl next",
|
||||
"format-icons": {
|
||||
"Playing": "<span foreground='#E5B9C6'> </span>",
|
||||
"Paused": "<span foreground='#928374'> </span>"
|
||||
},
|
||||
"Playing": "<span foreground='#E5B9C6'> </span>",
|
||||
"Paused": "<span foreground='#928374'> </span>"
|
||||
}
|
||||
},
|
||||
|
||||
// --------------------
|
||||
@@ -193,7 +193,7 @@
|
||||
"critical": 15
|
||||
},
|
||||
"format": "{capacity}% {icon}",
|
||||
"format-charging": "{capacity}% ",
|
||||
"format-charging": "{capacity}% ",
|
||||
"format-plugged": "{capacity}% ",
|
||||
// "format-good": "", // An empty format will hide the module
|
||||
// "format-full": "",
|
||||
@@ -208,8 +208,8 @@
|
||||
"scroll-step": 1, // %, can be a float
|
||||
"format": "{icon} {volume}%",
|
||||
"format-bluetooth": "{icon} {volume}% {format_source}",
|
||||
"format-bluetooth-muted": " {icon} {format_source}",
|
||||
"format-muted": " ",
|
||||
"format-bluetooth-muted": " {icon} {format_source}",
|
||||
"format-muted": " ",
|
||||
"format-source": "{volume}% ",
|
||||
"format-source-muted": "",
|
||||
"format-icons": {
|
||||
@@ -223,7 +223,7 @@
|
||||
},
|
||||
"on-click": "pavucontrol",
|
||||
"on-scroll-up": "pactl set-sink-volume @DEFAULT_SINK@ +1%",
|
||||
"on-scroll-down": "pactl set-sink-volume @DEFAULT_SINK@ -1%",
|
||||
"on-scroll-down": "pactl set-sink-volume @DEFAULT_SINK@ -1%"
|
||||
},
|
||||
"pulseaudio_pamixer": {
|
||||
"format": "{icon}",
|
||||
|
||||
@@ -1,58 +0,0 @@
|
||||
# core
|
||||
archlinuxcn-keyring yay paru zsh curl \
|
||||
hyprland xdg-desktop-portal-hyprland \
|
||||
kitty mako swaylock-effects udiskie thunar\
|
||||
polkit-kde-agent wofi waybar-hyprland-git sddm btop timeshift \
|
||||
ttf-jetbrains-mono-nerd noto-fonts-emoji wqy-zenhei wqy-microhei wqy-microhei-lite wqy-bitmapfont \
|
||||
blueman network-manager-applet ufw \
|
||||
fcitx5-im fcitx5-rime fcitx5-chinese-addons fcitx5-material-color fcitx5-configtool fcitx5-pinyin-zhwiki \
|
||||
obsidian neofetch notion-app-enhanced neovim github-desktop-bin spotify motrix aria2 \
|
||||
kate okular jupyterlab \
|
||||
|
||||
# sound
|
||||
alsa-utils pulseaudio pulseaudio-alsa pamixer pavucontrol
|
||||
|
||||
# develop
|
||||
mariadb mariadb-libs
|
||||
|
||||
# programming language
|
||||
clang go python-pip cargo npm jdk-openjdk
|
||||
|
||||
# pacman other
|
||||
plasma-desktop
|
||||
|
||||
# yay/paru
|
||||
fcitx5-input-support visual-studio-code-bin \
|
||||
google-chrome dotdrop swww wlogout logseq-desktop-wayland-bin anytype-bin \
|
||||
jetbrains-toolbox typora-free aliyunpan-odomu \
|
||||
ttf-wps-fonts wps-office-cn \
|
||||
linuxqq wechat-uos
|
||||
|
||||
# yay other
|
||||
sddm-config-editor-git hyprland-autoname-workspace-git
|
||||
|
||||
# git init
|
||||
git config --global user.name lostecho
|
||||
git config --global user.email 752549025@qq.com
|
||||
git config --global credential.helper store
|
||||
|
||||
# git repositories
|
||||
|
||||
https://github.com/selfteaching/the-craft-of-selfteaching.git
|
||||
https://github.com/xiaolai/regular-investing-in-box.git
|
||||
https://github.com/xiaolai/everyone-can-use-english.git
|
||||
https://github.com/xiaolai/time-as-a-friend.git
|
||||
|
||||
# hyprload
|
||||
curl -sSL https://raw.githubusercontent.com/Duckonaut/hyprload/main/install.sh | bash
|
||||
|
||||
# oh-my-zsh
|
||||
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
||||
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
|
||||
git clone https://github.com/z-shell/F-Sy-H.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/F-Sy-H
|
||||
|
||||
|
||||
|
||||
ghp_
|
||||
|
||||
9ykTi91rAkLtVnxhBcLssmIZaUxVvR2hWODQ
|
||||
219
dotfiles/software.md
Normal file
219
dotfiles/software.md
Normal file
@@ -0,0 +1,219 @@
|
||||
# the Software of ArchLinux
|
||||
|
||||
## install some necessary software
|
||||
|
||||
### after arch install finish
|
||||
|
||||
1. edit the pacman config file in `/etc/pacman.conf`
|
||||
|
||||
```bash
|
||||
sudo nano /etc/pacman.conf
|
||||
|
||||
# add to the last of the file
|
||||
---------------------------------------------------------------
|
||||
[archlinuxcn]
|
||||
Server = https://mirrors.tuna.tsinghua.edu.cn/archlinuxcn/$arch
|
||||
---------------------------------------------------------------
|
||||
|
||||
```
|
||||
|
||||
2. import GPG key
|
||||
|
||||
```bash
|
||||
sudo pacman -S archlinuxcn-keyring
|
||||
```
|
||||
|
||||
3. install yay & paru & other
|
||||
|
||||
```bash
|
||||
sudo pacman -S yay paru base-devel neovim
|
||||
```
|
||||
|
||||
4. clone config file repository
|
||||
|
||||
```bash
|
||||
git clone https://github.com/IHHII/.dotfiles.git
|
||||
git checkout -b altas origin/altas
|
||||
```
|
||||
|
||||
5. cancel the sudo password and change the environment variable
|
||||
|
||||
```bash
|
||||
sudo su
|
||||
nvim /etc/sudoers.d/10-installer
|
||||
|
||||
# change file to this #
|
||||
--------------------------------
|
||||
%wheel ALL=(ALL) ALL
|
||||
%lostecho ALL=(ALL) NOPASSWD:ALL
|
||||
--------------------------------
|
||||
|
||||
nvim /etc/environment
|
||||
|
||||
# change the environment in it #
|
||||
--------------------------------
|
||||
BROWSER=microsoft-edge-stable
|
||||
EDITOR=nvim
|
||||
--------------------------------
|
||||
|
||||
```
|
||||
|
||||
6. add the alhp source
|
||||
|
||||
- check and install keyring & mirrorlist
|
||||
|
||||
```bash
|
||||
/lib/ld-linux-x86-64.so.2 --help
|
||||
yay -S alhp-keyring alhp-mirrorlist
|
||||
```
|
||||
|
||||
- add following source to `/etc/pacman.conf`
|
||||
|
||||
|
||||
```bash
|
||||
nvim /etc/pacman.conf
|
||||
|
||||
# add before [core] mirror #
|
||||
----------------------------------------
|
||||
[core-x86-64-v3]
|
||||
Include = /etc/pacman.d/alhp-mirrorlist
|
||||
|
||||
[extra-x86-64-v3]
|
||||
Include = /etc/pacman.d/alhp-mirrorlist
|
||||
|
||||
#[community-x86-64-v3]
|
||||
#Include = /etc/pacman.d/alhp-mirrorlist
|
||||
----------------------------------------
|
||||
```
|
||||
|
||||
- update software
|
||||
|
||||
```bash
|
||||
sudo pacman -Syuu
|
||||
```
|
||||
|
||||
7. oh-my-zsh setup
|
||||
|
||||
- use script to install oh-my-zsh
|
||||
|
||||
```bash
|
||||
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
||||
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
|
||||
git clone https://github.com/z-shell/F-Sy-H.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/F-Sy-H
|
||||
```
|
||||
|
||||
- replace `.zshrc` file
|
||||
|
||||
```zsh
|
||||
yay -S dotdrop
|
||||
dotdrop --cfg=~/.dotfiles/config.yaml install
|
||||
source ~/.zshrc
|
||||
|
||||
```
|
||||
|
||||
### install desktop environment
|
||||
|
||||
1. install hyprland
|
||||
|
||||
```zsh
|
||||
sudo pacman -S \
|
||||
hyprland xdg-desktop-portal-hyprland wofi \
|
||||
kitty mako swaylock-effects udiskie thunar htop \
|
||||
polkit-kde-agent waybar-hyprland-git sddm
|
||||
|
||||
yay -S wlogout swww
|
||||
```
|
||||
|
||||
2. install fonts and fcitx5
|
||||
|
||||
- fonts
|
||||
|
||||
```zsh
|
||||
sudo pacman -S \
|
||||
ttf-jetbrains-mono-nerd noto-fonts-emoji wqy-zenhei \
|
||||
wqy-microhei wqy-microhei-lite wqy-bitmapfont
|
||||
```
|
||||
|
||||
- fcitx5
|
||||
|
||||
```zsh
|
||||
sudo pacman -S \
|
||||
fcitx5-im fcitx5-rime fcitx5-chinese-addons \
|
||||
fcitx5-material-color fcitx5-configtool fcitx5-pinyin-zhwiki
|
||||
|
||||
yay -S fcitx5-input-support
|
||||
|
||||
```
|
||||
|
||||
3. install some tools
|
||||
|
||||
```zsh
|
||||
sudo pacman -S \
|
||||
blueman ufw network-manager-applet timeshift\
|
||||
neofetch github-desktop-bin aria2 motrix \
|
||||
zathura zathura-mu-pdf
|
||||
```
|
||||
|
||||
4. documents view and edit
|
||||
```zsh
|
||||
sudo pacman -S kate okular jupyterlab obsidian
|
||||
|
||||
yay -S microsoft-edge-stable visual-studio-code-bin \
|
||||
ttf-wps-fonts wps-office-cn
|
||||
```
|
||||
|
||||
5. develop tools
|
||||
|
||||
```zsh
|
||||
sudo pacman -S \
|
||||
mariadb mariadb-libs \
|
||||
clang go python-pip cargo npm jdk-openjdk
|
||||
|
||||
yay -S jetbrains-toolbox
|
||||
```
|
||||
|
||||
6. install sound
|
||||
|
||||
> have some unknown problem
|
||||
|
||||
```zsh
|
||||
alsa-utils pulseaudio pulseaudio-alsa pamixer pavucontrol
|
||||
```
|
||||
|
||||
7. install note software
|
||||
```zsh
|
||||
yay -S \
|
||||
notion-app-enhanced typora-free \
|
||||
logseq-desktop-wayland-bin anytype-bin
|
||||
```
|
||||
|
||||
### other software
|
||||
|
||||
- pacman
|
||||
|
||||
plasma-desktop
|
||||
|
||||
- yay
|
||||
|
||||
aliyunpan-odomu \
|
||||
|
||||
sddm-config-editor-git hyprland-autoname-workspace-git
|
||||
|
||||
### git init
|
||||
git config --global user.name lostecho
|
||||
git config --global user.email 752549025@qq.com
|
||||
git config --global credential.helper store
|
||||
|
||||
### some git repositories
|
||||
|
||||
```zsh
|
||||
git clone https://github.com/selfteaching/the-craft-of-selfteaching.git
|
||||
git clone https://github.com/xiaolai/regular-investing-in-box.git
|
||||
git clone https://github.com/xiaolai/everyone-can-use-english.git
|
||||
git clone https://github.com/xiaolai/time-as-a-friend.git
|
||||
```
|
||||
|
||||
# hyprload
|
||||
curl -sSL https://raw.githubusercontent.com/Duckonaut/hyprload/main/install.sh | bash
|
||||
|
||||
ghp_0ykTi91rAkLtVnxhBcLssmIZaUxVvR2hWODQ
|
||||
@@ -1,6 +1,6 @@
|
||||
# If you come from bash you might have to change your $PATH.
|
||||
# export PATH=$HOME/bin:/usr/local/bin:$PATH
|
||||
export PATH="$HOME/bin:/usr/local/bin:$HOME/.cargo/bin:$PATH"
|
||||
export PATH="$HOME/bin:/usr/local/bin:$HOME/.cargo/bin:$PATH:$HOME/.npm/bin"
|
||||
|
||||
# Path to your oh-my-zsh installation.
|
||||
export ZSH="$HOME/.oh-my-zsh"
|
||||
@@ -88,8 +88,9 @@ source $ZSH/oh-my-zsh.sh
|
||||
# You may need to manually set your language environment
|
||||
export LANG=en_US.UTF-8
|
||||
export EDITOR=nvim
|
||||
#export all_proxy=http://192.168.31.40:7890
|
||||
export BROWSER=microsoft-edge-stable
|
||||
#export JUPYTERLAB_DIR=$HOME/.local/share/jupyter/lab
|
||||
export GOPROXY=https://proxy.golang.com.cn,direct
|
||||
|
||||
# Preferred editor for local and remote sessions
|
||||
# if [[ -n $SSH_CONNECTION ]]; then
|
||||
@@ -112,6 +113,7 @@ export EDITOR=nvim
|
||||
|
||||
# proxy alias
|
||||
alias proxy="export all_proxy=http://192.168.31.40:7890" # for home network enviroment
|
||||
alias proxyl="export all_proxy=http://127.0.0.1:10809" # for local network enviroment
|
||||
alias noproxy="export all_proxy=''" # cancel proxy mode
|
||||
|
||||
# dordrop config file alias
|
||||
@@ -119,26 +121,61 @@ alias dotdrop="dotdrop --cfg=~/.dotfiles/config.yaml"
|
||||
|
||||
# config file shortcut
|
||||
alias vim="nvim"
|
||||
alias vhypr="vim ~/.config/hypr/hyprland.conf" # edit hyprland config
|
||||
alias vzsh="vim ~/.zshrc" # edit zsh config
|
||||
alias vh="vim ~/.config/hypr/hyprland.conf" # edit hyprland config
|
||||
alias vz="vim ~/.zshrc" # edit zsh config
|
||||
alias szsh="source ~/.zshrc" # source the zshrc file
|
||||
alias hyprloadreload="curl -sSL https://raw.githubusercontent.com/Duckonaut/hyprload/main/install.sh | bash"
|
||||
|
||||
# quick command
|
||||
alias pdf="zathura"
|
||||
|
||||
# remotedesktop
|
||||
alias nuc="wlfreerdp /u:752549025@qq.com /p:nebkij-xevkec-Zyvha9 /v:NUC /f"
|
||||
alias nucs="xfreerdp /u:752549025@qq.com /p:nebkij-xevkec-Zyvha9 /v:192.168.31.15 /f"
|
||||
|
||||
# install software
|
||||
alias installpac="sudo pacman -S archlinuxcn-keyring yay paru zsh curl \
|
||||
hyprland xdg-desktop-portal-hyprland \
|
||||
kitty dunst swaylock-effects udiskie \
|
||||
polkit-kde-agent wofi waybar-hyprland-git sddm btop \
|
||||
ttf-jetbrains-mono-nerd noto-fonts-emoji wqy-zenhei wqy-microhei wqy-microhei-lite wqy-bitmapfont \
|
||||
alsa-utils pulseaudio pamixer pavucontrol blueman network-manager-applet \
|
||||
fcitx5 fcitx5-rime fcitx5-chinese-addons fcitx5-material-color fcitx5-configtool \
|
||||
obsidian neofetch notion-app-enhanced vscodium-bin "
|
||||
alias installyay="yay -S google-chrome dotdrop swww wlogout logseq-desktop-wayland-bin anytype-bin"
|
||||
# update system
|
||||
alias syuu="yay -Syuu"
|
||||
|
||||
# git alias
|
||||
alias gup="git pull --rebase"
|
||||
alias gall="git add . && git commit -am 'update' && git push"
|
||||
|
||||
# archlinuxcn & alhp
|
||||
#
|
||||
# Server = https://mirrors.tuna.tsinghua.edu.cn/archlinux/$repo/os/$arch
|
||||
# [archlinuxcn]
|
||||
# Server = https://mirrors.tuna.tsinghua.edu.cn/archlinuxcn/$arch
|
||||
#
|
||||
# sudo pacman -S archlinuxcn-keyring
|
||||
#
|
||||
# yay -S alhp-keyring alhp-mirrorlist
|
||||
#
|
||||
# [core-x86-64-v3]
|
||||
# Include = /etc/pacman.d/alhp-mirrorlist
|
||||
#
|
||||
# [extra-x86-64-v3]
|
||||
# Include = /etc/pacman.d/alhp-mirrorlist
|
||||
#
|
||||
# #[community-x86-64-v3]
|
||||
# #Include = /etc/pacman.d/alhp-mirrorlist
|
||||
|
||||
# install oh-my-zsh
|
||||
# sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
||||
# git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
|
||||
# git clone https://github.com/z-shell/F-Sy-H.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/F-Sy-H
|
||||
|
||||
# pacman install software
|
||||
alias pacmaninstall="sudo pacman -S neovim base-devel zsh paru yay hyprland xdg-desktop-portal-hyprland wofi kitty mako swaylock-effects udiskie thunar btop polkit-kde-agent waybar-hyprland-git sddm ttf-jetbrains-mono-nerd noto-fonts-emoji wqy-zenhei wqy-microhei wqy-microhei-lite wqy-bitmapfont fcitx5-im fcitx5-rime fcitx5-chinese-addons fcitx5-material-color fcitx5-configtool fcitx5-pinyin-zhwiki network-manager-applet neofetch github-desktop-bin aria2 motrix zathura zathura-pdf-mupdf kate okular jupyterlab obsidian mariadb mariadb-libs clang go python-pip cargo npm jdk-openjdk"
|
||||
alias yayinstall="yay -S wlogout swww fcitx5-input-support rime-ice microsoft-edge-stable visual-studio-code-bin ttf-wps-fonts wps-office-cn jetbrains-toolbox notion-app-enhanced logseq-desktop-wayland-bin anytype-bin aliyunpan-odomu"
|
||||
|
||||
# hyprload
|
||||
# curl -sSL https://raw.githubusercontent.com/Duckonaut/hyprload/main/install.sh | bash
|
||||
# ghp_0ykTi91rAkLtVnxhBcLssmIZaUxVvR2hWODQ
|
||||
|
||||
# git init
|
||||
# git config --global user.name lostecho
|
||||
# git config --global user.email 752549025@qq.com
|
||||
# git config --global credential.helper store
|
||||
# git clone https://github.com/IHHII/.dotfiles.git
|
||||
# git clone https://github.com/IHHII/logseq.git
|
||||
# git clone https://github.com/IHHII/Hui-s-notebook.git
|
||||
# git clone https://github.com/IHHII/the-craft-of-selfteaching.git
|
||||
# git clone https://github.com/xiaolai/regular-investing-in-box.git
|
||||
# git clone https://github.com/xiaolai/everyone-can-use-english.git
|
||||
# git clone https://github.com/xiaolai/time-as-a-friend.git
|
||||
|
||||
BIN
endeavouros-wallpaper.png
Normal file
BIN
endeavouros-wallpaper.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 12 MiB |
Reference in New Issue
Block a user