æŽç·Žãããdotfiles
å人çãšã¯èšãã誰ã§ãæ°è»œã«ã»ããã¢ããã§ããããã«ãªã£ãŠããŸãã
æ¢åã®æ§æã«å°å
¥ããã®ã¯æšå¥šããŸããã
[ããã¥ã¡ã³ã]
·
[ãã°ãå ±å]
·
[æ°æ©èœã®ææ¡]
ãã®ãªããžããªã¯ãç§ãæ¥åžžçã«äœ¿çšããŠããArch Linuxã®DotFilesãå«ãŸããŠããŸãã
ã«ã¹ã¿ã èšå®ããšã€ãªã¢ã¹ã䜿ãæ £ããããŒã«ã®èšå®ãªã©ãå«ãŸããŠãããããã䜿çšããããšã§ã©ããªãã·ã³äžã§ãç§ã®çæ³çãªäœæ¥ç°å¢ãããã«æ§ç¯ã§ããŸãã
DotfilesðŽ
â
ââ ð assets
â ââ ã¹ã¯ãªãŒã³ã·ã§ããã®ç»åãªã©
ââ ð config
â ââ èšå®ãã£ã¬ã¯ããª
ââ ð extras
â ââ .config以å€ã®èšå®
ââ ð scripts
â ââ ã»ããã¢ããã¹ããªã¯ããã«ã¹ã¿ã ã¹ããªã¯ããªã©
ââ ð zsh
ââ zshã®èšå®
ããŒããŒãã·ã§ãŒãã«ããã®ã¬ã€ã
WindowsããŒ: 以äžã®ã·ã§ãŒãã«ããã®åºæ¬ãšãªãããŒã§ãã
ã¢ããªã±ãŒã·ã§ã³ã®æäœ:
Windows + Q: ã¿ãŒããã«ã®èµ·å
Windows + L: ç»é¢ã®ããã¯
Windows + E: ãã¡ã€ã«ãããŒãžã£ã®èµ·å
Windows + R: ã¢ããªã±ãŒã·ã§ã³ã®ã©ã³ãã£ãŒãéã
Windows + M: ãã°ã¢ãŠãç»é¢ã®è¡šç€º
Windows + SHIFT + M: ããã°ã©ã ã®çµäº
ãŠã£ã³ããŠã®æäœ:
Windows + C: çŸåšã®ãŠã£ã³ããŠãéãã
Windows + F: ãŠã£ã³ããŠã®ããªãŒã¢ãŒãåãæ¿ã
Windows + P: ç»é¢ã®ã¬ã€ã¢ãŠãã¹ã¿ã€ã«ã®å€æŽ
Windows + J: ç»é¢åå²ã®åãæ¿ã
ãã®ä»:
PrtSc: ã¹ã¯ãªãŒã³ã·ã§ããã®æ®åœ±
Configuration | |
---|---|
OS | Arch Linux |
Color scheme | dracula |
Window manager | Hyprland (with LegacyRenderer) |
Terminal | wezterm |
Status bar | Waybar |
Text editor | neovim |
Browser | Firefox with Japanese localization (firefox-i18n-ja ) |
Fetching | neofetch |
Input method framework | Fcitx5 with Mozc |
File manager | Thunar |
Application launcher | Wofi (for Wayland) |
Notification daemon | Mako (for Wayland) |
Display manager | sddm with sddm-theme-corners |
Logout menu | wlogout (for Wayland) |
Lock screen | swaylock-effects |
Fonts | Noto CJK, Font Awesome, ttf-nerd-fonts-symbols, JetBrains Mono Nerd, and others |
Languages | ja_JP |
ã»ããã¢ããã¹ããªã¯ãã®å®è¡ãããŒ
1. **ç°å¢ç¢ºèª**:
- ã¹ã¯ãªãããéå§ããåã«ãŠãŒã¶ãŒã«ç¢ºèªãæ±ãã
- ã·ã¹ãã ã®ãã§ãã¯ãè¡ã
- ã€ã³ã¿ãŒãããæ¥ç¶ããã§ãã¯ãã
- gitã®ã€ã³ã¹ããŒã«ããã§ãã¯ãã
- VMã®ç°å¢ããã§ãã¯ãã
- NVIDIAã®å©çšããã§ãã¯ãã
- ã·ã¹ãã èšèªããã§ãã¯ãã
- ããŒããŒãã®ã¬ã€ã¢ãŠãããã§ãã¯ãã
2. **AURã€ã³ã¹ããŒã«**:
- yay(AURãã«ããŒ)ã®ã€ã³ã¹ããŒã«
3. **ãœãããŠã§ã¢ã®ã€ã³ã¹ããŒã«**:
- ããã±ãŒãžã®ã€ã³ã¹ããŒã«ã¹ãããã衚瀺
- åããã±ãŒãžã®ã€ã³ã¹ããŒã«çµæã衚瀺
4. **èšå®ã®ã³ããŒ**:
- zshã®dotfilesãã³ããŒ
- ãã®ä»ã®configãã¡ã€ã«ãã³ããŒ
5. **ãµãŒãã¹ã®æå¹å**:
- BluetoothãµãŒãã¹ã®èµ·å
- SDDMãµãŒãã¹ã®æå¹å
6. **ããŒãã®èšå®**:
- GTKãšã¢ã€ã³ã³ã®ããŒããèšå®
- fcitx5ã®ããŒããèšå®
- ããŒããæå¹ã«ããããã®èšå®ãã¡ã€ã«ãä¿®æ£
7. **ã·ã§ã«ã®å€æŽ**:
- ããã©ã«ãã®ã·ã§ã«ãZshã«å€æŽ
8. **ãã¡ã€ã«ã®æš©éèšå®**:
- äžéšã®ã¹ã¯ãªãããã¡ã€ã«ã«å®è¡æš©éãäžãã
9. **ãã®ä»ã®èšå®**:
- å¿
èŠãªãã£ã¬ã¯ããªã®äœæãªã©ãéèŠåºŠã®äœãã¢ã¯ã·ã§ã³ãå®è¡
-
ð è¿ éãªã»ããã¢ããã¹ããªã¯ã
â 匷åãªã»ããã¢ããã¹ã¯ãªããã«ãããè€éãªæäœãªãã§æ軜ã«ç°å¢ãæ§ç¯ã§ããŸãã
æ ¹æ
- TTYããµããŒãããã°ã©ãã£ã«ã«ãªã€ã³ã¿ãã§ãŒã¹
- ã¯ã³ã¯ãªãã¯ã»ããã¢ãã
- ãã£ã¹ãã¬ã€ãããŒãžã£ãŒããZshã®èšå®ãšå¹ åºãèªåèšå®
-
ðª 匷åãªã«ã¹ã¿ã ã¹ããªã¯ã
â ç¶ç¶çãªç®¡çã®çºã®åŒ·åãªã«ã¹ã¿ã ã¹ããªã¯ããå ¥ã£ãŠããŸãã
æ ¹æ
- ããã°ã©ãã£ã«ã«ãªã¢ããããŒãã¹ããªã¯ãã«ããç¶ç¶çãªã³ããã
-
⺠çŸãããã¶ã€ã³
â ããçŸåŠçãªãã¹ã¯ããã
æ ¹æ
- çµ±äžãããã«ã©ãŒã¹ããŒã
- ãªãªãžãã«ãªå£çŽ
-
ðŠ å¹ åºãããŒã«ãã«ããŒ
â äž»èŠãªããŒã«ãã¢ããªã±ãŒã·ã§ã³ã®èšå®ãå«ãŸããŠãããäžåºŠã®ã»ããã¢ããã§å¹ åºãããŒãºã«å¯Ÿå¿ã§ããŸãã
æ ¹æ
- åºæ¬çãªéçºããŒã«ãããŒãã£ã³ã°ã¢ããªã±ãŒã·ã§ã³ãªã©ãå ¥ã£ãŠãããæ£åžžã«åäœããããã«åãããèšå®ããããŠããŸãã
- Zshã®åºæ¬çãªãã©ã°ã€ã³ãèªåçã«ã€ã³ã¹ããŒã«ãããŸããããã«å ãã·ã³ã¿ãã¯ã¹ãã€ã©ã€ããã©ã°ã€ã³ãªã©ã®ããŒããèªåçã«èšå®ãããããã«ããŠããŸãã
-
ðŽ ã¡ã³ããã³ã¹æ§
â èšå®ã¯èŠæããã³ã¡ã³ããå å®ããŠããã®ã§ãã«ã¹ã¿ãã€ãºãæŽæ°ã容æã§ãã
æ ¹æ
- ç¡ããð
- ãã®DotFilesã¯Arch Linuxã§ã®äœ¿çšãæ³å®ããŠããŸãããã®çºArch Linux以å€ã§ã®åäœã¯ä¿èšŒã§ããŸããã
- VMã¯ãµããŒãããŠããŸããã
- NVIDIA GPUã¯ãµããŒãããŠããŸãã
- æ¥æ¬èªç°å¢ã®èšå®ãèªåçã«è¡ãããŸãã
å€è§çãªã¢ãããŒãã«ããããçŸåŠçãªãã¹ã¯ããã
泚æ: åžžã«æŽæ°ããŠããçºãç»åãšç°ãªã£ãŠããå ŽåããããŸãã
TTYãå®å šãµããŒãããã°ã©ãã£ã«ã«ãªã»ããã¢ããã¹ããªã¯ã
ã»ããã¢ãããå§ããåã«ãæäŸãããŠããããã±ãŒãžãšããŒã«ã®ãªã¹ãã確èªããããšãããããããŸãã
git clone https://github.com/doremire/dotfiles.git
cd dotfiles/scripts
sudo chmod +x setup
./setup
å£çŽã¯äžå€®ã®ã€ã©ã¹ããé€ãã¹ããã§å¶äœ...ãšã¯èšããªãã®ã§å å·¥ããŠäœã£ããã®ã§ãã
å ã®ã€ã©ã¹ã: https://www.pixiv.net/artworks/109665466
Q. ãªãdotfilesã®ç®¡çã«ã·ã³ããªãã¯ãªã³ã¯ã䜿ããªãã®ãïŒ
A. ã·ã³ããªãã¯ãªã³ã¯ã¯ãªã¢ã«ã¿ã€ã ã§ã®å€æŽãåæ ã§ããå©ç¹ããããŸããã以äžã®ç¹ã§ãã£ã¬ã¯ããªã®ã³ããŒæ¹åŒãåªããŠããŸãã
-
æ°ãããã£ã¬ã¯ããªã®è¿œå ãå€æŽã®å®¹æã: ã·ã³ããªãã¯ãªã³ã¯ã䜿çšããå Žåãæ°ãããã£ã¬ã¯ããªãèšå®ãã¡ã€ã«ã®è¿œå ããšã«ãªã³ã¯ã®äœæãæŽæ°ãå¿ èŠã«ãªããŸããããã¯ç®¡çã®æéãšãªãå¯èœæ§ããããŸãã
-
äžè²«æ§ã®ç¢ºä¿: ãã£ã¬ã¯ããªã®ã³ããŒæ¹åŒãæ¡çšãããšãã»ããã¢ããããç¶ç¶çãªç®¡çãŸã§ã®ããã»ã¹ã«äžè²«æ§ãçãŸããŸãã
Q. ã«ã¹ã¿ã ã¹ã¯ãªãã(ã¢ããããŒãã¹ã¯ãªã¯ã)ãååšããå Žåãã©ã®ãããªåœ±é¿ããããŸããïŒ
A.ã«ã¹ã¿ã ã¹ã¯ãªãããååšããå Žåãç¹ã«ãã£ã¬ã¯ããªã®ã³ããŒæ¹åŒãšã®çžæ§ãè¯ãã§ãããªããªããæ°ãããã£ã¬ã¯ããªãå€æŽãç°¡åã«ãã¯ã€ããªã¹ãã«è¿œå ããã ãã§ãã¢ããããŒãã¹ã¯ãªãããèªåã§å¯Ÿè±¡ã®ãã£ã¬ã¯ããªããã¡ã€ã«ãåãæ±ã£ãŠãããããã管çãéåžžã«æ軜ã«ãªããŸãã
Q. ã·ã³ããªãã¯ãªã³ã¯æ¹åŒãéžã°ãªãã£ãã®ã¯ã«ã¹ã¿ã ã¹ã¯ãªããã®ååšã ãã§ããïŒ
A. ã«ã¹ã¿ã ã¹ã¯ãªããã®ååšã¯å€§ããªèŠå ã®äžã€ã§ãããæ°ãããã£ã¬ã¯ããªã®è¿œå ãå€æŽã®å®¹æãããããŠäžè²«æ§ã®ç¢ºä¿ãšããç¹ã§ãããã£ã¬ã¯ããªã®ã³ããŒæ¹åŒãåççã ãšèããŸããã
#-- ããã±ãŒãž -----------------------------------------
dm_packages=(
sddm # ã¢ãã³ãªãã£ã¹ãã¬ã€ãããŒãžã£
sddm-theme-corners-git
# â
# ââ sddm
# ââ qt5-graphicaleffects
# ââ qt5-svg
# ââ qt5-quickcontrols2
# ââ git # ããŒãžã§ã³ç®¡çã·ã¹ãã
)
input_tools=(
fcitx5-im # å
¥åã¡ãœãããã¬ãŒã ã¯ãŒã¯
# â
# ââ fcitx5
# ââ fcitx5-configtool
# ââ fcitx5-gtk
# ââ fcitx5-qt
fcitx5-mozc # Mozcã«åºã¥ãæ¥æ¬èªå
¥åã¡ãœãã
)
themes=(
dracula-icons-git
dracula-gtk-theme
)
font_resources=(
otf-font-awesome # ã¢ã€ã³ã³ãã©ã³ã
ttf-symbola # Unicodeã®èšå·ãšæåã®ãã©ã³ã
ttf-twemoji # Twitterã®Emojiçšãã©ã³ã
noto-fonts-cjk # Googleã®Noto CJKãã©ã³ã
ttf-nerd-fonts-symbols
ttf-jetbrains-mono-nerd
ttf-hack-nerd
ttf-firacode-nerd # ã¢ãã¹ããŒã¹ã®ã³ãŒãã£ã³ã°çšãã©ã³ã
)
dev_environments=(
visual-studio-code-bin # 人æ°ã®ããã³ãŒããšãã£ã¿
github-cli # GitHubã®CLIããŒã«
neovim # é«æ©èœãªããã¹ããšãã£ã¿
gedit
discord
zoom
slack-desktop
)
module_utils=(
polkit-gnome # GNOMEã®ããã®PolkitèªèšŒãã€ã¢ãã°
wl-clipboard # Waylandã®ã¯ãªããããŒããŠãŒãã£ãªãã£
cliphist # äžæ
pacman-contrib # pacmanã®è¿œå ãŠãŒãã£ãªãã£
pavucontrol # PulseAudioããªã¥ãŒã ã³ã³ãããŒã«
brightnessctl # æããã®èª¿æŽãŠãŒãã£ãªãã£
bluez # Linuxã®Bluetoothã¹ã¿ãã¯
bluez-utils # BluetoothãŠãŒãã£ãªãã£
blueman # BluetoothãããŒãžã£
network-manager-applet # ãããã¯ãŒã¯ãããŒãžã£ã®ã¢ãã¬ãã
thunar-archive-plugin # Thunarã®ã¢ãŒã«ã€ããã©ã°ã€ã³
pipewire
wireplumber
)
core_apps=(
hyprland # WM
firefox-i18n-ja # 人æ°ã®ãŠã§ããã©ãŠã¶
thunar # 軜éãã¡ã€ã«ãããŒãžã£
wezterm # ã¿ãŒããã«ãšãã¥ã¬ãŒã¿
)
wayland_apps=(
wl-clipboard # Waylandã®ã¯ãªããããŒããŠãŒãã£ãªãã£
grim # Waylandã®ã¹ã¯ãªãŒã³ã·ã§ãããŠãŒãã£ãªãã£
slurp # Waylandã®é åéžæãŠãŒãã£ãªãã£
wofi # Waylandã®ã©ã³ãã£ãŒ
wlogout # Waylandã®ãã°ã¢ãŠããŠãŒãã£ãªãã£
xdg-desktop-portal-hyprland # äžæ
mako # Waylandéç¥ããŒã¢ã³
waybar # Waylandçšã®ã¹ããŒã¿ã¹ããŒ
swaybg # å£çŽ
swaylock-effects # swayã®ããã¯ã¹ã¯ãªãŒã³
)
unixporn=(
neofetch # ã·ã¹ãã æ
å ±ã衚瀺ãããŠãŒãã£ãªãã£
starship # ã«ã¹ã¿ãã€ãºå¯èœãªã·ã§ã«ããã³ãã
btop # ãªãœãŒã¹ã¢ãã¿
lxappearance # GTKããŒãã®ã«ã¹ã¿ãã€ãºããŒã«
nwg-look-bin # åã
bat #catã®é«æ©èœç
exa #lsã®é«æ©èœç
)
質åãåé¡ãææ¡ãããã°ãæ°è»œã« Issue ãéããŠç¥ãããŠãã ãããããªãã®ãã£ãŒãããã¯ã¯å€§æè¿ã§ãïŒ
ãã¡ãããããããé¡ãããŸãðŠ