Update 2025-01-02 23:53 OpenBSD/amd64-t14
This commit is contained in:
parent
767ba27c2b
commit
02239e52a3
11
.bin/upload
11
.bin/upload
@ -118,21 +118,24 @@ fi
|
|||||||
# HANDLE CASE: rename remote file
|
# HANDLE CASE: rename remote file
|
||||||
if [ -n "$_mv" ]
|
if [ -n "$_mv" ]
|
||||||
then
|
then
|
||||||
|
_arg1=$(basename "$1")
|
||||||
|
_arg2=$(basename "$2")
|
||||||
ssh $_sshhost \
|
ssh $_sshhost \
|
||||||
"cd $_rpath/ \
|
"cd $_rpath/ \
|
||||||
&& mv -v \"$1\" \"$2\""
|
&& mv -v \"$_arg1\" \"$_arg2\""
|
||||||
echo "$2" | remote_list_print
|
echo "$_arg2" | remote_list_print
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# HANDLE CASE: rename the last uploaded remote file
|
# HANDLE CASE: rename the last uploaded remote file
|
||||||
if [ -n "$_mvlast" ]
|
if [ -n "$_mvlast" ]
|
||||||
then
|
then
|
||||||
|
_arg1=$(basename "$1")
|
||||||
lastfile="$(remote_list | tail -1)"
|
lastfile="$(remote_list | tail -1)"
|
||||||
ssh $_sshhost \
|
ssh $_sshhost \
|
||||||
"cd $_rpath/ \
|
"cd $_rpath/ \
|
||||||
&& mv -v \"$lastfile\" \"$1\""
|
&& mv -v \"$lastfile\" \"$_arg1\""
|
||||||
echo "$1" | remote_list_print
|
echo "$_arg1" | remote_list_print
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -58,7 +58,7 @@ local settings = require "settings"
|
|||||||
local settings_chrome = require "settings_chrome"
|
local settings_chrome = require "settings_chrome"
|
||||||
|
|
||||||
-- settings.window.home_page = "luakit://newtab"
|
-- settings.window.home_page = "luakit://newtab"
|
||||||
settings.window.scroll_step = 20
|
settings.window.scroll_step = 600
|
||||||
settings.window.zoom_step = 0.2
|
settings.window.zoom_step = 0.2
|
||||||
settings.webview.zoom_level = 90
|
settings.webview.zoom_level = 90
|
||||||
settings.window.close_with_last_tab = true
|
settings.window.close_with_last_tab = true
|
||||||
|
Loading…
Reference in New Issue
Block a user