Update.
This commit is contained in:
parent
0f42ec4d1f
commit
d74b672e60
13 changed files with 89 additions and 47 deletions
|
@ -18,6 +18,7 @@ export OPENER="xdg-open"
|
|||
export PAGER="less"
|
||||
export WM="xmonad"
|
||||
export SUDO_ASKPASS="dmenu-pass"
|
||||
export SECOND_BRAIN="$HOME/docs/sb"
|
||||
|
||||
# NNN settings
|
||||
export NNN_FIFO="/tmp/nnn.fifo"
|
||||
|
@ -30,6 +31,9 @@ BLK="03" CHR="03" DIR="04" EXE="02" REG="07" HARDLINK="05" SYMLINK="05" MISSING=
|
|||
export NNN_COLORS="#04020301;4231"
|
||||
export NNN_FCOLORS="$BLK$CHR$DIR$EXE$REG$HARDLINK$SYMLINK$MISSING$ORPHAN$FIFO$SOCK$UNKNOWN"
|
||||
|
||||
# Catppuccin colors bemenu
|
||||
export BEMENU_OPTS='--fb "#303446" --ff "#c6d0f5" --nb "#303446" --nf "#c6d0f5" --tb "#303446" --hb "#303446" --tf "#e78284" --hf "#e5c890" --af "#c6d0f5" --ab "#303446"'
|
||||
|
||||
# XDG CLEANUP
|
||||
export XDG_DATA_HOME="$HOME/.local/share"
|
||||
export XDG_CONFIG_HOME="$HOME/.config"
|
||||
|
@ -54,3 +58,12 @@ export XCURSOR_PATH=/usr/share/icons:$XDG_DATA_HOME/icons
|
|||
export XINITRC="$XDG_CONFIG_HOME"/X11/xinitrc
|
||||
export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME"/npm/npmrc
|
||||
|
||||
# Clipmenu settings
|
||||
export CM_MAX_CLIPS=20
|
||||
export CM_IGNORE_WINDOW="KeePassXC"
|
||||
export CM_SELECTIONS="clipboard"
|
||||
export CM_OWN_CLIPBOARD=1
|
||||
export CM_DIR="$HOME/.cache"
|
||||
|
||||
# Use nvim for man pages
|
||||
export MANPAGER='nvim +Man!'
|
||||
|
|
|
@ -54,3 +54,10 @@ nnn_cd ()
|
|||
}
|
||||
|
||||
trap nnn_cd EXIT
|
||||
|
||||
# Tmux autostart
|
||||
if [ -x "$(command -v tmux)" ] && [ -n "${DISPLAY}" ] && [ -z "${TMUX}" ]; then
|
||||
exec tmux new-session -A -s default >/dev/null 2>&1
|
||||
fi
|
||||
|
||||
fastfetch
|
||||
|
|
|
@ -41,3 +41,9 @@ alias ls="eza --icons=always --group-directories-first --git"
|
|||
alias la="ls -a"
|
||||
alias ll="ls -lg"
|
||||
alias lla="ll -a"
|
||||
|
||||
# aria2c
|
||||
alias dl="aria2c -x 16 -j 16"
|
||||
|
||||
# todo.xtx
|
||||
alias td='todo.sh'
|
||||
|
|
|
@ -20,8 +20,12 @@ mvln () {
|
|||
|
||||
# Find my script and let me edit them
|
||||
se() {
|
||||
fd . ~/bin -L --type f --color=never | fzf --prompt "Choose script to edit: " \
|
||||
--preview 'bat --color=always --style=plain --pager=never {}' | xargs -r $EDITOR
|
||||
current=$(pwd)
|
||||
file=$(fd . ~/bin -L --type f --color=never | fzf --prompt "Choose script to edit: " \
|
||||
--preview 'bat --color=always --style=plain --pager=never {}')
|
||||
[ "$file" = "" ] && return
|
||||
cd "$(dirname "$file")" && nvim "$(basename "$file")"
|
||||
cd "$current"
|
||||
}
|
||||
|
||||
# List my config and open the dir in a editor
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue