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
|
||||
if [ -n "$_mv" ]
|
||||
then
|
||||
_arg1=$(basename "$1")
|
||||
_arg2=$(basename "$2")
|
||||
ssh $_sshhost \
|
||||
"cd $_rpath/ \
|
||||
&& mv -v \"$1\" \"$2\""
|
||||
echo "$2" | remote_list_print
|
||||
&& mv -v \"$_arg1\" \"$_arg2\""
|
||||
echo "$_arg2" | remote_list_print
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# HANDLE CASE: rename the last uploaded remote file
|
||||
if [ -n "$_mvlast" ]
|
||||
then
|
||||
_arg1=$(basename "$1")
|
||||
lastfile="$(remote_list | tail -1)"
|
||||
ssh $_sshhost \
|
||||
"cd $_rpath/ \
|
||||
&& mv -v \"$lastfile\" \"$1\""
|
||||
echo "$1" | remote_list_print
|
||||
&& mv -v \"$lastfile\" \"$_arg1\""
|
||||
echo "$_arg1" | remote_list_print
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
@ -58,7 +58,7 @@ local settings = require "settings"
|
||||
local settings_chrome = require "settings_chrome"
|
||||
|
||||
-- settings.window.home_page = "luakit://newtab"
|
||||
settings.window.scroll_step = 20
|
||||
settings.window.scroll_step = 600
|
||||
settings.window.zoom_step = 0.2
|
||||
settings.webview.zoom_level = 90
|
||||
settings.window.close_with_last_tab = true
|
||||
|
Loading…
Reference in New Issue
Block a user