changes
This commit is contained in:
parent
ad4543a58e
commit
be9a92abb6
7 changed files with 26 additions and 14 deletions
|
@ -5,8 +5,6 @@ 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=
|
||||
|
|
|
@ -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/mb/Pictures/icons/arch.png"
|
||||
image_source="$HOME/Pictures/icons/arch.png"
|
||||
|
||||
|
||||
# Ascii Options
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
<property name="misc-thumbnail-mode" type="string" value="THUNAR_THUMBNAIL_MODE_ALWAYS"/>
|
||||
<property name="hidden-bookmarks" type="array">
|
||||
<value type="string" value="trash:///"/>
|
||||
<value type="string" value="file:///home/mb/Desktop"/>
|
||||
</property>
|
||||
<property name="last-details-view-visible-columns" type="string" value="THUNAR_COLUMN_DATE_MODIFIED,THUNAR_COLUMN_NAME,THUNAR_COLUMN_SIZE,THUNAR_COLUMN_TYPE"/>
|
||||
<property name="last-compact-view-zoom-level" type="string" value="THUNAR_ZOOM_LEVEL_25_PERCENT"/>
|
||||
|
|
16
data/home/.machine_conf
Normal file
16
data/home/.machine_conf
Normal file
|
@ -0,0 +1,16 @@
|
|||
#!/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)
|
|
@ -208,7 +208,8 @@
|
|||
|
||||
##################################[ dir: current directory ]##################################
|
||||
# Default current directory color.
|
||||
typeset -g POWERLEVEL9K_DIR_FOREGROUND=003
|
||||
# [MB] : uses MACHINE_COLOR
|
||||
typeset -g POWERLEVEL9K_DIR_FOREGROUND=$MACHINE_COLOR
|
||||
# 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
|
||||
|
|
|
@ -197,7 +197,6 @@ 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'"
|
||||
|
@ -219,7 +218,6 @@ 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'}
|
||||
|
|
|
@ -25,10 +25,10 @@ ZSH_AUTOSUGGEST_STRATEGY=(completion history)
|
|||
ZSH_AUTOSUGGEST_USE_ASYNC="true"
|
||||
|
||||
# profile
|
||||
source /home/mb/.zprofile
|
||||
source $HOME/.zprofile
|
||||
|
||||
# extend path
|
||||
export PATH="/home/mb/.cargo/bin":"/home/mb/.local/bin":"/home/mb/.deno/bin":"$HOME/.local/scripts":$PATH
|
||||
export PATH="$HOME/.cargo/bin":"$HOME/.local/bin":"$HOME/.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/mb/.opam/opam-init/init.zsh ]] || source /home/mb/.opam/opam-init/init.zsh > /dev/null 2> /dev/null
|
||||
[[ ! -r $HOME/.opam/opam-init/init.zsh ]] || source $HOME/.opam/opam-init/init.zsh > /dev/null 2> /dev/null
|
||||
|
||||
export CARGO_TARGET_DIR="/home/mb/.cache/cargo-target"
|
||||
export CARGO_TARGET_DIR="$HOME/.cache/cargo-target"
|
||||
export RUSTC_WRAPPER="/usr/bin/sccache"
|
||||
export SCCACHE_DIR="/media/hdd1/cache/sccache"
|
||||
export GOPATH="/home/mb/.go"
|
||||
export GOPATH="$HOME/.go"
|
||||
|
||||
export C_INCLUDE_PATH="/home/mb/.local/include"
|
||||
export C_INCLUDE_PATH="$HOME/.local/include"
|
||||
|
||||
[ -f "/home/mb/.ghcup/env" ] && source "/home/mb/.ghcup/env" # ghcup-env
|
||||
[ -f "$HOME/.ghcup/env" ] && source "$HOME/.ghcup/env" # ghcup-env
|
||||
|
||||
export TERM=xterm-256color
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue