diff --git a/src/.config/fish/aliases.fish b/src/.config/fish/aliases.fish index 41fd1cb..05ade12 100644 --- a/src/.config/fish/aliases.fish +++ b/src/.config/fish/aliases.fish @@ -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]"' diff --git a/src/.config/fish/config.fish b/src/.config/fish/config.fish index ecd1a67..f2dc0a9 100644 --- a/src/.config/fish/config.fish +++ b/src/.config/fish/config.fish @@ -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" diff --git a/src/.config/mpv/mpv.conf b/src/.config/mpv/mpv.conf index 3a7fe15..c21b313 100644 --- a/src/.config/mpv/mpv.conf +++ b/src/.config/mpv/mpv.conf @@ -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" diff --git a/src/.local/bin/deskutils/screenshot-save.sh b/src/.local/bin/deskutils/screenshot-save.sh index 9e3fb16..cae59b9 100755 --- a/src/.local/bin/deskutils/screenshot-save.sh +++ b/src/.local/bin/deskutils/screenshot-save.sh @@ -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" diff --git a/src/.local/bin/deskutils/screenshot.sh b/src/.local/bin/deskutils/screenshot.sh index aaf6cab..69245c9 100755 --- a/src/.local/bin/deskutils/screenshot.sh +++ b/src/.local/bin/deskutils/screenshot.sh @@ -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' diff --git a/src/.profile b/src/.profile index 13350a5..f83f72a 100644 --- a/src/.profile +++ b/src/.profile @@ -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"