mirror of
https://git.disroot.org/FollieHiyuki/dotfiles.git
synced 2024-11-25 00:38:23 -05:00
bat: use config file instead of multiple env vars
This commit is contained in:
parent
2a14e9b07d
commit
eed4f4c0b9
@ -93,6 +93,7 @@ cp -rfv ./home/.config/alacritty/ ~/.config/alacritty/
|
||||
cp -rfv ./home/.config/amfora/ ~/.config/amfora/
|
||||
cp -rfv ./home/.config/anime-downloader/ ~/.config/anime-downloader/
|
||||
cp -rfv ./home/.config/aria2/ ~/.config/aria2/
|
||||
cp -rfv ./home/.config/bat/ ~/.config/bat/
|
||||
cp -rfv ./home/.config/bottom/ ~/.config/bottom/
|
||||
cp -rfv ./home/.config/cava/ ~/.config/cava/
|
||||
cp -rfv ./home/.config/cointop/ ~/.config/cointop/
|
||||
|
@ -41,14 +41,12 @@ export XINITRC=$XDG_CONFIG_HOME/X11/xinitrc
|
||||
export XSERVERRC=$XDG_CONFIG_HOME/X11/xserverrc
|
||||
|
||||
# env
|
||||
export PAGER=less
|
||||
export PAGER="less -R"
|
||||
export VISUAL=nvim
|
||||
export EDITOR=nvim
|
||||
export SVDIR=$HOME/.local/share/service
|
||||
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||
export GPG_TTY="$(tty)"
|
||||
# bat
|
||||
export BAT_THEME="base16"
|
||||
# pfetch
|
||||
export PF_INFO="ascii title kernel wm shell uptime pkgs memory"
|
||||
# fzf
|
||||
@ -387,7 +385,6 @@ alias no="grep -viP"
|
||||
# alias latest_pkg="expac --timefmt='%Y-%m-%d %T' '%l\t%n' | sort | tail -n 30"
|
||||
alias yarn="yarn --use-yarnrc $XDG_CONFIG_HOME/yarn/config"
|
||||
alias tmux="TERM=screen-256color tmux"
|
||||
alias catc="bat --style plain --color=always"
|
||||
alias startx="startx $HOME/.config/X11/xinitrc"
|
||||
alias fehwpp="feh --no-fehbg --bg-fill --randomize ~/Pictures/Wallpapers/*"
|
||||
# colorizing
|
||||
|
5
home/.config/bat/config
Normal file
5
home/.config/bat/config
Normal file
@ -0,0 +1,5 @@
|
||||
--theme="base16"
|
||||
--color=always
|
||||
--italic-text=always
|
||||
--pager="less -R"
|
||||
--style="plain"
|
@ -20,7 +20,6 @@ abbr no 'grep -viP'
|
||||
# abbr latest_pkg "expac --timefmt='%Y-%m-%d %T' '%l\t%n' | sort | tail -n 30"
|
||||
alias yarn='yarn --use-yarnrc $HOME/.config/yarn/config'
|
||||
abbr tmux 'TERM=screen-256color command tmux'
|
||||
alias catc='bat --style plain --color=always'
|
||||
# colorizing
|
||||
alias grep='grep --color=auto'
|
||||
alias fgrep='fgrep --color=auto'
|
||||
|
@ -49,12 +49,10 @@ set -gx XSERVERRC $XDG_CONFIG_HOME/X11/xserverrc
|
||||
# env
|
||||
set -gx EDITOR nvim
|
||||
set -gx VISUAL nvim
|
||||
set -gx PAGER less
|
||||
set -gx PAGER "less -R"
|
||||
set -gx SVDIR $HOME/.local/share/service
|
||||
set -gx _JAVA_AWT_WM_NONREPARENTING 1
|
||||
set -gx GPG_TTY (tty)
|
||||
# bat
|
||||
set -gx BAT_THEME "base16"
|
||||
# pfetch
|
||||
set -gx PF_INFO "ascii title kernel wm shell uptime pkgs memory"
|
||||
# fzf
|
||||
|
@ -37,14 +37,12 @@ export XINITRC=$XDG_CONFIG_HOME/X11/xinitrc
|
||||
export XSERVERRC=$XDG_CONFIG_HOME/X11/xserverrc
|
||||
|
||||
# env
|
||||
export PAGER=less
|
||||
export PAGER="less -R"
|
||||
export VISUAL=nvim
|
||||
export EDITOR=nvim
|
||||
export SVDIR=$XDG_DATA_HOME/service
|
||||
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||
export GPG_TTY="$(tty)"
|
||||
# bat
|
||||
export BAT_THEME="base16"
|
||||
# pfetch
|
||||
export PF_INFO="ascii title kernel wm shell uptime pkgs memory"
|
||||
# fzf
|
||||
|
@ -14,7 +14,6 @@ alias no="grep -viP"
|
||||
# alias latest_pkg="expac --timefmt='%Y-%m-%d %T' '%l\t%n' | sort | tail -n 30"
|
||||
alias yarn="yarn --use-yarnrc $HOME/.config/yarn/config"
|
||||
alias tmux="TERM=screen-256color tmux"
|
||||
alias catc="bat --style plain --color=always"
|
||||
# colorizing
|
||||
alias grep="grep --color=auto"
|
||||
alias fgrep="fgrep --color=auto"
|
||||
|
Loading…
Reference in New Issue
Block a user