aboutsummaryrefslogtreecommitdiff
path: root/.local/share/bin/loadwall
blob: e419667cc640751e5c253dd359a7252952c2262a (plain)
1
2
3
4
5
#!/bin/node
var args = process.argv;
var image = args.find(a => a.match(/\.(png|jpeg|jpg)/g));
var wal = require(__dirname + "/pywal/jswal.js");
wal(["--bg-fill", image]);