diff --git a/.gitignore b/.gitignore index 3924c61..a5e6b50 100644 --- a/.gitignore +++ b/.gitignore @@ -41,9 +41,6 @@ lazy-lock.json # Emacs *.elc -common/**/*current* - -**/current.* default.target.wants diff --git a/home/.chezmoiscripts/run_once_bat.sh b/home/.chezmoiscripts/run_once_bat.sh index 3a6f690..5fac4b6 100644 --- a/home/.chezmoiscripts/run_once_bat.sh +++ b/home/.chezmoiscripts/run_once_bat.sh @@ -1,8 +1,11 @@ #!/bin/sh -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%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%20Mocha.tmTheme +if command -v bat > /dev/null 2>&1; then + 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%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%20Mocha.tmTheme +fi + diff --git a/home/.chezmoiscripts/run_once_fonts.sh b/home/.chezmoiscripts/run_once_fonts.sh new file mode 100644 index 0000000..4a38564 --- /dev/null +++ b/home/.chezmoiscripts/run_once_fonts.sh @@ -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 diff --git a/home/.chezmoiscripts/run_once_rtorrent.sh b/home/.chezmoiscripts/run_once_rtorrent.sh index 5f93980..64ed218 100644 --- a/home/.chezmoiscripts/run_once_rtorrent.sh +++ b/home/.chezmoiscripts/run_once_rtorrent.sh @@ -2,6 +2,6 @@ XDG_DATA_HOME="${XDG_DATA_HOME:-$HOME/.local/share}" -mkdir -p {{XDG_DATA_HOME}}/rtorrent/session -mkdir -p {{XDG_DATA_HOME}}/rtorrent/watch +mkdir -p $XDG_DATA_HOME/rtorrent/session +mkdir -p $XDG_DATA_HOME/rtorrent/watch diff --git a/home/.chezmoiscripts/run_once_yazi.sh b/home/.chezmoiscripts/run_once_yazi.sh index d678048..d79d3fa 100644 --- a/home/.chezmoiscripts/run_once_yazi.sh +++ b/home/.chezmoiscripts/run_once_yazi.sh @@ -1,6 +1,8 @@ #!/usr/bin/env bash -ya pkg add llanosrocas/yaziline -ya pkg add yazi-rs/plugins:git -ya pkg add Rolv-Apneseth/starship +if command -v yazi > /dev/null 2>&1; then + ya pkg add llanosrocas/yaziline + ya pkg add yazi-rs/plugins:git + ya pkg add Rolv-Apneseth/starship +fi diff --git a/home/dot_config/hypr/hyprland/symlink_current.conf b/home/dot_config/hypr/hyprland/symlink_current.conf index 7d4192c..bee4ce0 100644 --- a/home/dot_config/hypr/hyprland/symlink_current.conf +++ b/home/dot_config/hypr/hyprland/symlink_current.conf @@ -1 +1 @@ -/home/js0ny/.dotfiles/platforms/linux/hypr/hyprland/dark.conf +dark.conf diff --git a/home/dot_config/rofi/symlink_current.rasi b/home/dot_config/rofi/symlink_current.rasi index 2f4ad1f..1f760c2 100644 --- a/home/dot_config/rofi/symlink_current.rasi +++ b/home/dot_config/rofi/symlink_current.rasi @@ -1 +1 @@ -/home/js0ny/.config/rofi/dark.rasi +dark.rasi diff --git a/home/dot_config/waybar/current.css b/home/dot_config/waybar/current.css new file mode 100644 index 0000000..e69de29