Compare commits

..

No commits in common. "780273c149ec71043dcaa2b92a1d571a34b0e3a1" and "c6582f1c4700623e30dd205fcb3773b8923cf339" have entirely different histories.

4 changed files with 3 additions and 24 deletions

View File

@ -1,12 +0,0 @@
# $(bat --config-file)
# Enable this to use italic text on the terminal.
--italic-text=always
# Uncomment the following line if you are using less version >= 551 and want to
# enable mouse scrolling support in `bat` when running inside tmux. This might
# disable text selection, unless you press shift.
--pager="less --RAW-CONTROL-CHARS --quit-if-one-screen --mouse"
# Syntax mappings: map a certain filename pattern to a language.
# Use ".gitignore"-style highlighting for ".*ignore" files
--map-syntax ".*ignore:Git Ignore"

11
install
View File

@ -37,7 +37,7 @@ cp -v rc/zshrc $HOME/.zshrc
cp -v rc/profile $HOME/.profile
# Create configuration directories missed later
mkdir -vp $HOME/.config/{autostart,bat,foot,git,MangoHud,mpv,nvim,systemd/user,yt-dlp}/
mkdir -vp $HOME/.config/{autostart,foot,git,MangoHud,mpv,nvim,systemd/user,yt-dlp}/
# terminfo just in case it needs to be copied to remote system
mkdir -vp $HOME/.terminfo/{A..z}
@ -67,15 +67,6 @@ if [ ! -f $HOME/.config/foot/foot.ini ]; then
cp -v conf/foot/foot.ini $HOME/.config/foot/foot.ini
fi
# A cat(1) clone with wings.
if hash bat 2> /dev/null; then
mkdir -vp $(bat --config-dir)
if [ ! -f $(bat --config-file) ]; then
bat --generate-config-file
cat conf/bat.conf >> $(bat --config-file)
fi
fi
# the media player
cp -v conf/mpv.conf $HOME/.config/mpv/mpv.conf
mkdir -vp $HOME/.var/app/io.mpv.Mpv/config/mpv

View File

@ -171,7 +171,7 @@ if hash lsb_release 2> /dev/null; then
# Confusion between bat and batcula is not a concern at this
# point.
if hash bat 2> /dev/null; then
bat --force-colorization --style=plain $HOME/.shell-things/.mikaela/motivational-message.md | \grep -v '#' | uniq -u
bat --force-colorization --italic-text=always --style=plain $HOME/.shell-things/.mikaela/motivational-message.md | \grep -v '#' | uniq -u
else
tail -n +1 $HOME/.shell-things/.mikaela/motivational-message.md | grep -v '#' | uniq -u
fi

View File

@ -67,7 +67,7 @@ if hash lsb_release 2> /dev/null; then
# Confusion between bat and batcula is not a concern at this
# point.
if hash bat 2> /dev/null; then
bat --force-colorization --style=plain $HOME/.shell-things/.mikaela/motivational-message.md | \grep -v '#' | uniq -u
bat --force-colorization --italic-text=always --style=plain $HOME/.shell-things/.mikaela/motivational-message.md | \grep -v '#' | uniq -u
else
tail -n +1 $HOME/.shell-things/.mikaela/motivational-message.md | grep -v '#' | uniq -u
fi