From ebae25d46ec2fdb2edec3cff9fc73dca33bcff88 Mon Sep 17 00:00:00 2001 From: c0dev0id Date: Sun, 22 Dec 2024 21:08:35 +0100 Subject: [PATCH] Update 2024-12-22 21:08 OpenBSD/amd64-t14 --- .bin/osmc | 20 ++++++++++++++------ .config/luakit/rc.lua | 16 ++++++++-------- 2 files changed, 22 insertions(+), 14 deletions(-) diff --git a/.bin/osmc b/.bin/osmc index 88a4a46..8c45e9b 100755 --- a/.bin/osmc +++ b/.bin/osmc @@ -1,10 +1,18 @@ #!/bin/sh case $1 in - cp) shift; rsync -rvP $@ osmc:/media/USBDisk/ ;; - df) ssh osmc "df -h /media/USBDisk/" ;; - ls) ssh osmc "cd /media/USBDisk/ && ls -1 | 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 $@" ;; - *) echo "available commands: df, ls, lls, cp , rm " ;; + put) shift; rsync -rvP $@ osmc:/media/USBDisk/ ;; + df) ssh osmc "df -h /media/USBDisk/" ;; + ls) ssh osmc "cd /media/USBDisk/ && ls -1 | grep -v lost+found" ;; + lls) ssh osmc "cd /media/USBDisk/ && ls -lh | grep -v lost+found" ;; + del) shift; ssh osmc "cd /media/USBDisk/ && rm -v $@" ;; + ren) shift; ssh osmc "cd /media/USBDisk/ && mv \"$1\" \"$2\"" ;; + *) echo "usage: osmc " + echo " df - show disk space allocation" + echo " ls - list files" + echo " lls - list files with details" + echo " put - copy files to USBDisk" + echo " ren - rename file" + echo " del - delete file" + ;; esac diff --git a/.config/luakit/rc.lua b/.config/luakit/rc.lua index b5fa9bd..6f6d5fe 100644 --- a/.config/luakit/rc.lua +++ b/.config/luakit/rc.lua @@ -60,7 +60,7 @@ local settings_chrome = require "settings_chrome" settings.window.home_page = "luakit://newtab" -- settings.window.scroll_step = 20 settings.window.zoom_step = 0.2 -settings.webview.zoom_level = 125 +settings.webview.zoom_level = 100 settings.window.close_with_last_tab = true -- search engines @@ -75,11 +75,11 @@ settings.window.search_engines.default = settings.window.search_engines.ddg ---------------------------------- -- Add adblock --- local adblock = require "adblock" --- local adblock_chrome = require "adblock_chrome" +local adblock = require "adblock" +local adblock_chrome = require "adblock_chrome" -- Enable Developer Tools --- local webinspector = require "webinspector" +local webinspector = require "webinspector" -- Add uzbl-like form filling -- local formfiller = require "formfiller" @@ -106,14 +106,14 @@ local gopher = require "gopher" local undoclose = require "undoclose" -- Add command to list tab history items --- local tabhistory = require "tabhistory" +local tabhistory = require "tabhistory" -- Add greasemonkey-like javascript userscript support ---- local userscripts = require "userscripts" +local userscripts = require "userscripts" -- Add bookmarks support --- local bookmarks = require "bookmarks" --- local bookmarks_chrome = require "bookmarks_chrome" +local bookmarks = require "bookmarks" +local bookmarks_chrome = require "bookmarks_chrome" -- Add download support local downloads = require "downloads"