Compare commits
No commits in common. "7abfa796cba42b535cb02b1049ecaf75cdd9c3c2" and "4e31f03f9412fe0706539bcf2c33405a0936d4a5" have entirely different histories.
7abfa796cb
...
4e31f03f94
@ -1,3 +1,2 @@
|
|||||||
osd-status-msg=${playback-time/full} / ${duration} (${percent-pos}%)\nframe: ${estimated-frame-number} / ${estimated-frame-count}
|
osd-status-msg=${playback-time/full} / ${duration} (${percent-pos}%)\nframe: ${estimated-frame-number} / ${estimated-frame-count}
|
||||||
input-ipc-server="/tmp/mpv-socket"
|
input-ipc-server="/tmp/mpv-socket"
|
||||||
save-position-on-quit
|
|
||||||
|
@ -1,7 +0,0 @@
|
|||||||
<html>
|
|
||||||
<style>
|
|
||||||
body {
|
|
||||||
background: black;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
</html>
|
|
@ -1,33 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Copy a bookmark to clipboard.
|
# Copy a bookmark to clipboard.
|
||||||
#
|
|
||||||
# Requires fzf, xsel
|
# Requires fzf, xsel
|
||||||
# Bookmarks are stored in ~/dox/not/bk.txt, commented with #
|
# Bookmarks are stored in ~/dox/not/bk.txt, commented with #
|
||||||
# -o: print to stdout
|
|
||||||
# -b: open in browser
|
|
||||||
|
|
||||||
output=$(cat ~/dox/not/bk.txt | fzf | awk -F'#' '{print $1}')
|
cat ~/dox/not/bk.txt | fzf | awk -F'#' '{print $1}' | xsel -ib
|
||||||
|
|
||||||
# default action: clip, stdout, browser
|
|
||||||
action="clip"
|
|
||||||
|
|
||||||
while getopts "ob" o; do
|
|
||||||
case "${o}" in
|
|
||||||
o) action="stdout";;
|
|
||||||
b) action="browser";;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
|
|
||||||
if [ -z "$output" ]; then
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$action" = "stdout" ]; then
|
|
||||||
printf "%s" "$output"
|
|
||||||
fi
|
|
||||||
if [ "$action" = "clip" ]; then
|
|
||||||
printf "%s" "$output" | xsel -ib
|
|
||||||
fi
|
|
||||||
if [ "$action" = "browser" ]; then
|
|
||||||
$BROWSER "$output"
|
|
||||||
fi
|
|
||||||
|
@ -2,15 +2,4 @@
|
|||||||
|
|
||||||
# Per host wallpaper configuration example
|
# Per host wallpaper configuration example
|
||||||
|
|
||||||
PREFIX="$HOME/med/wall"
|
xwallpaper --output DP-2-1 --center med/pix/dow/ml.png --output DP-1 --center med/pix/dow/mr.png --output eDP-1 --center med/pix/dow/m.png
|
||||||
if [ -z "$1" ]; then
|
|
||||||
WALL="coastline_black"
|
|
||||||
else
|
|
||||||
WALL="$1"
|
|
||||||
fi
|
|
||||||
|
|
||||||
FOLDER="$PREFIX"/"$WALL"
|
|
||||||
|
|
||||||
xwallpaper --output DP2-1 --center "$FOLDER"/l.jpg \
|
|
||||||
--output DP1 --center "$FOLDER"/r.jpg \
|
|
||||||
--output eDP1 --center "$FOLDER"/s.jpg
|
|
||||||
|
@ -34,7 +34,7 @@ export EDITOR="nvim"
|
|||||||
export BROWSER="qutebrowser"
|
export BROWSER="qutebrowser"
|
||||||
# man pager
|
# man pager
|
||||||
export MANPAGER='nvim +Man!'
|
export MANPAGER='nvim +Man!'
|
||||||
export MANWIDTH=165
|
export MANWIDTH=999
|
||||||
|
|
||||||
# Soundboard
|
# Soundboard
|
||||||
export SB_DIR="$HOME"/med/sb
|
export SB_DIR="$HOME"/med/sb
|
||||||
|
Loading…
x
Reference in New Issue
Block a user