bunch of script changes

This commit is contained in:
dogeystamp 2023-02-09 18:14:26 -05:00
parent bc1876cf0e
commit 6e719b33ff
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38
6 changed files with 9 additions and 4 deletions

View File

@ -2,7 +2,7 @@
alias ls='ls --color=auto'
# Run mpv from clipboard
alias mpvy='mpvs (xsel -b)'
alias mpvy='mpv (xsel -b)'
alias youtube-dl='youtube-dl -f "bestvideo[ext=mp4][height<=?1080]+bestaudio[ext=m4a]"'

View File

@ -14,7 +14,6 @@ gpgt
set -gx PATH "$PATH:$HOME/.local/bin:"
set -gx PATH "$PATH:$HOME/.local/bin/deskutils:"
set -gx PATH "$PATH:$HOME/.local/bin/deskutils/soundboard:"
set -gx PATH "$PATH:$HOME/.local/bin/minrss-scripts:"
set -gx PATH "$PATH:$XDG_DATA_HOME/npm/bin"

View File

@ -1,3 +1,5 @@
osd-status-msg=${playback-time/full} / ${duration} (${percent-pos}%)\nframe: ${estimated-frame-number} / ${estimated-frame-count}
input-ipc-server="/tmp/mpv-socket"
save-position-on-quit
volume=70
ytdl-format="bestvideo[height<=?1080]+bestaudio/best"

View File

@ -2,4 +2,5 @@
# Screenshot and save to disk.
sleep 0.1 && scrot -fs '/tmp/%F_%T_$wx$h.png' -e 'cp $f ~/med/screen/latest.png && mv $f ~/quar/'
rm ~/med/screen/latest.png
sleep 0.1 && scrot -fs "$HOME/med/screen/latest.png" -e "cp ~/med/screen/latest.png ~/quar/screenshot-$(date +%s).png"

View File

@ -2,4 +2,5 @@
# Screenshot to clipboard, and leave a copy at ~/med/screen/latest.png
sleep 0.1 && scrot -fs '/tmp/%F_%T_$wx$h.png' -e 'cp $f ~/med/screen/latest.png && xclip -selection clipboard -target image/png -i $f'
rm ~/med/screen/latest.png
sleep 0.1 && scrot -fs "$HOME/med/screen/latest.png" -e 'xclip -selection clipboard -target image/png -i $f'

View File

@ -32,6 +32,8 @@ export GOPATH="$HOME"/.local/go
export npm_config_userconfig=$XDG_CONFIG_HOME/npm/config
export npm_config_cache=$XDG_CACHE_HOME/npm
export npm_config_prefix=$XDG_DATA_HOME/npm
# minrss scripts
export MRSS_DIR="$HOME/dox/rss"
# Set default programs
export EDITOR="nvim"