make sure that save screen has .html suffix by default
This commit is contained in:
parent
8a0dd8b44f
commit
b1e3323c63
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
filename=$(basename "$1")
|
filename=$(basename -s ".html" "$1")
|
||||||
file=$(zenity --file-selection --save --filename="$filename")
|
file=$(zenity --file-selection --save --filename="$filename.html")
|
||||||
if [ -n "$file" ]; then
|
if [ -n "$file" ]; then
|
||||||
cat > "$file"
|
cat > "$file"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user