bunch of script changes
This commit is contained in:
parent
bc1876cf0e
commit
6e719b33ff
@ -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]"'
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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'
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user