diff options
| author | 2025-10-17 12:22:00 -0400 | |
|---|---|---|
| committer | 2025-10-17 12:32:42 -0400 | |
| commit | 544da1ba50d9cbf51a18ca0abf1db66b3baa7460 (patch) | |
| tree | 1caa87664ea4937c5f4e6e8dc83c49b3132ddd70 /hosts/iroha/gentoo/patches/app-misc | |
| parent | 85a47287e56ba9100420246531ebea5996cc0486 (diff) | |
| download | dotfiles-544da1ba50d9cbf51a18ca0abf1db66b3baa7460.tar.gz dotfiles-544da1ba50d9cbf51a18ca0abf1db66b3baa7460.tar.bz2 dotfiles-544da1ba50d9cbf51a18ca0abf1db66b3baa7460.zip | |
Gentoo desktop
Diffstat (limited to 'hosts/iroha/gentoo/patches/app-misc')
3 files changed, 68 insertions, 0 deletions
diff --git a/hosts/iroha/gentoo/patches/app-misc/neofetch/neofetch_hostcolor.diff b/hosts/iroha/gentoo/patches/app-misc/neofetch/neofetch_hostcolor.diff new file mode 100644 index 0000000..cb4bdb5 --- /dev/null +++ b/hosts/iroha/gentoo/patches/app-misc/neofetch/neofetch_hostcolor.diff @@ -0,0 +1,24 @@ +--- a/neofetch 2025-07-24 14:35:25.646237301 -0400 ++++ b/neofetch 2025-07-24 14:34:57.393924725 -0400 +@@ -1386,8 +1386,8 @@ + on) hostname=$(hostname -f) ;; + *) hostname=${HOSTNAME:-$(hostname)} ;; + esac +- +- title=${title_color}${bold}${user}${at_color}@${title_color}${bold}${hostname} ++ host_color=${HOSTCOLOR:-${title_color}} ++ title=${title_color}${bold}${user}${at_color}@${host_color}${bold}${hostname} + length=$((${#user} + ${#hostname} + 1)) + } + +@@ -4604,8 +4604,8 @@ + fi + + string="$(trim "${string//$'\e[0m'}")" +- length="$(strip_sequences "$string")" +- length="${#length}" ++ #length="$(strip_sequences "$string")" ++ #length="${#length}" + + # Format the output. + string="${string/:/${reset}${colon_color}${separator:=:}${info_color}}" diff --git a/hosts/iroha/gentoo/patches/app-misc/neofetch/neofetch_kitty_font.diff b/hosts/iroha/gentoo/patches/app-misc/neofetch/neofetch_kitty_font.diff new file mode 100644 index 0000000..5021746 --- /dev/null +++ b/hosts/iroha/gentoo/patches/app-misc/neofetch/neofetch_kitty_font.diff @@ -0,0 +1,17 @@ +--- a/neofetch 2025-07-24 14:38:08.897043445 -0400 ++++ b/neofetch 2025-07-30 08:35:41.870152352 -0400 +@@ -3301,11 +3301,9 @@ + ;; + + "kitty"*) +- kitty_config="$(kitty --debug-config)" +- [[ "$kitty_config" != *font_family* ]] && return +- +- term_font="$(awk '/^font_family|^font_size/ {$1="";gsub("^ *","",$0);print $0}' \ +- <<< "$kitty_config")" ++ term_font="from kitty.cli import *; o = create_default_opts(); \ ++ print(f'{o.font_family} {o.font_size}')" ++ term_font="$(kitty +runpy ''"$term_font"'')" + ;; + + "konsole" | "yakuake") diff --git a/hosts/iroha/gentoo/patches/app-misc/ufetch/ufetch_hostcolor.diff b/hosts/iroha/gentoo/patches/app-misc/ufetch/ufetch_hostcolor.diff new file mode 100644 index 0000000..efccd68 --- /dev/null +++ b/hosts/iroha/gentoo/patches/app-misc/ufetch/ufetch_hostcolor.diff @@ -0,0 +1,27 @@ +--- a/ufetch-gentoo 2025-07-28 12:44:02.768490943 -0400 ++++ b/ufetch-gentoo 2025-07-28 12:45:58.575888260 -0400 +@@ -64,7 +64,8 @@ + + # you can change these + lc="${reset}${bold}${magenta}" # labels +-nc="${reset}${bold}${magenta}" # user and hostname ++nc="${reset}${bold}${magenta}" # user ++hc="${reset}${bold}${cyan}" # hostname + ic="${reset}" # info + c0="${reset}${bold}${magenta}" # first color + c1="${reset}${magenta}" # second color +@@ -72,13 +73,11 @@ + ## OUTPUT + + cat <<EOF +- +-${c0} .-----. ${nc}${USER}${ic}@${nc}${host}${reset} ++${c0} .-----. ${nc}${USER}${ic}@${hc}${host}${reset} + ${c0} .\` _ \`. ${lc}OS: ${ic}${os}${reset} + ${c0} \`. (${c1}_) ${c0}\`. ${lc}KERNEL: ${ic}${kernel}${reset} + ${c0} \`${c1}. / ${lc}UPTIME: ${ic}${uptime}${reset} + ${c1} .\` .\` ${lc}PACKAGES: ${ic}${packages}${reset} + ${c1} / .\` ${lc}SHELL: ${ic}${shell}${reset} + ${c1} \____.-\` ${lc}${uitype}: ${ic}${ui}${reset} +- + EOF |