home
/
code
/
khome.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Add twrap.sh
[khome.git]
/
bin
/
wallpaper_shuffle
1
#! /bin/sh
2
3
set -e
4
5
path
=
$
(
6
find
\
7
$@ \
8
-type
f \
9
|
awk
'
10
{
11
paths[i++] =
$0
12
}
13
14
END {
15
srand()
16
j = int(i * rand())
17
print paths[j]
18
}'
19
)
20
printf
"
$path
\n
"
>&
2
21
feh
--bg-scale
"
$path
"
This page took
0.062246 seconds
and
4
git commands to generate.