Update 2024-12-22 21:08 OpenBSD/amd64-t14

This commit is contained in:
c0dev0id 2024-12-22 21:08:35 +01:00
parent a145968b49
commit ebae25d46e
2 changed files with 22 additions and 14 deletions

View File

@ -1,10 +1,18 @@
#!/bin/sh #!/bin/sh
case $1 in case $1 in
cp) shift; rsync -rvP $@ osmc:/media/USBDisk/ ;; put) shift; rsync -rvP $@ osmc:/media/USBDisk/ ;;
df) ssh osmc "df -h /media/USBDisk/" ;; df) ssh osmc "df -h /media/USBDisk/" ;;
ls) ssh osmc "cd /media/USBDisk/ && ls -1 | grep -v lost+found" ;; ls) ssh osmc "cd /media/USBDisk/ && ls -1 | grep -v lost+found" ;;
lls) ssh osmc "cd /media/USBDisk/ && ls -lh | grep -v lost+found" ;; lls) ssh osmc "cd /media/USBDisk/ && ls -lh | grep -v lost+found" ;;
rm) shift; ssh osmc "cd /media/USBDisk/ && rm -v $@" ;; del) shift; ssh osmc "cd /media/USBDisk/ && rm -v $@" ;;
*) echo "available commands: df, ls, lls, cp <file>, rm <file>" ;; ren) shift; ssh osmc "cd /media/USBDisk/ && mv \"$1\" \"$2\"" ;;
*) echo "usage: osmc <command> <args>"
echo " df - show disk space allocation"
echo " ls - list files"
echo " lls - list files with details"
echo " put <file> - copy files to USBDisk"
echo " ren <old> <new> - rename file"
echo " del <file> - delete file"
;;
esac esac

View File

@ -60,7 +60,7 @@ 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 = 20
settings.window.zoom_step = 0.2 settings.window.zoom_step = 0.2
settings.webview.zoom_level = 125 settings.webview.zoom_level = 100
settings.window.close_with_last_tab = true settings.window.close_with_last_tab = true
-- search engines -- search engines
@ -75,11 +75,11 @@ settings.window.search_engines.default = settings.window.search_engines.ddg
---------------------------------- ----------------------------------
-- Add adblock -- Add adblock
-- local adblock = require "adblock" local adblock = require "adblock"
-- local adblock_chrome = require "adblock_chrome" local adblock_chrome = require "adblock_chrome"
-- Enable Developer Tools -- Enable Developer Tools
-- local webinspector = require "webinspector" local webinspector = require "webinspector"
-- Add uzbl-like form filling -- Add uzbl-like form filling
-- local formfiller = require "formfiller" -- local formfiller = require "formfiller"
@ -106,14 +106,14 @@ local gopher = require "gopher"
local undoclose = require "undoclose" local undoclose = require "undoclose"
-- Add command to list tab history items -- Add command to list tab history items
-- local tabhistory = require "tabhistory" local tabhistory = require "tabhistory"
-- Add greasemonkey-like javascript userscript support -- Add greasemonkey-like javascript userscript support
--- local userscripts = require "userscripts" local userscripts = require "userscripts"
-- Add bookmarks support -- Add bookmarks support
-- local bookmarks = require "bookmarks" local bookmarks = require "bookmarks"
-- local bookmarks_chrome = require "bookmarks_chrome" local bookmarks_chrome = require "bookmarks_chrome"
-- Add download support -- Add download support
local downloads = require "downloads" local downloads = require "downloads"