diff --git a/Makefile b/Makefile index 52c493d..df70206 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ LOCATION="$(HOME)/.config" DATA="$(HOME)/.local/share" -install: install_bspwm install_nvim install_sx install_sxhkd install_vimb install_zathura install_wyebadblock install_simplestatus install_bash install_ssh install_git install_luakit environment +install: install_bspwm install_nvim install_sx install_sxhkd install_vimb install_zathura install_simplestatus install_bash install_ssh install_git environment install_bspwm: cp -r bspwm $(LOCATION) install_nvim: @@ -13,8 +13,6 @@ install_vimb: cp -r vimb $(LOCATION) install_zathura: cp -r zathura $(LOCATION) -install_wyebadblock: - cp -r wyebadblock $(LOCATION) install_simplestatus: cp -r simplestatus $(LOCATION) install_bash: @@ -23,8 +21,5 @@ install_ssh: cp -r ssh $(LOCATION) install_git: cp -r git $(LOCATION) -install_luakit: - cp -r luakit/config $(LOCATION) - cp -r luakit/data $(DATA) environment: sh environ diff --git a/luakit/data/config/rc.lua b/luakit/data/config/rc.lua deleted file mode 100644 index a1d7bc8..0000000 --- a/luakit/data/config/rc.lua +++ /dev/null @@ -1,189 +0,0 @@ ------------------------------------------------------------------------------- --- luakit configuration file, more information at https://luakit.github.io/ -- ------------------------------------------------------------------------------- - -require "lfs" - --- Check for lua configuration files that will never be loaded because they are --- shadowed by builtin modules. -table.insert(package.loaders, 2, function (modname) - if not package.searchpath then return end - local f = package.searchpath(modname, package.path) - if not f or f:find(luakit.install_paths.install_dir .. "/", 0, true) ~= 1 then - return - end - local lf = luakit.config_dir .. "/" .. modname:gsub("%.","/") .. ".lua" - if f == lf then - msg.warn("Loading local version of '" .. modname .. "' module: " .. lf) - elseif lfs.attributes(lf) then - msg.warn("Found local version " .. lf - .. " for core module '" .. modname - .. "', but it won't be used, unless you update 'package.path' accordingly.") - end -end) - -require "unique_instance" - --- Set the number of web processes to use. A value of 0 means 'no limit'. This --- has no effect since WebKit 2.26 -luakit.process_limit = 4 --- Set the cookie storage location -soup.cookies_storage = luakit.data_dir .. "/cookies.db" - --- Load library of useful functions for luakit -local lousy = require "lousy" - --- Load users theme --- ("$XDG_CONFIG_HOME/luakit/theme.lua" or "/etc/xdg/luakit/theme.lua") -lousy.theme.init(lousy.util.find_config("theme.lua")) -assert(lousy.theme.get(), "failed to load theme") - --- Load users window class --- ("$XDG_CONFIG_HOME/luakit/window.lua" or "/etc/xdg/luakit/window.lua") -local window = require "window" - --- Load users webview class --- ("$XDG_CONFIG_HOME/luakit/webview.lua" or "/etc/xdg/luakit/webview.lua") -local webview = require "webview" - --- Add luakit;//log/ chrome page -local log_chrome = require "log_chrome" - --- Load luakit binds and modes -local modes = require "modes" -local binds = require "binds" - -local settings = require "settings" -require "settings_chrome" - ----------------------------------- --- Optional user script loading -- ----------------------------------- - --- Add adblock -local adblock = require "adblock" -local adblock_chrome = require "adblock_chrome" - -local webinspector = require "webinspector" - --- Add uzbl-like form filling -local formfiller = require "formfiller" - --- Add proxy support & manager -local proxy = require "proxy" - --- Add quickmarks support & manager -local quickmarks = require "quickmarks" - --- Add session saving/loading support -local session = require "session" - --- Add command to list closed tabs & bind to open closed tabs -local undoclose = require "undoclose" - --- Add command to list tab history items -local tabhistory = require "tabhistory" - --- Add greasemonkey-like javascript userscript support -local userscripts = require "userscripts" - --- Add bookmarks support -local bookmarks = require "bookmarks" -local bookmarks_chrome = require "bookmarks_chrome" - --- Add download support -local downloads = require "downloads" -local downloads_chrome = require "downloads_chrome" - --- Add automatic PDF downloading and opening -local viewpdf = require "viewpdf" - --- Example using xdg-open for opening downloads / showing download folders -downloads.add_signal("open-file", function (file) - luakit.spawn(string.format("xdg-open %q", file)) - return true -end) - --- Add vimperator-like link hinting & following -local follow = require "follow" - --- Add command history -local cmdhist = require "cmdhist" - --- Add search mode & binds -local search = require "search" - --- Add ordering of new tabs -local taborder = require "taborder" - --- Save web history -local history = require "history" -local history_chrome = require "history_chrome" - -local help_chrome = require "help_chrome" -local binds_chrome = require "binds_chrome" - --- Add command completion -local completion = require "completion" - --- Press Control-E while in insert mode to edit the contents of the currently --- focused