config. nsxiv
This commit is contained in:
parent
3ebdfb0ee6
commit
77b549cccb
|
@ -0,0 +1,15 @@
|
|||
#!/bin/sh
|
||||
|
||||
while read file
|
||||
do
|
||||
wall="${file##*/}"
|
||||
|
||||
case "$1" in
|
||||
"C-w")
|
||||
display -resize '1280x1024!' -window root "$file"
|
||||
;;
|
||||
"C-c")
|
||||
sed -i "s/[0-9]*\.png\b/$wall/" $HOME/.config/sx/sxrc
|
||||
;;
|
||||
esac
|
||||
done
|
Loading…
Reference in New Issue