dotfiles

personal dotfiles
git clone anongit@rnpnr.xyz:dotfiles.git
Log | Files | Refs | Feed | Submodules

Commit: 932f1fa1c827e9b1f509046c510449a7454d9ca1
Parent: eb21d7d813c832ddb1af93edc47a8163d1ce3c0f
Author: Randy Palamar
Date:   Thu,  4 Mar 2021 16:17:11 -0700

use zathura as a frontend for mupdf and make some minor alias changes

Diffstat:
M.config/ksh/kshrc | 8+++++---
M.config/sys/var/lib/portage/world | 2+-
A.config/zathura/zathurarc | 37+++++++++++++++++++++++++++++++++++++
3 files changed, 43 insertions(+), 4 deletions(-)

diff --git a/.config/ksh/kshrc b/.config/ksh/kshrc @@ -37,14 +37,16 @@ fi ########### # Aliases # ########### -[ -f $KSHDIR/dirs ] && . $KSHDIR/dirs +[ -f "$KSHDIR/shortcuts" ] && . "$KSHDIR/shortcuts" alias c=clear +alias e="$EDITOR" +alias v="$EDITOR" alias ll='ls -lh' alias mkdir='mkdir -p' alias mvi='mpv --profile=image' alias ncmpcpp='tput smkx && ncmpcpp' -alias page='mupdf -C E6D0B3' +alias page='zathura --fork' alias tmux='tmux -2u' # managing dotfiles @@ -102,7 +104,7 @@ if [ -f /etc/gentoo-release ]; then alias tcc='tcc -Wall -Werror' alias cc='cc -O3 -pipe -Wall -Werror -pedantic-errors -std=c99' alias c++='c++ -O3 -pipe -Wall -Werror' - alias emerge='doas /usr/bin/emerge' + alias em='doas /usr/bin/emerge' alias ifconfig='doas /bin/ifconfig' fi diff --git a/.config/sys/var/lib/portage/world b/.config/sys/var/lib/portage/world @@ -14,7 +14,7 @@ app-portage/gentoolkit app-portage/smart-live-rebuild app-shells/dash app-shells/oksh -app-text/mupdf +app-text/zathura-pdf-mupdf cross-avr/avr-libc cross-avr/binutils cross-avr/gcc diff --git a/.config/zathura/zathurarc b/.config/zathura/zathurarc @@ -0,0 +1,37 @@ +map u scroll half-up +map d scroll half-down +map D toggle_page_mode +map r reload +map R rotate +map K zoom in +map J zoom out +map i recolor +map I set recolor-keephue + +set font "monospace normal 12" + +set statusbar-h-padding 8 +set statusbar-v-padding 4 + +set recolor +set recolor-darkcolor "#dcdccc" +set recolor-lightcolor "#202020" + +set completion-bg "#090909" +set completion-fg "#dcdccc" +set completion-highlight-bg "#090909" +set completion-highlight-fg "#a274f2" +set default-bg "#090909" +set default-fg "#dcdccc" +set highlight-active-color "#a274f2" +set highlight-color "#090909" +set index-active-bg "#090909" +set index-active-fg "#a274f2" +set index-bg "#090909" +set index-fg "#dcdccc" +set inputbar-bg "#090909" +set inputbar-fg "#dcdccc" +set notification-bg "#090909" +set notification-fg "#dcdccc" +set statusbar-bg "#090909" +set statusbar-fg "#dcdccc"