mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
fix: symlinks in chezmoi and robust scripts
This commit is contained in:
parent
872a2b4d4d
commit
c7d6392849
8 changed files with 29 additions and 15 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -41,9 +41,6 @@ lazy-lock.json
|
||||||
# Emacs
|
# Emacs
|
||||||
*.elc
|
*.elc
|
||||||
|
|
||||||
common/**/*current*
|
|
||||||
|
|
||||||
**/current.*
|
|
||||||
|
|
||||||
default.target.wants
|
default.target.wants
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,11 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
|
||||||
|
if command -v bat > /dev/null 2>&1; then
|
||||||
mkdir -p "$(bat --config-dir)/themes"
|
mkdir -p "$(bat --config-dir)/themes"
|
||||||
wget -P "$(bat --config-dir)/themes" https://github.com/catppuccin/bat/raw/main/themes/Catppuccin%20Latte.tmTheme
|
wget -P "$(bat --config-dir)/themes" https://github.com/catppuccin/bat/raw/main/themes/Catppuccin%20Latte.tmTheme
|
||||||
wget -P "$(bat --config-dir)/themes" https://github.com/catppuccin/bat/raw/main/themes/Catppuccin%20Frappe.tmTheme
|
wget -P "$(bat --config-dir)/themes" https://github.com/catppuccin/bat/raw/main/themes/Catppuccin%20Frappe.tmTheme
|
||||||
wget -P "$(bat --config-dir)/themes" https://github.com/catppuccin/bat/raw/main/themes/Catppuccin%20Macchiato.tmTheme
|
wget -P "$(bat --config-dir)/themes" https://github.com/catppuccin/bat/raw/main/themes/Catppuccin%20Macchiato.tmTheme
|
||||||
wget -P "$(bat --config-dir)/themes" https://github.com/catppuccin/bat/raw/main/themes/Catppuccin%20Mocha.tmTheme
|
wget -P "$(bat --config-dir)/themes" https://github.com/catppuccin/bat/raw/main/themes/Catppuccin%20Mocha.tmTheme
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
12
home/.chezmoiscripts/run_once_fonts.sh
Normal file
12
home/.chezmoiscripts/run_once_fonts.sh
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
curl -L https://github.com/lxgw/LxgwWenKai/releases/download/v1.520/lxgw-wenkai-v1.520.zip -o /tmp/lxgw-wenkai.zip
|
||||||
|
unzip /tmp/lxgw-wenkai.zip -d ~/.local/share/fonts/
|
||||||
|
|
||||||
|
curl -L https://github.com/lxgw/LxgwNeoXiHei/releases/download/v1.223/LXGWNeoXiHeiPlus.ttf -o /tmp/lxgw-xihei.zip
|
||||||
|
unzip /tmp/lxgw-xihei.zip -d ~/.local/share/fonts/
|
||||||
|
|
||||||
|
curl -L https://github.com/subframe7536/maple-font/releases/download/v7.7/MapleMono-NF-CN-unhinted.zip -o /tmp/maple-mono.zip
|
||||||
|
unzip /tmp/maple-mono.zip -d ~/.local/share/fonts/
|
||||||
|
|
||||||
|
fc-cache -fv
|
||||||
|
|
@ -2,6 +2,6 @@
|
||||||
|
|
||||||
XDG_DATA_HOME="${XDG_DATA_HOME:-$HOME/.local/share}"
|
XDG_DATA_HOME="${XDG_DATA_HOME:-$HOME/.local/share}"
|
||||||
|
|
||||||
mkdir -p {{XDG_DATA_HOME}}/rtorrent/session
|
mkdir -p $XDG_DATA_HOME/rtorrent/session
|
||||||
mkdir -p {{XDG_DATA_HOME}}/rtorrent/watch
|
mkdir -p $XDG_DATA_HOME/rtorrent/watch
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,8 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
if command -v yazi > /dev/null 2>&1; then
|
||||||
ya pkg add llanosrocas/yaziline
|
ya pkg add llanosrocas/yaziline
|
||||||
ya pkg add yazi-rs/plugins:git
|
ya pkg add yazi-rs/plugins:git
|
||||||
ya pkg add Rolv-Apneseth/starship
|
ya pkg add Rolv-Apneseth/starship
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
/home/js0ny/.dotfiles/platforms/linux/hypr/hyprland/dark.conf
|
dark.conf
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
/home/js0ny/.config/rofi/dark.rasi
|
dark.rasi
|
||||||
|
|
|
||||||
0
home/dot_config/waybar/current.css
Normal file
0
home/dot_config/waybar/current.css
Normal file
Loading…
Add table
Add a link
Reference in a new issue