diff --git a/data/home/.config/PureRef.ini b/data/home/.config/PureRef.ini index a021269..965955d 100644 --- a/data/home/.config/PureRef.ini +++ b/data/home/.config/PureRef.ini @@ -5,6 +5,8 @@ Hide_Unsaved_Warning=true Last_Browse_Path=/tmp Maximized=false Position=@Point(3430 355) +RecentFiles0=/home/mb/Documents/chat.pur +RecentFiles1=/home/mb/Downloads/chat.pur RecentFiles2= RecentFiles3= RecentFiles4= diff --git a/data/home/.config/neofetch/config.conf b/data/home/.config/neofetch/config.conf index 40f55c6..c3c9238 100644 --- a/data/home/.config/neofetch/config.conf +++ b/data/home/.config/neofetch/config.conf @@ -709,7 +709,7 @@ image_backend="kitty" # NOTE: 'auto' will pick the best image source for whatever image backend is used. # In ascii mode, distro ascii art will be used and in an image mode, your # wallpaper will be used. -image_source="$HOME/Pictures/icons/arch.png" +image_source="/home/mb/Pictures/icons/arch.png" # Ascii Options diff --git a/data/home/.config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml b/data/home/.config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml index d0d4377..2990193 100644 --- a/data/home/.config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml +++ b/data/home/.config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml @@ -21,6 +21,7 @@ + diff --git a/data/home/.machine_conf b/data/home/.machine_conf deleted file mode 100644 index 46d1c1b..0000000 --- a/data/home/.machine_conf +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - -# seeding rng -RANDOM="2$(hostname | sum | cut -f 1 -d ' ')" - - -# rng function -function random_from { - declare -a array=("$@") - r=$((RANDOM % ${#array[@]})) - printf "%s\n" "${array[$r]}" -} - - -# generated variables -export MACHINE_COLOR=$(random_from 1 2 3 4 5 6 7 8 9 10 11 12 13 14) diff --git a/data/home/.p10k.zsh b/data/home/.p10k.zsh index d214111..5f52265 100644 --- a/data/home/.p10k.zsh +++ b/data/home/.p10k.zsh @@ -208,8 +208,7 @@ ##################################[ dir: current directory ]################################## # Default current directory color. - # [MB] : uses MACHINE_COLOR - typeset -g POWERLEVEL9K_DIR_FOREGROUND=$MACHINE_COLOR + typeset -g POWERLEVEL9K_DIR_FOREGROUND=003 # If directory is too long, shorten some of its segments to the shortest possible unique # prefix. The shortened directory can be tab-completed to the original. typeset -g POWERLEVEL9K_SHORTEN_STRATEGY=truncate_to_unique diff --git a/data/home/.zprofile b/data/home/.zprofile index 71f382f..e7101be 100644 --- a/data/home/.zprofile +++ b/data/home/.zprofile @@ -197,6 +197,7 @@ fuckify() { # tout est cassé alias reparer_qt="paru -S --noconfirm --redownload --rebuild qt5-styleplugins" +alias reparer_discord="/home/mb/.local/scripts/reparer_discord.ts" alias reparer_opentablet="systemctl --user daemon-reload; systemctl --user enable opentabletdriver --now; paru -S opentabletdriver --rebuild --noconfirm; systemctl --user restart opentabletdriver; systemctl --user daemon-reload" alias reparer_gtk="sudo pacman -Rndd xdg-desktop-portal xdg-desktop-portal-gtk; sudo pacman -Rndd xdg-desktop-portal" alias restart-cinnamon="pkill -HUP -f 'cinnamon --replace'" @@ -218,6 +219,7 @@ fi ################################ +alias box-drawing-char="/home/mb/.local/scripts/box-drawing-char.sh" print-colors() { for i in {0..255} do print -Pn "%K{$i} %k%F{$i}${(l:3::0:)i}%f " ${${(M)$((i%6)):#3}:+$'\n'} @@ -330,9 +332,6 @@ wait_file() { done } -term256_colors() { - for i in {0..255} - do - print -Pn "%K{$i} %k%F{$i}${(l:3::0:)i}%f " ${${(M)$((i%6)):#3}:+$'\n'} - done -} + +alias sshpinotes="TERM=xterm-color ssh ubuntu@162.19.64.118" +alias mrustc="MRUSTC_TARGET_VER=1.54 /home/mb/Projects/mrustc/bin/mrustc -L /home/mb/Projects/mrustc/output-1.54.0" diff --git a/data/home/.zshrc b/data/home/.zshrc index c85de46..704eb90 100644 --- a/data/home/.zshrc +++ b/data/home/.zshrc @@ -25,10 +25,10 @@ ZSH_AUTOSUGGEST_STRATEGY=(completion history) ZSH_AUTOSUGGEST_USE_ASYNC="true" # profile -source $HOME/.zprofile +source /home/mb/.zprofile # extend path -export PATH="$HOME/.cargo/bin":"$HOME/.local/bin":"$HOME/.deno/bin":"$HOME/.local/scripts":$PATH +export PATH="/home/mb/.cargo/bin":"/home/mb/.local/bin":"/home/mb/.deno/bin":"$HOME/.local/scripts":$PATH # [ NPM ] @@ -46,15 +46,15 @@ MANPATH="$NPM_PACKAGES/share/man:$(manpath)" NODE_PATH="$NPM_PACKAGES/lib/node_modules:$NODE_PATH" # opam configuration -[[ ! -r $HOME/.opam/opam-init/init.zsh ]] || source $HOME/.opam/opam-init/init.zsh > /dev/null 2> /dev/null +[[ ! -r /home/mb/.opam/opam-init/init.zsh ]] || source /home/mb/.opam/opam-init/init.zsh > /dev/null 2> /dev/null -export CARGO_TARGET_DIR="$HOME/.cache/cargo-target" +export CARGO_TARGET_DIR="/home/mb/.cache/cargo-target" export RUSTC_WRAPPER="/usr/bin/sccache" export SCCACHE_DIR="/media/hdd1/cache/sccache" -export GOPATH="$HOME/.go" +export GOPATH="/home/mb/.go" -export C_INCLUDE_PATH="$HOME/.local/include" +export C_INCLUDE_PATH="/home/mb/.local/include" -[ -f "$HOME/.ghcup/env" ] && source "$HOME/.ghcup/env" # ghcup-env +[ -f "/home/mb/.ghcup/env" ] && source "/home/mb/.ghcup/env" # ghcup-env export TERM=xterm-256color