update Luakit Config
This commit is contained in:
parent
cb093c9ac2
commit
511bf96ca6
7
.bashrc
7
.bashrc
|
@ -14,7 +14,7 @@ export EMAIL="alhassanaraouf@disroot.org"
|
||||||
export VISUAL=vis
|
export VISUAL=vis
|
||||||
export EDITOR=$VISUAL
|
export EDITOR=$VISUAL
|
||||||
export BROWSER=lynx
|
export BROWSER=lynx
|
||||||
#export TERM=xterm
|
export TERM=xfce4-terminal
|
||||||
|
|
||||||
|
|
||||||
export LYNX_CFG=~/.config/lynx/lynx.cfg
|
export LYNX_CFG=~/.config/lynx/lynx.cfg
|
||||||
|
@ -29,3 +29,8 @@ export NVM_DIR="$HOME/.nvm"
|
||||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||||||
|
|
||||||
PATH=~/.config/composer/vendor/bin/:$HOME/scripts:$PATH
|
PATH=~/.config/composer/vendor/bin/:$HOME/scripts:$PATH
|
||||||
|
|
||||||
|
|
||||||
|
export FLYCTL_INSTALL="/home/alhassan/.fly"
|
||||||
|
export PATH="$FLYCTL_INSTALL/bin:$PATH"
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 7d242c6570d14edba71b047c91631110c703a95d
|
|
@ -0,0 +1,43 @@
|
||||||
|
--- Tabgroup name - status bar widget.
|
||||||
|
--
|
||||||
|
-- Shows the name of the current tabgroup.
|
||||||
|
--
|
||||||
|
-- @module lousy.widget.tgname
|
||||||
|
-- @copyright 2021 Tao Nelson <taobert@gmail.com>
|
||||||
|
-- Derived from lousy.widget.uri
|
||||||
|
-- @copyright 2017 Aidan Holm <aidanholm@gmail.com>
|
||||||
|
-- @copyright 2010 Mason Larobina <mason.larobina@gmail.com>
|
||||||
|
|
||||||
|
local _M = {}
|
||||||
|
|
||||||
|
local webview = require("webview")
|
||||||
|
local lousy = require("lousy")
|
||||||
|
local theme = lousy.theme.get()
|
||||||
|
local wc = require("lousy.widget.common")
|
||||||
|
local tabgroups = require('tabgroups')
|
||||||
|
|
||||||
|
local widgets = {
|
||||||
|
update = function (w,tgname)
|
||||||
|
tgname.text = lousy.util.escape('['..tabgroups.current_tabgroup(w)..']')
|
||||||
|
end,
|
||||||
|
}
|
||||||
|
|
||||||
|
webview.add_signal("init", function (view)
|
||||||
|
-- `switch_tabgroup()` and `tabgroup-menu-rename` emit `switched-page`
|
||||||
|
view:add_signal("switched-page", function (v)
|
||||||
|
wc.update_widgets_on_w(widgets, webview.window(v))
|
||||||
|
end)
|
||||||
|
end)
|
||||||
|
|
||||||
|
local function new()
|
||||||
|
local tgname = widget{type="label"}
|
||||||
|
tgname.selectable = true
|
||||||
|
tgname.can_focus = false
|
||||||
|
tgname.fg = theme.sbar_fg
|
||||||
|
tgname.font = theme.sbar_font
|
||||||
|
return wc.add_widget(widgets, tgname)
|
||||||
|
end
|
||||||
|
|
||||||
|
return setmetatable(_M, { __call = function(_, ...) return new(...) end })
|
||||||
|
|
||||||
|
-- vim: et:sw=4:ts=8:sts=4:tw=80
|
|
@ -2,7 +2,9 @@
|
||||||
require "noscript"
|
require "noscript"
|
||||||
|
|
||||||
-- Loading Tabgroups Plugin
|
-- Loading Tabgroups Plugin
|
||||||
require "plugins/tabgroups"
|
require "tabgroups"
|
||||||
|
-- require "uaswitch"
|
||||||
|
require "pass"
|
||||||
|
|
||||||
-- Setup My Search Engine
|
-- Setup My Search Engine
|
||||||
local settings = require "settings"
|
local settings = require "settings"
|
||||||
|
@ -12,4 +14,4 @@ engines.default = engines.disroot
|
||||||
|
|
||||||
-- Setup My Editor
|
-- Setup My Editor
|
||||||
local editor = require "editor"
|
local editor = require "editor"
|
||||||
editor.editor_cmd = "xterm -e vis {file}"
|
editor.editor_cmd = "xfce4-terminal -x vis {file}"
|
|
@ -22,3 +22,6 @@
|
||||||
[submodule ".config/awesome/plugins/awesome-volume"]
|
[submodule ".config/awesome/plugins/awesome-volume"]
|
||||||
path = .config/awesome/plugins/awesome-volume
|
path = .config/awesome/plugins/awesome-volume
|
||||||
url = https://github.com/alhassanaraouf/awesome-volume.git
|
url = https://github.com/alhassanaraouf/awesome-volume.git
|
||||||
|
[submodule ".config/luakit/plugins/luakit-pass"]
|
||||||
|
path = .config/luakit/pass
|
||||||
|
url = https://github.com/arcnmx/luakit-pass.git
|
||||||
|
|
Loading…
Reference in New Issue