Compare commits
5 Commits
4e31f03f94
...
7abfa796cb
Author | SHA1 | Date | |
---|---|---|---|
7abfa796cb | |||
6abfa16166 | |||
a85b3d397e | |||
a2a254ea67 | |||
2ee1bfb9f8 |
@ -1,2 +1,3 @@
|
|||||||
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
|
||||||
|
7
src/.config/qutebrowser/homepage.html
Normal file
7
src/.config/qutebrowser/homepage.html
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
<html>
|
||||||
|
<style>
|
||||||
|
body {
|
||||||
|
background: black;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</html>
|
@ -1,6 +1,33 @@
|
|||||||
#!/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
|
||||||
|
|
||||||
cat ~/dox/not/bk.txt | fzf | awk -F'#' '{print $1}' | xsel -ib
|
output=$(cat ~/dox/not/bk.txt | fzf | awk -F'#' '{print $1}')
|
||||||
|
|
||||||
|
# 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,4 +2,15 @@
|
|||||||
|
|
||||||
# Per host wallpaper configuration example
|
# Per host wallpaper configuration example
|
||||||
|
|
||||||
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
|
PREFIX="$HOME/med/wall"
|
||||||
|
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=999
|
export MANWIDTH=165
|
||||||
|
|
||||||
# Soundboard
|
# Soundboard
|
||||||
export SB_DIR="$HOME"/med/sb
|
export SB_DIR="$HOME"/med/sb
|
||||||
|
Loading…
x
Reference in New Issue
Block a user