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"