dotfiles

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

Commit: 1f1866a32688323ecf363217a5d822ce0326a525
Parent: 323e7f3727479dca676c02ac66061f36a240562e
Author: Randy Palamar
Date:   Thu, 22 Apr 2021 15:05:14 -0600

minor updates

Diffstat:
M.config/cron/crontab | 2+-
M.config/ksh/kshrc | 34+++++++++++++++++-----------------
M.config/mpv/mpv.conf | 1+
M.config/mpv/scripts/webm.lua | 4++--
M.config/zathura/zathurarc | 3++-
5 files changed, 23 insertions(+), 21 deletions(-)

diff --git a/.config/cron/crontab b/.config/cron/crontab @@ -1,2 +1,2 @@ # Update RSS -0 */6 * * * ~/.config/cron/rssup.sh blogs soft yt 2>&1 >/dev/null +0 */5 * * * ~/.config/cron/rssup.sh blogs soft yt 2>&1 >/dev/null diff --git a/.config/ksh/kshrc b/.config/ksh/kshrc @@ -5,17 +5,6 @@ UNAME="$(uname -s)" KSHDIR=~/.config/ksh -######################### -# Environment Variables # -######################### -[ -f $KSHDIR/local ] && . $KSHDIR/local -[ -f $KSHDIR/kshenv ] && . $KSHDIR/kshenv - -PS1='$(tput bold)\W \$$(tput sgr0) ' -if [ -n "$SSH_CONNECTION" ]; then - PS1="$(hostname) $PS1" -fi - if [ $UNAME == "OpenBSD" ]; then ulimit -c 0 fi @@ -26,6 +15,17 @@ if [ $UNAME == "Linux" ]; then fi fi +######################### +# Environment Variables # +######################### +[ -f $KSHDIR/local ] && . $KSHDIR/local +[ -f $KSHDIR/kshenv ] && . $KSHDIR/kshenv + +PS1='$(tput bold)\W \$$(tput sgr0) ' +if [ -n "$SSH_CONNECTION" ]; then + PS1="(\h) $PS1" +fi + ########### # Aliases # ########### @@ -61,12 +61,12 @@ rmimg() { for file; do echo "removing image metadata from: $file" case $file in - *.flac) - metaflac --remove --block-type=PICTURE "$file" - ;; - *.mp3) - eyeD3 --remove-all-images "$file" - ;; + *.flac) + metaflac --remove --block-type=PICTURE "$file" + ;; + *.mp3) + eyeD3 --remove-all-images "$file" + ;; esac done } diff --git a/.config/mpv/mpv.conf b/.config/mpv/mpv.conf @@ -1,5 +1,6 @@ # Video Output profile=opengl-hq +video-sync=display-resample hwdec=auto # Audio diff --git a/.config/mpv/scripts/webm.lua b/.config/mpv/scripts/webm.lua @@ -13,7 +13,7 @@ local options = { -- backslashes as a path separator. Examples of valid inputs for this field -- would be: [[]] (the default, empty value), [[C:\Users\John]] (on Windows), -- and [[/home/john]] (on Unix-like systems eg. Linux). - output_directory = [[]], + output_directory = [[~/media/pic/screengrabs/animu]], run_detached = false, -- Template string for the output file -- %f - Filename, with extension @@ -25,7 +25,7 @@ local options = { -- %R - "-(height)p", where height is the video's height, or scale_height, if it's enabled. -- More specifiers are supported, see https://mpv.io/manual/master/#options-screenshot-template -- Property expansion is supported (with %{} at top level, ${} when nested), see https://mpv.io/manual/master/#property-expansion - output_template = "%F-[%s-%e]%M", + output_template = "[%tY.%tm.%td_%tH:%tM:%tS]_%F_%P%M", -- Scale video to a certain height, keeping the aspect ratio. -1 disables it. scale_height = -1, -- Change the FPS of the output video, dropping or duplicating frames as needed. diff --git a/.config/zathura/zathurarc b/.config/zathura/zathurarc @@ -7,6 +7,7 @@ map K zoom in map J zoom out map i recolor map I set recolor-keephue +map g goto top set font "monospace normal 12" @@ -15,7 +16,7 @@ set statusbar-v-padding 4 set recolor set recolor-darkcolor "#dcdccc" -set recolor-lightcolor "#202020" +set recolor-lightcolor "#090909" set completion-bg "#090909" set completion-fg "#dcdccc"