Init.
This commit is contained in:
commit
418dd83d89
97 changed files with 11981 additions and 0 deletions
5
.gitignore
vendored
Normal file
5
.gitignore
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
rcs/vim/.netrwhist
|
||||
xsrf/cache
|
||||
xsrf/certificates
|
||||
xsrf/cookies.txt
|
||||
|
9
awesome-mimeapps.list
Normal file
9
awesome-mimeapps.list
Normal file
|
@ -0,0 +1,9 @@
|
|||
[Added Associations]
|
||||
[Removed Associations]
|
||||
[Defalut Applications]
|
||||
image/jpeg=vimiv.desktop
|
||||
video/H264=vlc.desktop
|
||||
text/plain=gvim.desktop
|
||||
text/x-csrc=gvim.desktop
|
||||
image/x-xcf=gimp.desktop
|
||||
audio/mpeg=audacious.desktop
|
550
awesome/rc.lua
Normal file
550
awesome/rc.lua
Normal file
|
@ -0,0 +1,550 @@
|
|||
-- If LuaRocks is installed, make sure that packages installed through it are
|
||||
-- found (e.g. lgi). If LuaRocks is not installed, do nothing.
|
||||
pcall(require, "luarocks.loader")
|
||||
|
||||
-- Standard awesome library
|
||||
local gears = require("gears")
|
||||
local awful = require("awful")
|
||||
require("awful.autofocus")
|
||||
-- Widget and layout library
|
||||
local wibox = require("wibox")
|
||||
-- Theme handling library
|
||||
local beautiful = require("beautiful")
|
||||
-- Notification library
|
||||
local naughty = require("naughty")
|
||||
local menubar = require("menubar")
|
||||
local hotkeys_popup = require("awful.hotkeys_popup")
|
||||
-- Enable hotkeys help widget for VIM and other apps
|
||||
-- when client with a matching name is opened:
|
||||
require("awful.hotkeys_popup.keys")
|
||||
|
||||
-- {{{ Error handling
|
||||
-- Check if awesome encountered an error during startup and fell back to
|
||||
-- another config (This code will only ever execute for the fallback config)
|
||||
if awesome.startup_errors then
|
||||
naughty.notify({ preset = naughty.config.presets.critical,
|
||||
title = "Oops, there were errors during startup!",
|
||||
text = awesome.startup_errors })
|
||||
end
|
||||
|
||||
-- Handle runtime errors after startup
|
||||
do
|
||||
local in_error = false
|
||||
awesome.connect_signal("debug::error", function (err)
|
||||
-- Make sure we don't go into an endless error loop
|
||||
if in_error then return end
|
||||
in_error = true
|
||||
|
||||
naughty.notify({ preset = naughty.config.presets.critical,
|
||||
title = "Oops, an error happened!",
|
||||
text = tostring(err) })
|
||||
in_error = false
|
||||
end)
|
||||
end
|
||||
-- }}}
|
||||
|
||||
-- {{{ Variable definitions
|
||||
-- Themes define colours, icons, font and wallpapers.
|
||||
beautiful.init(gears.filesystem.get_themes_dir() .. "default/theme.lua")
|
||||
|
||||
-- Default modkey.
|
||||
-- Usually, Mod4 is the key with a logo between Control and Alt.
|
||||
-- If you do not like this or do not have such a key,
|
||||
-- I suggest you to remap Mod4 to another key using xmodmap or other tools.
|
||||
-- However, you can use another modifier like Mod1, but it may interact with others.
|
||||
modkey = "Mod4"
|
||||
|
||||
-- Table of layouts to cover with awful.layout.inc, order matters.
|
||||
awful.layout.layouts = {
|
||||
awful.layout.suit.floating,
|
||||
awful.layout.suit.tile,
|
||||
awful.layout.suit.tile.left,
|
||||
awful.layout.suit.tile.bottom,
|
||||
awful.layout.suit.tile.top,
|
||||
awful.layout.suit.fair,
|
||||
awful.layout.suit.fair.horizontal,
|
||||
awful.layout.suit.spiral,
|
||||
awful.layout.suit.spiral.dwindle,
|
||||
awful.layout.suit.max,
|
||||
awful.layout.suit.max.fullscreen,
|
||||
awful.layout.suit.magnifier,
|
||||
awful.layout.suit.corner.nw,
|
||||
-- awful.layout.suit.corner.ne,
|
||||
-- awful.layout.suit.corner.sw,
|
||||
-- awful.layout.suit.corner.se,
|
||||
}
|
||||
-- }}}
|
||||
|
||||
-- {{{ Menu
|
||||
-- Create a launcher widget and a main menu
|
||||
myawesomemenu = {
|
||||
{ "hotkeys", function() hotkeys_popup.show_help(nil, awful.screen.focused()) end },
|
||||
{ "restart", awesome.restart },
|
||||
{ "quit", function() awesome.quit() end },
|
||||
}
|
||||
|
||||
mymainmenu = awful.menu({ items = { { "awesome", myawesomemenu, beautiful.awesome_icon },
|
||||
}
|
||||
})
|
||||
|
||||
mylauncher = awful.widget.launcher({ image = beautiful.awesome_icon,
|
||||
menu = mymainmenu })
|
||||
|
||||
-- Keyboard map indicator and switcher
|
||||
mykeyboardlayout = awful.widget.keyboardlayout()
|
||||
|
||||
-- {{{ Wibar
|
||||
-- Create a textclock widget
|
||||
mytextclock = wibox.widget.textclock()
|
||||
|
||||
-- Create a wibox for each screen and add it
|
||||
local taglist_buttons = gears.table.join(
|
||||
awful.button({ }, 1, function(t) t:view_only() end),
|
||||
awful.button({ modkey }, 1, function(t)
|
||||
if client.focus then
|
||||
client.focus:move_to_tag(t)
|
||||
end
|
||||
end),
|
||||
awful.button({ }, 3, awful.tag.viewtoggle),
|
||||
awful.button({ modkey }, 3, function(t)
|
||||
if client.focus then
|
||||
client.focus:toggle_tag(t)
|
||||
end
|
||||
end),
|
||||
awful.button({ }, 4, function(t) awful.tag.viewnext(t.screen) end),
|
||||
awful.button({ }, 5, function(t) awful.tag.viewprev(t.screen) end)
|
||||
)
|
||||
|
||||
local tasklist_buttons = gears.table.join(
|
||||
awful.button({ }, 1, function (c)
|
||||
if c == client.focus then
|
||||
c.minimized = true
|
||||
else
|
||||
c:emit_signal(
|
||||
"request::activate",
|
||||
"tasklist",
|
||||
{raise = true}
|
||||
)
|
||||
end
|
||||
end),
|
||||
awful.button({ }, 3, function()
|
||||
awful.menu.client_list({ theme = { width = 250 } })
|
||||
end),
|
||||
awful.button({ }, 4, function ()
|
||||
awful.client.focus.byidx(1)
|
||||
end),
|
||||
awful.button({ }, 5, function ()
|
||||
awful.client.focus.byidx(-1)
|
||||
end))
|
||||
|
||||
local function set_wallpaper(s)
|
||||
-- Wallpaper
|
||||
if beautiful.wallpaper then
|
||||
local wallpaper = beautiful.wallpaper
|
||||
-- If wallpaper is a function, call it with the screen
|
||||
if type(wallpaper) == "function" then
|
||||
wallpaper = wallpaper(s)
|
||||
end
|
||||
gears.wallpaper.maximized(wallpaper, s, true)
|
||||
end
|
||||
end
|
||||
|
||||
-- Re-set wallpaper when a screen's geometry changes (e.g. different resolution)
|
||||
screen.connect_signal("property::geometry", set_wallpaper)
|
||||
|
||||
awful.screen.connect_for_each_screen(function(s)
|
||||
-- Wallpaper
|
||||
set_wallpaper(s)
|
||||
|
||||
-- Each screen has its own tag table.
|
||||
awful.tag({ "1", "2", "3", "4", "5", "6", "7", "8", "9" }, s, awful.layout.layouts[1])
|
||||
|
||||
-- Create a promptbox for each screen
|
||||
s.mypromptbox = awful.widget.prompt()
|
||||
-- Create an imagebox widget which will contain an icon indicating which layout we're using.
|
||||
-- We need one layoutbox per screen.
|
||||
s.mylayoutbox = awful.widget.layoutbox(s)
|
||||
s.mylayoutbox:buttons(gears.table.join(
|
||||
awful.button({ }, 1, function () awful.layout.inc( 1) end),
|
||||
awful.button({ }, 3, function () awful.layout.inc(-1) end),
|
||||
awful.button({ }, 4, function () awful.layout.inc( 1) end),
|
||||
awful.button({ }, 5, function () awful.layout.inc(-1) end)))
|
||||
-- Create a taglist widget
|
||||
s.mytaglist = awful.widget.taglist {
|
||||
screen = s,
|
||||
filter = awful.widget.taglist.filter.all,
|
||||
buttons = taglist_buttons
|
||||
}
|
||||
|
||||
-- Create a tasklist widget
|
||||
s.mytasklist = awful.widget.tasklist {
|
||||
screen = s,
|
||||
filter = awful.widget.tasklist.filter.currenttags,
|
||||
buttons = tasklist_buttons
|
||||
}
|
||||
|
||||
-- Create the wibox
|
||||
s.mywibox = awful.wibar({ position = "top", screen = s })
|
||||
|
||||
-- Add widgets to the wibox
|
||||
s.mywibox:setup {
|
||||
layout = wibox.layout.align.horizontal,
|
||||
{ -- Left widgets
|
||||
layout = wibox.layout.fixed.horizontal,
|
||||
mylauncher,
|
||||
s.mytaglist,
|
||||
s.mypromptbox,
|
||||
},
|
||||
s.mytasklist, -- Middle widget
|
||||
{ -- Right widgets
|
||||
layout = wibox.layout.fixed.horizontal,
|
||||
mykeyboardlayout,
|
||||
wibox.widget.systray(),
|
||||
mytextclock,
|
||||
s.mylayoutbox,
|
||||
},
|
||||
}
|
||||
end)
|
||||
-- }}}
|
||||
|
||||
-- {{{ Mouse bindings
|
||||
root.buttons(gears.table.join(
|
||||
awful.button({ }, 3, function () mymainmenu:toggle() end),
|
||||
awful.button({ }, 4, awful.tag.viewnext),
|
||||
awful.button({ }, 5, awful.tag.viewprev)
|
||||
))
|
||||
-- }}}
|
||||
|
||||
-- {{{ Key bindings
|
||||
globalkeys = gears.table.join(
|
||||
awful.key({ modkey, }, "s", hotkeys_popup.show_help,
|
||||
{description="show help", group="awesome"}),
|
||||
awful.key({ modkey, }, "Left", awful.tag.viewprev,
|
||||
{description = "view previous", group = "tag"}),
|
||||
awful.key({ modkey, }, "Right", awful.tag.viewnext,
|
||||
{description = "view next", group = "tag"}),
|
||||
awful.key({ modkey, }, "Escape", awful.tag.history.restore,
|
||||
{description = "go back", group = "tag"}),
|
||||
|
||||
awful.key({ modkey, }, "j",
|
||||
function ()
|
||||
awful.client.focus.byidx( 1)
|
||||
end,
|
||||
{description = "focus next by index", group = "client"}
|
||||
),
|
||||
awful.key({ modkey, }, "k",
|
||||
function ()
|
||||
awful.client.focus.byidx(-1)
|
||||
end,
|
||||
{description = "focus previous by index", group = "client"}
|
||||
),
|
||||
awful.key({ modkey, }, "w", function () mymainmenu:show() end,
|
||||
{description = "show main menu", group = "awesome"}),
|
||||
|
||||
-- Layout manipulation
|
||||
awful.key({ modkey, "Shift" }, "j", function () awful.client.swap.byidx( 1) end,
|
||||
{description = "swap with next client by index", group = "client"}),
|
||||
awful.key({ modkey, "Shift" }, "k", function () awful.client.swap.byidx( -1) end,
|
||||
{description = "swap with previous client by index", group = "client"}),
|
||||
awful.key({ modkey, "Control" }, "j", function () awful.screen.focus_relative( 1) end,
|
||||
{description = "focus the next screen", group = "screen"}),
|
||||
awful.key({ modkey, "Control" }, "k", function () awful.screen.focus_relative(-1) end,
|
||||
{description = "focus the previous screen", group = "screen"}),
|
||||
awful.key({ modkey, }, "u", awful.client.urgent.jumpto,
|
||||
{description = "jump to urgent client", group = "client"}),
|
||||
awful.key({ modkey, }, "Tab",
|
||||
function ()
|
||||
awful.client.focus.history.previous()
|
||||
if client.focus then
|
||||
client.focus:raise()
|
||||
end
|
||||
end,
|
||||
{description = "go back", group = "client"}),
|
||||
|
||||
-- Standard program
|
||||
awful.key({ modkey, "Control" }, "r", awesome.restart,
|
||||
{description = "reload awesome", group = "awesome"}),
|
||||
awful.key({ modkey, "Shift" }, "q", awesome.quit,
|
||||
{description = "quit awesome", group = "awesome"}),
|
||||
|
||||
awful.key({ modkey, }, "l", function () awful.tag.incmwfact( 0.05) end,
|
||||
{description = "increase master width factor", group = "layout"}),
|
||||
awful.key({ modkey, }, "h", function () awful.tag.incmwfact(-0.05) end,
|
||||
{description = "decrease master width factor", group = "layout"}),
|
||||
awful.key({ modkey, "Shift" }, "h", function () awful.tag.incnmaster( 1, nil, true) end,
|
||||
{description = "increase the number of master clients", group = "layout"}),
|
||||
awful.key({ modkey, "Shift" }, "l", function () awful.tag.incnmaster(-1, nil, true) end,
|
||||
{description = "decrease the number of master clients", group = "layout"}),
|
||||
awful.key({ modkey, "Control" }, "h", function () awful.tag.incncol( 1, nil, true) end,
|
||||
{description = "increase the number of columns", group = "layout"}),
|
||||
awful.key({ modkey, "Control" }, "l", function () awful.tag.incncol(-1, nil, true) end,
|
||||
{description = "decrease the number of columns", group = "layout"}),
|
||||
awful.key({ modkey, }, "space", function () awful.layout.inc( 1) end,
|
||||
{description = "select next", group = "layout"}),
|
||||
awful.key({ modkey, "Shift" }, "space", function () awful.layout.inc(-1) end,
|
||||
{description = "select previous", group = "layout"}),
|
||||
|
||||
awful.key({ modkey, "Control" }, "n",
|
||||
function ()
|
||||
local c = awful.client.restore()
|
||||
-- Focus restored client
|
||||
if c then
|
||||
c:emit_signal(
|
||||
"request::activate", "key.unminimize", {raise = true}
|
||||
)
|
||||
end
|
||||
end,
|
||||
{description = "restore minimized", group = "client"}),
|
||||
|
||||
-- Prompt
|
||||
awful.key({ modkey }, "r", function () awful.screen.focused().mypromptbox:run() end,
|
||||
{description = "run prompt", group = "launcher"}),
|
||||
|
||||
awful.key({ modkey }, "x",
|
||||
function ()
|
||||
awful.prompt.run {
|
||||
prompt = "Run Lua code: ",
|
||||
textbox = awful.screen.focused().mypromptbox.widget,
|
||||
exe_callback = awful.util.eval,
|
||||
history_path = awful.util.get_cache_dir() .. "/history_eval"
|
||||
}
|
||||
end,
|
||||
{description = "lua execute prompt", group = "awesome"})
|
||||
-- Menubar
|
||||
-- awful.key({ modkey }, "p", function() menubar.show() end,
|
||||
-- {description = "show the menubar", group = "launcher"})
|
||||
)
|
||||
|
||||
clientkeys = gears.table.join(
|
||||
awful.key({ modkey, }, "f",
|
||||
function (c)
|
||||
c.fullscreen = not c.fullscreen
|
||||
c:raise()
|
||||
end,
|
||||
{description = "toggle fullscreen", group = "client"}),
|
||||
awful.key({ modkey, "Shift" }, "c", function (c) c:kill() end,
|
||||
{description = "close", group = "client"}),
|
||||
awful.key({ modkey, "Control" }, "space", awful.client.floating.toggle ,
|
||||
{description = "toggle floating", group = "client"}),
|
||||
awful.key({ modkey, "Control" }, "Return", function (c) c:swap(awful.client.getmaster()) end,
|
||||
{description = "move to master", group = "client"}),
|
||||
awful.key({ modkey, }, "o", function (c) c:move_to_screen() end,
|
||||
{description = "move to screen", group = "client"}),
|
||||
awful.key({ modkey, }, "t", function (c) c.ontop = not c.ontop end,
|
||||
{description = "toggle keep on top", group = "client"}),
|
||||
awful.key({ modkey, }, "n",
|
||||
function (c)
|
||||
-- The client currently has the input focus, so it cannot be
|
||||
-- minimized, since minimized clients can't have the focus.
|
||||
c.minimized = true
|
||||
end ,
|
||||
{description = "minimize", group = "client"}),
|
||||
awful.key({ modkey, }, "m",
|
||||
function (c)
|
||||
c.maximized = not c.maximized
|
||||
c:raise()
|
||||
end ,
|
||||
{description = "(un)maximize", group = "client"}),
|
||||
awful.key({ modkey, "Control" }, "m",
|
||||
function (c)
|
||||
c.maximized_vertical = not c.maximized_vertical
|
||||
c:raise()
|
||||
end ,
|
||||
{description = "(un)maximize vertically", group = "client"}),
|
||||
awful.key({ modkey, "Shift" }, "m",
|
||||
function (c)
|
||||
c.maximized_horizontal = not c.maximized_horizontal
|
||||
c:raise()
|
||||
end ,
|
||||
{description = "(un)maximize horizontally", group = "client"})
|
||||
)
|
||||
|
||||
-- Bind all key numbers to tags.
|
||||
-- Be careful: we use keycodes to make it work on any keyboard layout.
|
||||
-- This should map on the top row of your keyboard, usually 1 to 9.
|
||||
for i = 1, 9 do
|
||||
globalkeys = gears.table.join(globalkeys,
|
||||
-- View tag only.
|
||||
awful.key({ modkey }, "#" .. i + 9,
|
||||
function ()
|
||||
local screen = awful.screen.focused()
|
||||
local tag = screen.tags[i]
|
||||
if tag then
|
||||
tag:view_only()
|
||||
end
|
||||
end,
|
||||
{description = "view tag #"..i, group = "tag"}),
|
||||
-- Toggle tag display.
|
||||
awful.key({ modkey, "Control" }, "#" .. i + 9,
|
||||
function ()
|
||||
local screen = awful.screen.focused()
|
||||
local tag = screen.tags[i]
|
||||
if tag then
|
||||
awful.tag.viewtoggle(tag)
|
||||
end
|
||||
end,
|
||||
{description = "toggle tag #" .. i, group = "tag"}),
|
||||
-- Move client to tag.
|
||||
awful.key({ modkey, "Shift" }, "#" .. i + 9,
|
||||
function ()
|
||||
if client.focus then
|
||||
local tag = client.focus.screen.tags[i]
|
||||
if tag then
|
||||
client.focus:move_to_tag(tag)
|
||||
end
|
||||
end
|
||||
end,
|
||||
{description = "move focused client to tag #"..i, group = "tag"}),
|
||||
-- Toggle tag on focused client.
|
||||
awful.key({ modkey, "Control", "Shift" }, "#" .. i + 9,
|
||||
function ()
|
||||
if client.focus then
|
||||
local tag = client.focus.screen.tags[i]
|
||||
if tag then
|
||||
client.focus:toggle_tag(tag)
|
||||
end
|
||||
end
|
||||
end,
|
||||
{description = "toggle focused client on tag #" .. i, group = "tag"})
|
||||
)
|
||||
end
|
||||
|
||||
clientbuttons = gears.table.join(
|
||||
awful.button({ }, 1, function (c)
|
||||
c:emit_signal("request::activate", "mouse_click", {raise = true})
|
||||
end),
|
||||
awful.button({ modkey }, 1, function (c)
|
||||
c:emit_signal("request::activate", "mouse_click", {raise = true})
|
||||
awful.mouse.client.move(c)
|
||||
end),
|
||||
awful.button({ modkey }, 3, function (c)
|
||||
c:emit_signal("request::activate", "mouse_click", {raise = true})
|
||||
awful.mouse.client.resize(c)
|
||||
end)
|
||||
)
|
||||
|
||||
-- Set keys
|
||||
root.keys(globalkeys)
|
||||
-- }}}
|
||||
|
||||
-- {{{ Rules
|
||||
-- Rules to apply to new clients (through the "manage" signal).
|
||||
awful.rules.rules = {
|
||||
-- All clients will match this rule.
|
||||
{ rule = { },
|
||||
properties = { border_width = beautiful.border_width,
|
||||
border_color = beautiful.border_normal,
|
||||
focus = awful.client.focus.filter,
|
||||
raise = true,
|
||||
keys = clientkeys,
|
||||
buttons = clientbuttons,
|
||||
screen = awful.screen.preferred,
|
||||
placement = awful.placement.no_overlap+awful.placement.no_offscreen
|
||||
}
|
||||
},
|
||||
|
||||
-- Floating clients.
|
||||
{ rule_any = {
|
||||
instance = {
|
||||
"DTA", -- Firefox addon DownThemAll.
|
||||
"copyq", -- Includes session name in class.
|
||||
"pinentry",
|
||||
},
|
||||
class = {
|
||||
"Arandr",
|
||||
"Blueman-manager",
|
||||
"Gpick",
|
||||
"Kruler",
|
||||
"MessageWin", -- kalarm.
|
||||
"Sxiv",
|
||||
"Tor Browser", -- Needs a fixed window size to avoid fingerprinting by screen size.
|
||||
"Wpa_gui",
|
||||
"veromix",
|
||||
"xtightvncviewer"},
|
||||
|
||||
-- Note that the name property shown in xprop might be set slightly after creation of the client
|
||||
-- and the name shown there might not match defined rules here.
|
||||
name = {
|
||||
"Event Tester", -- xev.
|
||||
},
|
||||
role = {
|
||||
"AlarmWindow", -- Thunderbird's calendar.
|
||||
"ConfigManager", -- Thunderbird's about:config.
|
||||
"pop-up", -- e.g. Google Chrome's (detached) Developer Tools.
|
||||
}
|
||||
}, properties = { floating = true }},
|
||||
|
||||
-- Add titlebars to normal clients and dialogs
|
||||
{ rule_any = {type = { "normal", "dialog" }
|
||||
}, properties = { titlebars_enabled = true }
|
||||
},
|
||||
|
||||
-- Set Firefox to always map on the tag named "2" on screen 1.
|
||||
-- { rule = { class = "Firefox" },
|
||||
-- properties = { screen = 1, tag = "2" } },
|
||||
}
|
||||
-- }}}
|
||||
|
||||
-- {{{ Signals
|
||||
-- Signal function to execute when a new client appears.
|
||||
client.connect_signal("manage", function (c)
|
||||
-- Set the windows at the slave,
|
||||
-- i.e. put it at the end of others instead of setting it master.
|
||||
-- if not awesome.startup then awful.client.setslave(c) end
|
||||
|
||||
if awesome.startup
|
||||
and not c.size_hints.user_position
|
||||
and not c.size_hints.program_position then
|
||||
-- Prevent clients from being unreachable after screen count changes.
|
||||
awful.placement.no_offscreen(c)
|
||||
end
|
||||
end)
|
||||
|
||||
-- Add a titlebar if titlebars_enabled is set to true in the rules.
|
||||
client.connect_signal("request::titlebars", function(c)
|
||||
-- buttons for the titlebar
|
||||
local buttons = gears.table.join(
|
||||
awful.button({ }, 1, function()
|
||||
c:emit_signal("request::activate", "titlebar", {raise = true})
|
||||
awful.mouse.client.move(c)
|
||||
end),
|
||||
awful.button({ }, 3, function()
|
||||
c:emit_signal("request::activate", "titlebar", {raise = true})
|
||||
awful.mouse.client.resize(c)
|
||||
end)
|
||||
)
|
||||
|
||||
awful.titlebar(c) : setup {
|
||||
{ -- Left
|
||||
awful.titlebar.widget.iconwidget(c),
|
||||
buttons = buttons,
|
||||
layout = wibox.layout.fixed.horizontal
|
||||
},
|
||||
{ -- Middle
|
||||
{ -- Title
|
||||
align = "center",
|
||||
widget = awful.titlebar.widget.titlewidget(c)
|
||||
},
|
||||
buttons = buttons,
|
||||
layout = wibox.layout.flex.horizontal
|
||||
},
|
||||
{ -- Right
|
||||
awful.titlebar.widget.floatingbutton (c),
|
||||
awful.titlebar.widget.maximizedbutton(c),
|
||||
awful.titlebar.widget.stickybutton (c),
|
||||
awful.titlebar.widget.ontopbutton (c),
|
||||
awful.titlebar.widget.closebutton (c),
|
||||
layout = wibox.layout.fixed.horizontal()
|
||||
},
|
||||
layout = wibox.layout.align.horizontal
|
||||
}
|
||||
end)
|
||||
|
||||
-- Enable sloppy focus, so that focus follows mouse.
|
||||
client.connect_signal("mouse::enter", function(c)
|
||||
c:emit_signal("request::activate", "mouse_enter", {raise = false})
|
||||
end)
|
||||
|
||||
client.connect_signal("focus", function(c) c.border_color = beautiful.border_focus end)
|
||||
client.connect_signal("unfocus", function(c) c.border_color = beautiful.border_normal end)
|
||||
-- }}}
|
47
cool-retro-term/profile
Normal file
47
cool-retro-term/profile
Normal file
|
@ -0,0 +1,47 @@
|
|||
{
|
||||
|
||||
"ambientLight": 0.302,
|
||||
|
||||
"backgroundColor": "#000000",
|
||||
|
||||
"bloom": 0.2747,
|
||||
|
||||
"brightness": 1,
|
||||
|
||||
"burnIn": 0.558,
|
||||
|
||||
"chromaColor": 1,
|
||||
|
||||
"contrast": 0.8789,
|
||||
|
||||
"flickering": 0,
|
||||
|
||||
"fontColor": "#00aa00",
|
||||
|
||||
"fontName": "PRO_FONT",
|
||||
|
||||
"fontWidth": 1,
|
||||
|
||||
"frameName": "ROUGH_BLACK_FRAME",
|
||||
|
||||
"glowingLine": 0.0904,
|
||||
|
||||
"horizontalSync": 0.2509,
|
||||
|
||||
"jitter": 0.1451,
|
||||
|
||||
"rasterization": 0,
|
||||
|
||||
"rbgShift": 0,
|
||||
|
||||
"saturationColor": 0.3976,
|
||||
|
||||
"screenCurvature": 0.1621,
|
||||
|
||||
"staticNoise": 0.0324,
|
||||
|
||||
"windowOpacity": 1,
|
||||
|
||||
"name": "Asciinema Green"
|
||||
|
||||
}
|
1
dot/file/Eterm/.Eterm
Symbolic link
1
dot/file/Eterm/.Eterm
Symbolic link
|
@ -0,0 +1 @@
|
|||
/home/jien/.Eterm
|
396
dot/file/Eterm/themes/Eterm/theme1.cfg
Normal file
396
dot/file/Eterm/themes/Eterm/theme1.cfg
Normal file
|
@ -0,0 +1,396 @@
|
|||
<Eterm-0.9.6>
|
||||
# ^- This must be the first line of any Eterm config file!
|
||||
# Format is: <Eterm-VERSION> where VERSION is replaced by
|
||||
# the version it was written for,
|
||||
# minus the "DR-" if any.
|
||||
#
|
||||
# This is a sample Eterm config file.
|
||||
#
|
||||
# As always, the authors guarantee absolutely nothing and take
|
||||
# no responsibility for anything that might happen to you, your
|
||||
# computer, your dog, your sex life, or anyone or anything else
|
||||
# directly or indirectly through the use of, or inability to use,
|
||||
# this program. Use at your OWN risk.
|
||||
|
||||
# Define the color properties
|
||||
begin color
|
||||
|
||||
# Foreground, background, cursor, scrollbar, pointer colors
|
||||
foreground #aaaaaa
|
||||
background black
|
||||
cursor #ffff00
|
||||
cursor_text #880000
|
||||
pointer white
|
||||
|
||||
# video attribute can either be "normal" or "reverse"
|
||||
video normal
|
||||
|
||||
# Redefine the 16 basic colors, if you really feel the need
|
||||
# First word is "color", next is the number (0-15, BD, or UL),
|
||||
# then the values for red, green, and blue separated by spaces
|
||||
# Numbers are base 10 unless preceded by "0x" (base 16) or '0'
|
||||
# (base 8). Alternatively, you can use color names or #xxxxxx
|
||||
# format.
|
||||
|
||||
# The colors below are taken from Rasterman's .Xdefaults file. They are intended to
|
||||
# display ANSI art properly when combined with a good ANSI-art font (like vga or
|
||||
# Rasterman's nexus font).
|
||||
# color 0 0 0 0
|
||||
# color 1 0xaa 0 0
|
||||
# color 2 0 0210 0
|
||||
# color 3 0xaa 0x55 0x22
|
||||
# color 4 0 0 0xaa
|
||||
# color 5 0xaa 0 0xaa
|
||||
# color 6 0 0xaa 0xaa
|
||||
# color 7 0xaa 0xaa 0xaa
|
||||
# color 8 0x44 0x44 0x44
|
||||
# color 9 0xff 0x44 0x44
|
||||
# color 10 0x44 0xff 0x44
|
||||
# color 11 0xff 0xff 0x44
|
||||
# color 12 0x44 0x44 0xff
|
||||
# color 13 0xff 0x44 0xff
|
||||
# color 14 0x44 0xff 0xff
|
||||
# color 15 #ffffff
|
||||
# color bd #ffffff
|
||||
# color ul #ffffff
|
||||
|
||||
# This ends the color section. Any text after the word "end" is
|
||||
# assumed to be a comment and ignored.
|
||||
end color
|
||||
|
||||
# The X11 attributes section. Should be fairly self-explanatory,
|
||||
# but if not, consult the X man page.
|
||||
begin attributes
|
||||
|
||||
# Geometry == widthxheight+x_offset+y_offset, offsets from top left
|
||||
# if +, bottom right if -
|
||||
# geometry 132x50+100+100
|
||||
# title %appname()
|
||||
# name %appname()
|
||||
# iconname Eterm
|
||||
|
||||
# Set the fonts. These must be monospace fonts. The values shown are
|
||||
# the Eterm defaults. The "bold" font is the font used if color BD has
|
||||
# not been set and Eterm cannot map the foreground color to one of the
|
||||
# high-intensity colors (8-15).
|
||||
# font default 2
|
||||
# font 0 5x7
|
||||
# font 1 6x10
|
||||
# font 2 fixed
|
||||
# font 3 8x13
|
||||
# font 4 9x15
|
||||
# font 5 10x20
|
||||
# font 6 12x24
|
||||
end attributes
|
||||
|
||||
# Define the imageclasses.
|
||||
begin imageclasses
|
||||
|
||||
# You must define this before setting any images that use it. This is the $PATH-style variable
|
||||
# that determines where Eterm looks for image files.
|
||||
path "./pix/:~/.Eterm/:~/.Eterm/themes/Eterm/pix:~/.Eterm/pix/:/usr/share/Eterm/pix/"
|
||||
|
||||
# If you want a different icon than the standard Eterm one, set this.
|
||||
# icon Eterm.xpm
|
||||
|
||||
# This is the background animator. See the man page for the syntax.
|
||||
# anim 3 foo1 foo2 foo3
|
||||
|
||||
# Here we define an image.
|
||||
begin image
|
||||
|
||||
# The first thing you set when defining an image MUST be the type. No type, no dice. The type
|
||||
# should be one of the following: background, up_arrow, down_arrow, left_arrow, right_arrow,
|
||||
# trough, anchor, menu, or submenu
|
||||
type background
|
||||
|
||||
# Next you should set the state. This is either normal, selected, or clicked.
|
||||
state normal
|
||||
|
||||
# Here you set the file. You can also set the geometry string here if you follow the filename with
|
||||
# an @ sign. That way, you can include the geometries in your pixmaps.list file.
|
||||
file %random(`cat pixmaps.list`)
|
||||
|
||||
# The mode line. This defines the startup mode for the image, as well as what modes are allowed.
|
||||
# Valid modes are "image" (to display the image file), "trans" (to be transparent), or "viewport"
|
||||
# (for viewport mode). Syntax is "mode <startup_mode> allow <allowed_modes>".
|
||||
mode image allow image trans viewport auto
|
||||
|
||||
# Set the image border. This is a portion of the image which will be kept at its actual size when
|
||||
# scaling. Use this for beveled images (buttons, etc.).
|
||||
border 0 0 0 0
|
||||
|
||||
# Th-th-th-th-that's all folks.
|
||||
end image
|
||||
|
||||
# The rest of the images.
|
||||
begin image
|
||||
type trough
|
||||
mode image allow image trans viewport auto
|
||||
state normal
|
||||
color black #666666
|
||||
file bar_vertical_3.png
|
||||
# Here is how you specify the geometry string separately. See the man page for its syntax.
|
||||
geom 100
|
||||
border 2 2 2 3
|
||||
end image
|
||||
begin image
|
||||
type anchor
|
||||
mode image allow image auto
|
||||
state normal
|
||||
color black #666666
|
||||
file bar_vertical_1.png
|
||||
geom 100
|
||||
border 2 2 2 3
|
||||
state selected
|
||||
file bar_vertical_2.png
|
||||
geom 100
|
||||
border 2 2 2 3
|
||||
end image
|
||||
begin image
|
||||
type thumb
|
||||
mode image allow image auto
|
||||
state normal
|
||||
color black #666666
|
||||
file thumb_1.png
|
||||
geom 100
|
||||
border 3 3 3 3
|
||||
state selected
|
||||
file thumb_2.png
|
||||
geom 100
|
||||
border 3 3 3 3
|
||||
end image
|
||||
begin image
|
||||
type up_arrow
|
||||
mode image allow image auto
|
||||
state normal
|
||||
color black #666666
|
||||
file button_arrow_up_1.png
|
||||
geom 100
|
||||
border 2 2 2 2
|
||||
state selected
|
||||
file button_arrow_up_2.png
|
||||
geom 100
|
||||
border 2 2 2 2
|
||||
state clicked
|
||||
file button_arrow_up_3.png
|
||||
geom 100
|
||||
border 2 2 2 2
|
||||
end image
|
||||
begin image
|
||||
type down_arrow
|
||||
mode image allow image auto
|
||||
state normal
|
||||
color black #666666
|
||||
file button_arrow_down_1.png
|
||||
geom 100
|
||||
border 2 2 2 2
|
||||
state selected
|
||||
file button_arrow_down_2.png
|
||||
geom 100
|
||||
border 2 2 2 2
|
||||
state clicked
|
||||
file button_arrow_down_3.png
|
||||
geom 100
|
||||
border 2 2 2 2
|
||||
end image
|
||||
begin image
|
||||
type menu
|
||||
mode image allow image auto
|
||||
state normal
|
||||
color black #999999
|
||||
file bar_horizontal_1.png
|
||||
geom 100
|
||||
border 2 3 2 3
|
||||
state selected
|
||||
file bar_horizontal_2.png
|
||||
geom 100
|
||||
border 2 3 2 3
|
||||
end image
|
||||
begin image
|
||||
type submenu
|
||||
mode image allow image auto
|
||||
state normal
|
||||
color black #999999
|
||||
file menu1.png
|
||||
geom 100
|
||||
border 3 15 3 3
|
||||
padding 3 15 3 3
|
||||
state selected
|
||||
file menu2.png
|
||||
geom 100
|
||||
border 3 15 3 3
|
||||
padding 3 15 3 3
|
||||
state clicked
|
||||
file menu3.png
|
||||
geom 100
|
||||
border 3 15 3 3
|
||||
padding 3 15 3 3
|
||||
end image
|
||||
begin image
|
||||
type button_bar
|
||||
mode image allow image auto
|
||||
state normal
|
||||
color black #999999
|
||||
file bar_horizontal_1.png
|
||||
geom 100
|
||||
border 2 3 2 2
|
||||
state disabled
|
||||
color white #333333
|
||||
cmod image 0xc0
|
||||
border 2 3 2 2
|
||||
end image
|
||||
begin image
|
||||
type button
|
||||
mode image allow image auto
|
||||
state normal
|
||||
color black #cccccc
|
||||
file bar_horizontal_1.png
|
||||
geom 100
|
||||
border 2 3 2 2
|
||||
state selected
|
||||
file bar_horizontal_2.png
|
||||
geom 100
|
||||
border 2 3 2 2
|
||||
state clicked
|
||||
file bar_horizontal_3.png
|
||||
geom 100
|
||||
border 2 3 2 2
|
||||
end image
|
||||
end
|
||||
|
||||
%include "menus.cfg"
|
||||
|
||||
# This section *must* come after the menu definitions if you want
|
||||
# menu actions to work. C'est la vie. :-)
|
||||
#
|
||||
# Syntax: bind [ { <modifiers> | anymod } ] { <key> | <keysym> | <button> } to { string | echo | menu } <parameter>
|
||||
#
|
||||
begin actions
|
||||
bind ctrl button1 to string "\e]5;\a"
|
||||
bind ctrl button2 to string "\e[?30t"
|
||||
bind ctrl button3 to menu Eterm
|
||||
bind ctrl shift button3 to string "\e]6;14\a"
|
||||
end actions
|
||||
|
||||
# This section must also come after the menus if you want any buttons
|
||||
# to launch menus. (If not, it can go anywhere.)
|
||||
begin button_bar
|
||||
|
||||
# Specify a font. The default buttonbar font is the default terminal
|
||||
# font as defined in the attributes section above.
|
||||
font "-adobe-helvetica-medium-r-normal--10-100-75-75-p-56-iso8859-1"
|
||||
|
||||
# Add a button. The syntax is:
|
||||
# button <text> [ icon <filename> ] action { string | echo | menu } <parameter>
|
||||
#
|
||||
button Eterm action menu "Eterm Operations"
|
||||
button Font action menu Font
|
||||
button Background action menu Background
|
||||
button Terminal action menu Terminal
|
||||
rbutton icon help.png action script "spawn(Eterm -e man Eterm)"
|
||||
rbutton icon exit.png action script "exit"
|
||||
end button_bar
|
||||
|
||||
# The XIM support options.
|
||||
# input_method: set the name of your favorate input method program
|
||||
# preedit_type: OverTheSpot or OffTheSpot or Root
|
||||
# begin xim
|
||||
# input_method Ami
|
||||
# preedit_type OverTheSpot
|
||||
# end xim
|
||||
|
||||
# Boolean variables. The values can be "1", "on", or "true" for TRUE, or "0",
|
||||
# "off", or "false" for FALSE.
|
||||
begin toggles
|
||||
|
||||
# If true, Eterm will un-iconify itself when it receives a beep (ASCII 0x07)
|
||||
map_alert on
|
||||
|
||||
# If true, Eterm will flash rather than sending a beep.
|
||||
visual_bell off
|
||||
|
||||
# If true, Eterm will prepend '-' to the shell name when calling it.
|
||||
login_shell true
|
||||
|
||||
# If true, Eterm will display the scroll bar
|
||||
scrollbar on
|
||||
|
||||
# If true, Eterm will attempt to make an entry in the utmp file to record the
|
||||
# login information. Eterm *must* run privileged to do this.
|
||||
utmp_logging on
|
||||
|
||||
|
||||
# If true, Eterm will select the whole line when you triple click on the
|
||||
# window, instead of from that location/word to the end of the line.
|
||||
select_line false
|
||||
|
||||
# If true, Eterm will handle the Meta (Alt) + keypress to set the 8th bit.
|
||||
# If false, Eterm will handle the Meta + keypress as an escape prefix. (default)
|
||||
# meta8 false
|
||||
|
||||
# If true, Eterm will start iconified.
|
||||
iconic false
|
||||
|
||||
# If true, Eterm will jump to the bottom of the window when something is output
|
||||
# to the terminal.
|
||||
home_on_output 1
|
||||
|
||||
# If true, Eterm will jump to the bottom of the window when a key is pressed.
|
||||
home_on_input 1
|
||||
|
||||
# If true, Eterm will put the scrollbar on the right of the window (default is left).
|
||||
scrollbar_right true
|
||||
|
||||
# If true, the scrollbar will have no trough.
|
||||
scrollbar_floating false
|
||||
|
||||
# If true, Eterm will run with no window borders.
|
||||
borderless false
|
||||
|
||||
# If true, Eterm will use a double-buffered background pixmap for drawing text. This
|
||||
# makes redraws faster by reducing exposes, but it uses more memory. If you have the
|
||||
# memory to spare, it's a good idea.
|
||||
# double_buffer true
|
||||
|
||||
end toggles
|
||||
|
||||
begin keyboard
|
||||
|
||||
# Use the supplied keysym to reduce/enlarge the font
|
||||
smallfont_key LessThan
|
||||
bigfont_key GreaterThan
|
||||
|
||||
# You can also associate a given keysym (0xff00 - 0xffff) with a string
|
||||
# keysym 0xffff "\r\n\e\007\t"
|
||||
|
||||
# Greek keyboard mode. First the word "greek", then its boolean
|
||||
# state, then its mode (either "iso" or "ibm").
|
||||
# greek off iso
|
||||
end keyboard
|
||||
|
||||
begin misc
|
||||
|
||||
# The command to which to pipe print requests (printscreen)
|
||||
# print_pipe "lpr"
|
||||
|
||||
# The number of lines in the scrollback buffer. More lines, more memory needed.
|
||||
save_lines 1024
|
||||
|
||||
# The characters to use as word delimiters for double-click selection
|
||||
cut_chars "\t\\\`\\\"\'&() *,;<=>?@[]{|}"
|
||||
|
||||
# Defines the width of the border between the terminal window and the client window.
|
||||
# (Default is 5).
|
||||
border_width 5
|
||||
|
||||
# Defines the number of pixels to add between lines (default is 0).
|
||||
# line_space 2
|
||||
|
||||
# Value to use for $TERM
|
||||
term_name Eterm
|
||||
|
||||
# Program to exec (intended for use with themes)
|
||||
# exec foo
|
||||
|
||||
end misc
|
111
dot/file/Eterm/themes/Eterm/user.cfg
Normal file
111
dot/file/Eterm/themes/Eterm/user.cfg
Normal file
|
@ -0,0 +1,111 @@
|
|||
<Eterm-0.9.6>
|
||||
# ^^^^^ Check this version-number!
|
||||
|
||||
# Safe this file as: ~/.Eterm/themes/Eterm/user.cfg
|
||||
|
||||
# To debug errors with Eterm you should start Eterm from a term. (Yes
|
||||
# surrounder, any term)
|
||||
|
||||
# $Id: Eterm.cfg,v 1.1 2003/09/16 19:52:19 han Exp $
|
||||
|
||||
# Just set a transparent background
|
||||
begin imageclasses
|
||||
begin image
|
||||
type background
|
||||
mode trans
|
||||
end image
|
||||
end
|
||||
|
||||
# Color properties
|
||||
begin color
|
||||
#black
|
||||
color 0 #000000
|
||||
#red
|
||||
color 1 #e01010
|
||||
#green
|
||||
color 2 #20ad20
|
||||
#yellow
|
||||
color 3 #d4c24f
|
||||
#blue
|
||||
color 4 #231bb8
|
||||
#purple
|
||||
color 5 #9c3885
|
||||
#cyan
|
||||
color 6 #1dbdb8
|
||||
#white
|
||||
color 7 #fefefe
|
||||
#bright-black
|
||||
color 8 #6a6a6a
|
||||
#bright-red
|
||||
color 9 #e83a3d
|
||||
#bright-green
|
||||
color 10 #35e956
|
||||
#bright-yellow
|
||||
color 11 #ffff2f
|
||||
#bright-blue
|
||||
color 12 #3a53f0
|
||||
#bright-purple
|
||||
color 13 #e628ba
|
||||
#bright-cyan
|
||||
color 14 #1cf5f5
|
||||
#bright-white
|
||||
color 15 #ffffff
|
||||
# *bold*
|
||||
color bd lightyellow
|
||||
# _underlined_
|
||||
color ul red
|
||||
cursor wheat
|
||||
# Textcolor
|
||||
foreground grey80
|
||||
end color
|
||||
|
||||
begin attributes
|
||||
font default 2
|
||||
font 0 5x7
|
||||
font 1 6x10
|
||||
font 2 fixed
|
||||
font 3 8x13
|
||||
font 4 9x15
|
||||
font 5 10x20
|
||||
font 6 12x24
|
||||
#font 0 -misc-fixed-medium-r-normal--7-*-*-*-c-*-iso8859-1
|
||||
#font 1 -misc-fixed-medium-r-normal--10-*-*-*-c-*-iso8859-1
|
||||
#font 2 -misc-fixed-medium-r-semicondensed--13-*-*-*-c-*-iso8859-1
|
||||
#font 3 -misc-fixed-medium-r-normal--13-*-*-*-c-*-iso8859-1
|
||||
#font 4 -TTF-DroidSans-medium-r-normal
|
||||
#--18-120-75-75-c-90-iso8859-1
|
||||
# font 5 10x20
|
||||
# font 6 12x24
|
||||
# font fx outline black
|
||||
font fx grey
|
||||
end attributes
|
||||
|
||||
|
||||
begin toggles
|
||||
buttonbar 0
|
||||
map_alert 0
|
||||
visual_bell 1
|
||||
login_shell 1
|
||||
utmp_logging 0
|
||||
select_line 1
|
||||
home_on_output 0
|
||||
home_on_input 0
|
||||
scrollbar 0
|
||||
scrollbar_right 1
|
||||
scrollbar_floating 0
|
||||
borderless 1
|
||||
end toggles
|
||||
|
||||
begin misc
|
||||
save_lines 2048
|
||||
cut_chars "\t\\\`\\\"\'() *,;<>@[]{|}"
|
||||
border_width 0
|
||||
end misc
|
||||
|
||||
begin actions
|
||||
# Force the backspace key to send ^?
|
||||
bind 0xff08 to echo '^?'
|
||||
|
||||
# Make the mail key open mutt
|
||||
#bind 0x1008ff19 to script 'exec(Eterm -t mutt)'
|
||||
end
|
103
dot/file/Eterm/themes/Eterm/user.cfg2
Normal file
103
dot/file/Eterm/themes/Eterm/user.cfg2
Normal file
|
@ -0,0 +1,103 @@
|
|||
<Eterm-0.9.6>
|
||||
# ^^^^^ Check this version-number!
|
||||
|
||||
# Safe this file as: ~/.Eterm/themes/Eterm/user.cfg
|
||||
|
||||
# To debug errors with Eterm you should start Eterm from a term. (Yes
|
||||
# surrounder, any term)
|
||||
|
||||
# $Id: Eterm.cfg,v 1.1 2003/09/16 19:52:19 han Exp $
|
||||
|
||||
# Just set a transparent background
|
||||
begin imageclasses
|
||||
begin image
|
||||
type background
|
||||
mode trans
|
||||
end image
|
||||
end
|
||||
|
||||
# Color properties
|
||||
begin color
|
||||
#black
|
||||
color 0 #000000
|
||||
#red
|
||||
color 1 #e01010
|
||||
#green
|
||||
color 2 #20ad20
|
||||
#yellow
|
||||
color 3 #d4c24f
|
||||
#blue
|
||||
color 4 #231bb8
|
||||
#purple
|
||||
color 5 #9c3885
|
||||
#cyan
|
||||
color 6 #1dbdb8
|
||||
#white
|
||||
color 7 #fefefe
|
||||
#bright-black
|
||||
color 8 #6a6a6a
|
||||
#bright-red
|
||||
color 9 #e83a3d
|
||||
#bright-green
|
||||
color 10 #35e956
|
||||
#bright-yellow
|
||||
color 11 #ffff2f
|
||||
#bright-blue
|
||||
color 12 #3a53f0
|
||||
#bright-purple
|
||||
color 13 #e628ba
|
||||
#bright-cyan
|
||||
color 14 #1cf5f5
|
||||
#bright-white
|
||||
color 15 #ffffff
|
||||
# *bold*
|
||||
color bd lightyellow
|
||||
# _underlined_
|
||||
color ul red
|
||||
cursor wheat
|
||||
# Textcolor
|
||||
foreground grey80
|
||||
end color
|
||||
|
||||
begin attributes
|
||||
font default 4
|
||||
font 0 -misc-fixed-medium-r-normal--7-*-*-*-c-*-iso8859-1
|
||||
font 1 -misc-fixed-medium-r-normal--10-*-*-*-c-*-iso8859-1
|
||||
font 2 -misc-fixed-medium-r-semicondensed--13-*-*-*-c-*-iso8859-1
|
||||
font 3 -misc-fixed-medium-r-normal--13-*-*-*-c-*-iso8859-1
|
||||
font 4 -misc-medium-r-normal--18-120-75-75-c-90-iso8859-1
|
||||
font 5 10x20
|
||||
font 6 12x24
|
||||
# font fx outline black
|
||||
font fx br grey25
|
||||
end attributes
|
||||
|
||||
|
||||
begin toggles
|
||||
buttonbar 0
|
||||
map_alert 0
|
||||
visual_bell 1
|
||||
login_shell 1
|
||||
utmp_logging 0
|
||||
select_line 1
|
||||
home_on_output 0
|
||||
home_on_input 0
|
||||
scrollbar 0
|
||||
scrollbar_right 1
|
||||
scrollbar_floating 0
|
||||
borderless 1
|
||||
end toggles
|
||||
|
||||
begin misc
|
||||
save_lines 2048
|
||||
cut_chars "\t\\\`\\\"\'() *,;<>@[]{|}"
|
||||
border_width 0
|
||||
end misc
|
||||
|
||||
begin actions
|
||||
# Force the backspace key to send ^?
|
||||
bind 0xff08 to echo '^?'
|
||||
|
||||
# Make the mail key open mutt
|
||||
#bind 0x1008ff19 to script 'exec(Eterm -t mutt)'
|
||||
end
|
1
dot/file/Eterm/user.cfg
Normal file
1
dot/file/Eterm/user.cfg
Normal file
|
@ -0,0 +1 @@
|
|||
ehasuheaot
|
1
dot/file/bash_profile
Symbolic link
1
dot/file/bash_profile
Symbolic link
|
@ -0,0 +1 @@
|
|||
./profile
|
4
dot/file/bashrc
Normal file
4
dot/file/bashrc
Normal file
|
@ -0,0 +1,4 @@
|
|||
test -r "$LOGIN" && . "$LOGIN"
|
||||
test -r "$SETENV" && . "$SETENV" && setenv bash
|
||||
export PS1="$SHPROMPT"
|
||||
|
22
dot/file/gitconfig
Normal file
22
dot/file/gitconfig
Normal file
|
@ -0,0 +1,22 @@
|
|||
[user]
|
||||
name = k1574
|
||||
email = k1574@yandex.ru
|
||||
[alias]
|
||||
co = checkout
|
||||
ci = commit
|
||||
cl = clone
|
||||
clr = clone --recursive
|
||||
st = status
|
||||
ad = add
|
||||
br = branch
|
||||
df = diff
|
||||
sm = submodule
|
||||
rt = remote
|
||||
rs = reset
|
||||
sh = stash
|
||||
ps = push
|
||||
pl = pull
|
||||
fc = fetch
|
||||
lg = log
|
||||
type = cat-file -t
|
||||
dump = cat-file -p
|
64
dot/file/mostrc
Normal file
64
dot/file/mostrc
Normal file
|
@ -0,0 +1,64 @@
|
|||
% This is an example configuration file that provides a `less' emulation
|
||||
% for MOST.
|
||||
%
|
||||
% The format is simple:
|
||||
% setkey <function-name> <key-name>
|
||||
% unsetkey <key-name>
|
||||
% color <object-name> <fg> <bg>
|
||||
%
|
||||
% Here <key-name> must be enclosed in double quotes. '^' represents Ctrl.
|
||||
% The function name is not in double quotes.
|
||||
%
|
||||
%
|
||||
% When MOST starts up, it looks for a keymap file given by the environment
|
||||
% variable MOST_INITFILE. If that environment variable does not exist,
|
||||
% MOST will look in the users HOME directory for .mostrc on Unix systems
|
||||
% and MOST.RC on VMS systems.
|
||||
%
|
||||
% The file `most.rc' contains a listing of the default MOST keybindings.
|
||||
|
||||
% Color settings
|
||||
|
||||
color normal lightgray black
|
||||
color status yellow blue
|
||||
color underline brightgreen black
|
||||
color overstrike brightred black
|
||||
|
||||
% Keybindings
|
||||
|
||||
unsetkey "^K"
|
||||
setkey up "^K"
|
||||
|
||||
unsetkey ":"
|
||||
setkey next_file ":n"
|
||||
setkey find_file ":e"
|
||||
setkey next_file ":p"
|
||||
setkey toggle_options ":o"
|
||||
setkey toggle_case ":c"
|
||||
setkey delete_file ":d"
|
||||
setkey exit ":q"
|
||||
|
||||
setkey down "e"
|
||||
setkey down "E"
|
||||
setkey down "j"
|
||||
setkey down "^N"
|
||||
setkey up "y"
|
||||
setkey up "^Y"
|
||||
setkey up "k"
|
||||
setkey up "^P"
|
||||
setkey page_down "f"
|
||||
setkey page_down "^F"
|
||||
setkey page_up "b"
|
||||
setkey page_up "^B"
|
||||
setkey other_window "z"
|
||||
setkey other_window "w"
|
||||
setkey search_backward "?"
|
||||
setkey bob "p"
|
||||
setkey goto_mark "'"
|
||||
setkey find_file "E"
|
||||
setkey edit "v"
|
||||
setkey bob "^[[7~"
|
||||
setkey eob "^[[8~"
|
||||
setkey bob "^[OH"
|
||||
setkey eob "^[OF"
|
||||
|
4
dot/file/nethackrc
Normal file
4
dot/file/nethackrc
Normal file
|
@ -0,0 +1,4 @@
|
|||
OPTIONS=boulder:0,color
|
||||
OPTIONS=!cmdassist
|
||||
OPTIONS=!rest_on_space
|
||||
OPTIONS=!autopickup,!autodig
|
62
dot/file/profile
Executable file
62
dot/file/profile
Executable file
|
@ -0,0 +1,62 @@
|
|||
#!/bin/sh
|
||||
# k1574's profile.
|
||||
|
||||
export_loop(){
|
||||
# Chore, because I'm lazy to type "export" so many times.
|
||||
# Standard "export" command takes arguments
|
||||
# from variables from the start, but I want to
|
||||
# use other variables in definition for next of them.
|
||||
while [ ! -z "$1" ] ; do
|
||||
# Doing until we have arguments.
|
||||
value="$(eval echo $2)"
|
||||
name="$1"
|
||||
export "$name"="$value"
|
||||
shift 2
|
||||
done
|
||||
}
|
||||
|
||||
# Standard variables.
|
||||
export_loop \
|
||||
ENV '$HOME/.shrc' \
|
||||
SHPROMPT '"% "' \
|
||||
PS1 '"$SHPROMPT"' \
|
||||
SUDO_PROMPT '"#"' \
|
||||
EDITOR 'ed' \
|
||||
VISUAL 'vi' \
|
||||
GIT_EDITOR '$VISUAL' \
|
||||
PAGER 'less' \
|
||||
MANPAGER '$PAGER' \
|
||||
PROFILE '$HOME/.profile' \
|
||||
TXT '$HOME/txt' \
|
||||
TMPL '$HOME/tmpl' \
|
||||
APP '$HOME/APP' \
|
||||
ENVDIR '$LOCAL/env' \
|
||||
GIT '$LOCAL/git' \
|
||||
ETC '$LOCAL/etc' \
|
||||
SETENV '$ETC/env/setenv' \
|
||||
TMP '$LOCAL/tmp' \
|
||||
SHR '$LOCAL/shr' \
|
||||
MNT '$HOME/mnt' \
|
||||
EXE '$EXE/bin' \
|
||||
GOPATH '$APP/go' \
|
||||
GOEXE '$GOPATH/bin'\
|
||||
VPATH '$DEV/v'\
|
||||
VEXE '$VPATH'\
|
||||
PLAN9BASE '/usr/local/plan9' \
|
||||
PLAN9PORT '$APP/plan9' \
|
||||
PLAN9 '$PLAN9PORT' \
|
||||
INFERNO '$APP/inferno' \
|
||||
LIB '$HOME/lib' \
|
||||
IMG '$HOME/img' \
|
||||
SND '$HOME/snd' \
|
||||
DOC '$HOME/doc' \
|
||||
VID '$HOME/vid' \
|
||||
LOAD '$HOME/load' \
|
||||
XDG_CONFIG_HOME '$LIB' \
|
||||
XDG_RUNTIME_DIR '$TMP' \
|
||||
XDG_DATA_HOME '$APP' \
|
||||
LOGIN '$LIB/login/sh' \
|
||||
PATH '$EXE:$PATH:$GOEXE:$PLAN9BASE/bin:$PLAN9PORT/bin:$VEXE' \
|
||||
|
||||
test -r $SETENV && . "$SETENV.sh" && setenv profile
|
||||
|
3
dot/file/radare2rc
Normal file
3
dot/file/radare2rc
Normal file
|
@ -0,0 +1,3 @@
|
|||
e scr.color=false
|
||||
scr.color.bytes=false
|
||||
e cmd.prompt='@'
|
1
dot/file/rcrc
Symbolic link
1
dot/file/rcrc
Symbolic link
|
@ -0,0 +1 @@
|
|||
../lib/profile
|
76
dot/file/samrc
Normal file
76
dot/file/samrc
Normal file
|
@ -0,0 +1,76 @@
|
|||
# This is samrc as I usually use it.
|
||||
|
||||
# Control-A/E jumps to beginning/end of line
|
||||
bind C a command bol
|
||||
bind C e command eol
|
||||
|
||||
# Control-H/L/J/K moves left/right/down/up
|
||||
bind C h command charleft
|
||||
bind C l command charright
|
||||
bind C j command linedown
|
||||
bind C k command lineup
|
||||
|
||||
# Scrolling as in "less".
|
||||
bind C f command scrolldown
|
||||
bind C b command scrollup
|
||||
|
||||
# Control-Space highlights recent text
|
||||
bind C space command escape
|
||||
|
||||
# Escape jumps between command file and current file
|
||||
bind * Escape command jump
|
||||
|
||||
# Control-U and Control-Shift-BackSpace deletes to beginning of line
|
||||
bind C u command delbol
|
||||
bind CS BackSpace command delbol
|
||||
|
||||
# Control-W/BackSpace deletes previous word
|
||||
bind C w command delword
|
||||
bind C BackSpace command delword
|
||||
|
||||
# Control-X/C/V/Q does cut/snarf/paste/exchange
|
||||
bind C x command cut
|
||||
bind C c command snarf
|
||||
bind C v command paste
|
||||
bind C q command exchange
|
||||
|
||||
# Arrow keys and Page Up/Down work as expected
|
||||
bind * Up command lineup
|
||||
bind * Down command linedown
|
||||
bind * Left command charleft
|
||||
bind * Right command charright
|
||||
bind * Prior command scrollup
|
||||
bind * Next command scrolldown
|
||||
|
||||
# All of the default movement key sequences were rebound as something else,
|
||||
# except for Control-D. Let's remove any special handling for that binding.
|
||||
unbind C d
|
||||
|
||||
# Control-Z sends an undo command.
|
||||
bind C z command send u
|
||||
|
||||
# Control-Return inserts a line below the current one
|
||||
bind C Return command send +-a/\n/
|
||||
|
||||
# Control-S writes the file, Control-Shift-S writes all files.
|
||||
bind C s command write
|
||||
bind CS s command send X w
|
||||
|
||||
# Control-N does a search, Control-Shift-N does a look
|
||||
bind C n command search
|
||||
bind CS n command look
|
||||
|
||||
# Font.
|
||||
font Consolas:size=12
|
||||
|
||||
# Use black for text and borders, and an angry fruit salad for backgrounds.
|
||||
foreground black
|
||||
border black
|
||||
background white
|
||||
|
||||
# Expand tabs and have tabstops every four columns
|
||||
tabs 4
|
||||
#expandtabs true
|
||||
|
||||
# Automatically indent lines
|
||||
autoindent true
|
94
dot/file/screenrc
Normal file
94
dot/file/screenrc
Normal file
|
@ -0,0 +1,94 @@
|
|||
#
|
||||
# This is an example for the global screenrc file.
|
||||
# You may want to install this file as /usr/local/etc/screenrc.
|
||||
# Check config.h for the exact location.
|
||||
#
|
||||
# Flaws of termcap and standard settings are done here.
|
||||
#
|
||||
|
||||
#startup_message off
|
||||
|
||||
#defflow on # will force screen to process ^S/^Q
|
||||
|
||||
deflogin on
|
||||
#autodetach off
|
||||
|
||||
vbell on
|
||||
vbell_msg " Wuff ---- Wuff!! "
|
||||
|
||||
# all termcap entries are now duplicated as terminfo entries.
|
||||
# only difference should be the slightly modified syntax, and check for
|
||||
# terminfo entries, that are already corected in the database.
|
||||
#
|
||||
# G0 we have a SEMI-GRAPHICS-CHARACTER-MODE
|
||||
# WS this sequence resizes our window.
|
||||
# cs this sequence changes the scrollregion
|
||||
# hs@ we have no hardware statusline. screen will only believe that
|
||||
# there is a hardware status line if hs,ts,fs,ds are all set.
|
||||
# ts to statusline
|
||||
# fs from statusline
|
||||
# ds delete statusline
|
||||
# al add one line
|
||||
# AL add multiple lines
|
||||
# dl delete one line
|
||||
# DL delete multiple lines
|
||||
# ic insert one char (space)
|
||||
# IC insert multiple chars
|
||||
# nx terminal uses xon/xoff
|
||||
|
||||
termcap facit|vt100|xterm LP:G0
|
||||
terminfo facit|vt100|xterm LP:G0
|
||||
|
||||
#the vt100 description does not mention "dl". *sigh*
|
||||
termcap vt100 dl=5\E[M
|
||||
terminfo vt100 dl=5\E[M
|
||||
|
||||
#facit's "al" / "dl" are buggy if the current / last line
|
||||
#contain attributes...
|
||||
termcap facit al=\E[L\E[K:AL@:dl@:DL@:cs=\E[%i%d;%dr:ic@
|
||||
terminfo facit al=\E[L\E[K:AL@:dl@:DL@:cs=\E[%i%p1%d;%p2%dr:ic@
|
||||
|
||||
#make sun termcap/info better
|
||||
termcap sun 'up=^K:AL=\E[%dL:DL=\E[%dM:UP=\E[%dA:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:IC=\E[%d@:WS=1000\E[8;%d;%dt'
|
||||
terminfo sun 'up=^K:AL=\E[%p1%dL:DL=\E[%p1%dM:UP=\E[%p1%dA:DO=\E[%p1%dB:LE=\E[%p1%dD:RI=\E[%p1%dC:IC=\E[%p1%d@:WS=\E[8;%p1%d;%p2%dt$<1000>'
|
||||
|
||||
#xterm understands both im/ic and doesn't have a status line.
|
||||
#Note: Do not specify im and ic in the real termcap/info file as
|
||||
#some programs (e.g. vi) will (no,no, may (jw)) not work anymore.
|
||||
termcap xterm|fptwist hs@:cs=\E[%i%d;%dr:im=\E[4h:ei=\E[4l
|
||||
terminfo xterm|fptwist hs@:cs=\E[%i%p1%d;%p2%dr:im=\E[4h:ei=\E[4l
|
||||
|
||||
# Long time I had this in my private screenrc file. But many people
|
||||
# seem to want it (jw):
|
||||
# we do not want the width to change to 80 characters on startup:
|
||||
# on suns, /etc/termcap has :is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l:
|
||||
termcap xterm 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l'
|
||||
terminfo xterm 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l'
|
||||
|
||||
#
|
||||
# Do not use xterms alternate window buffer.
|
||||
# This one would not add lines to the scrollback buffer.
|
||||
termcap xterm|xterms|xs ti=\E7\E[?47l
|
||||
terminfo xterm|xterms|xs ti=\E7\E[?47l
|
||||
|
||||
#make hp700 termcap/info better
|
||||
termcap hp700 'Z0=\E[?3h:Z1=\E[?3l:hs:ts=\E[62"p\E[0$~\E[2$~\E[1$}:fs=\E[0}\E[61"p:ds=\E[62"p\E[1$~\E[61"p:ic@'
|
||||
terminfo hp700 'Z0=\E[?3h:Z1=\E[?3l:hs:ts=\E[62"p\E[0$~\E[2$~\E[1$}:fs=\E[0}\E[61"p:ds=\E[62"p\E[1$~\E[61"p:ic@'
|
||||
|
||||
#wyse-75-42 must have defflow control (xo = "terminal uses xon/xoff")
|
||||
#(nowadays: nx = padding doesn't work, have to use xon/off)
|
||||
#essential to have it here, as this is a slow terminal.
|
||||
termcap wy75-42 nx:xo:Z0=\E[?3h\E[31h:Z1=\E[?3l\E[31h
|
||||
terminfo wy75-42 nx:xo:Z0=\E[?3h\E[31h:Z1=\E[?3l\E[31h
|
||||
|
||||
#remove some stupid / dangerous key bindings
|
||||
bind ^k
|
||||
#bind L
|
||||
bind ^\
|
||||
#make them better
|
||||
bind \\ quit
|
||||
bind K kill
|
||||
bind I login on
|
||||
bind O login off
|
||||
bind } history
|
||||
|
13
dot/file/shrc
Normal file
13
dot/file/shrc
Normal file
|
@ -0,0 +1,13 @@
|
|||
#!/bin/sh
|
||||
|
||||
if test -r "$LOGIN.sh" ; then
|
||||
. "$LOGIN.sh"
|
||||
fi
|
||||
|
||||
|
||||
PS1="$SHPROMPT"
|
||||
|
||||
if test -r "$SETENV.sh" ; then
|
||||
. "$SETENV.sh"
|
||||
setenv sh
|
||||
fi
|
5
dot/file/tmux.conf
Normal file
5
dot/file/tmux.conf
Normal file
|
@ -0,0 +1,5 @@
|
|||
unbind C-b
|
||||
set -g prefix C-t
|
||||
set-option -g status-position top
|
||||
set -g status-bg white
|
||||
set -g status-fg black
|
1
dot/file/vifm/.vifm
Symbolic link
1
dot/file/vifm/.vifm
Symbolic link
|
@ -0,0 +1 @@
|
|||
/home/jien/.vifm
|
5899
dot/file/vifm/vifm-help.txt
Normal file
5899
dot/file/vifm/vifm-help.txt
Normal file
File diff suppressed because it is too large
Load diff
266
dot/file/vifm/vifminfo
Normal file
266
dot/file/vifm/vifminfo
Normal file
|
@ -0,0 +1,266 @@
|
|||
# You can edit this file by hand, but it's recommended not to do that.
|
||||
|
||||
# Marks:
|
||||
'a
|
||||
/home/jien/audio/ardour/projects/overmuse/export
|
||||
overmuse_session.wav
|
||||
1553449147
|
||||
'b
|
||||
/home/jien/bin/
|
||||
..
|
||||
1553294641
|
||||
'h
|
||||
/home/jien/
|
||||
..
|
||||
1553294641
|
||||
's
|
||||
/home/jien/audio/ardour/projects/overmuse/analysis
|
||||
..
|
||||
1553449154
|
||||
|
||||
# Bookmarks:
|
||||
|
||||
# TUI:
|
||||
al
|
||||
q0
|
||||
v2
|
||||
ov
|
||||
m-1
|
||||
l2
|
||||
r2
|
||||
|
||||
# Left window history (oldest to newest):
|
||||
d/home/jien/code/scripts/other
|
||||
..
|
||||
0
|
||||
d/home/jien/code/scripts
|
||||
..
|
||||
0
|
||||
d/home/jien/code
|
||||
..
|
||||
0
|
||||
d/home/jien
|
||||
Audio
|
||||
2
|
||||
d/home/jien/Audio
|
||||
..
|
||||
0
|
||||
d/home/jien
|
||||
Audio
|
||||
2
|
||||
d/home/jien/code/scripts/other/opt
|
||||
..
|
||||
0
|
||||
d/home/jien/code/scripts/other
|
||||
..
|
||||
0
|
||||
d/home/jien/code/scripts
|
||||
cc
|
||||
3
|
||||
d/home/jien/code/scripts/cc
|
||||
..
|
||||
0
|
||||
d/home/jien/code/scripts
|
||||
php
|
||||
14
|
||||
d/home/jien/code/scripts/php
|
||||
test
|
||||
1
|
||||
d/home/jien/code/scripts/php/test
|
||||
oop
|
||||
2
|
||||
d/home/jien/code/scripts/php/test/oop
|
||||
..
|
||||
0
|
||||
d/home/jien/code/scripts/php/test
|
||||
oop
|
||||
2
|
||||
d/home/jien/code/scripts/php/test/oop
|
||||
..
|
||||
0
|
||||
d/home/jien/code/scripts/php/test
|
||||
..
|
||||
0
|
||||
d/home/jien/code/scripts/php
|
||||
..
|
||||
0
|
||||
d/home/jien/code/scripts
|
||||
..
|
||||
0
|
||||
d/home/jien/code
|
||||
..
|
||||
0
|
||||
d/home/jien
|
||||
audio
|
||||
6
|
||||
d/home/jien/audio
|
||||
ardour
|
||||
1
|
||||
d/home/jien/audio/ardour
|
||||
projects
|
||||
1
|
||||
d/home/jien/audio/ardour/projects
|
||||
maybe_will_make
|
||||
3
|
||||
d/home/jien/audio/ardour/projects/maybe_will_make
|
||||
overme
|
||||
21
|
||||
d/home/jien/audio/ardour/projects/maybe_will_make/overme
|
||||
..
|
||||
0
|
||||
d/home/jien/audio/ardour/projects/maybe_will_make
|
||||
..
|
||||
0
|
||||
d/home/jien/audio/ardour/projects
|
||||
overmuse
|
||||
4
|
||||
d/home/jien/audio/ardour/projects/overmuse
|
||||
export
|
||||
3
|
||||
d/home/jien/audio/ardour/projects/overmuse/export
|
||||
..
|
||||
0
|
||||
d/home/jien/audio/ardour/projects/overmuse
|
||||
export
|
||||
3
|
||||
d/home/jien/audio/ardour/projects/overmuse/export
|
||||
..
|
||||
0
|
||||
d/home/jien/audio/ardour/projects/overmuse
|
||||
export
|
||||
3
|
||||
d/home/jien/audio/ardour/projects/overmuse/export
|
||||
..
|
||||
0
|
||||
d/home/jien/audio/ardour/projects/overmuse
|
||||
export
|
||||
3
|
||||
d/home/jien/audio/ardour/projects/overmuse/export
|
||||
..
|
||||
0
|
||||
d/home/jien/audio/ardour/projects/overmuse
|
||||
export
|
||||
3
|
||||
d/home/jien/audio/ardour/projects/overmuse/export
|
||||
..
|
||||
0
|
||||
d/home/jien/audio/ardour/projects/overmuse
|
||||
export
|
||||
3
|
||||
d/home/jien/audio/ardour/projects/overmuse/export
|
||||
overmuse_session.wav
|
||||
1
|
||||
d/home/jien/audio/ardour/projects/overmuse
|
||||
export
|
||||
3
|
||||
d/home/jien/audio/ardour/projects/overmuse/export
|
||||
..
|
||||
0
|
||||
d/home/jien/audio/ardour/projects/overmuse
|
||||
analysis
|
||||
1
|
||||
d/home/jien/audio/ardour/projects/overmuse/analysis
|
||||
..
|
||||
0
|
||||
d/home/jien/audio/ardour/projects/overmuse
|
||||
analysis
|
||||
1
|
||||
d/home/jien/audio/ardour/projects/overmuse/analysis
|
||||
..
|
||||
0
|
||||
d/home/jien/audio/ardour/projects/overmuse/export
|
||||
..
|
||||
0
|
||||
d
|
||||
|
||||
# Right window history (oldest to newest):
|
||||
D/home/jien/code/scripts/other/opt
|
||||
..
|
||||
0
|
||||
D/home/jien/code/scripts/other
|
||||
opt
|
||||
19
|
||||
D/home/jien/code/scripts/other/opt
|
||||
..
|
||||
0
|
||||
D/home/jien/code/scripts/other
|
||||
crackmes
|
||||
7
|
||||
D/home/jien/code/scripts
|
||||
other
|
||||
13
|
||||
D/home/jien/code
|
||||
scripts
|
||||
2
|
||||
D/home/jien/code/scripts
|
||||
other
|
||||
13
|
||||
D/home/jien/code
|
||||
scripts
|
||||
2
|
||||
D/home/jien/code/scripts
|
||||
other
|
||||
13
|
||||
D/home/jien/code/scripts/other
|
||||
lua_embedding
|
||||
14
|
||||
D/home/jien/code/scripts
|
||||
other
|
||||
13
|
||||
D/home/jien/code
|
||||
scripts
|
||||
2
|
||||
D/home/jien/code/scripts
|
||||
other
|
||||
13
|
||||
D/home/jien/code/scripts/other
|
||||
lua_embedding
|
||||
14
|
||||
D/home/jien/code/scripts/other/lua_embedding
|
||||
example1
|
||||
1
|
||||
D/home/jien/code/scripts/other
|
||||
lua_embedding
|
||||
14
|
||||
D/home/jien/code/scripts
|
||||
php
|
||||
14
|
||||
D
|
||||
|
||||
# Command line history (oldest to newest):
|
||||
:!ls
|
||||
:tabnew
|
||||
:help
|
||||
:acpi
|
||||
:!acpi
|
||||
:q
|
||||
|
||||
# Search history (oldest to newest):
|
||||
/java
|
||||
/cc
|
||||
/old
|
||||
/aud
|
||||
/ar
|
||||
/over
|
||||
/overmuse
|
||||
|
||||
# Prompt history (oldest to newest):
|
||||
|
||||
# Local filter history (oldest to newest):
|
||||
|
||||
# Registers:
|
||||
|
||||
# Directory stack (oldest to newest):
|
||||
|
||||
# Trash content:
|
||||
|
||||
# State:
|
||||
f
|
||||
i1
|
||||
[.1
|
||||
[F
|
||||
F
|
||||
I1
|
||||
].1
|
||||
]F
|
||||
s0
|
485
dot/file/vifm/vifmrc
Normal file
485
dot/file/vifm/vifmrc
Normal file
|
@ -0,0 +1,485 @@
|
|||
" vim: filetype=vifm :
|
||||
" Sample configuration file for vifm (last updated: 26 November, 2018)
|
||||
" You can edit this file by hand.
|
||||
" The " character at the beginning of a line comments out the line.
|
||||
" Blank lines are ignored.
|
||||
" The basic format for each item is shown with an example.
|
||||
|
||||
" ------------------------------------------------------------------------------
|
||||
|
||||
" Command used to edit files in various contexts. The default is vim.
|
||||
" If you would like to use another vi clone such as Elvis or Vile
|
||||
" you will need to change this setting.
|
||||
|
||||
set vicmd=vim
|
||||
" set vicmd=elvis\ -G\ termcap
|
||||
" set vicmd=vile
|
||||
|
||||
" This makes vifm perform file operations on its own instead of relying on
|
||||
" standard utilities like `cp`. While using `cp` and alike is a more universal
|
||||
" solution, it's also much slower when processing large amounts of files and
|
||||
" doesn't support progress measuring.
|
||||
|
||||
set syscalls
|
||||
|
||||
" Trash Directory
|
||||
" The default is to move files that are deleted with dd or :d to
|
||||
" the trash directory. If you change this you will not be able to move
|
||||
" files by deleting them and then using p to put the file in the new location.
|
||||
" I recommend not changing this until you are familiar with vifm.
|
||||
" This probably shouldn't be an option.
|
||||
|
||||
set trash
|
||||
|
||||
" This is how many directories to store in the directory history.
|
||||
|
||||
set history=100
|
||||
|
||||
" Automatically resolve symbolic links on l or Enter.
|
||||
|
||||
set nofollowlinks
|
||||
|
||||
" With this option turned on you can run partially entered commands with
|
||||
" unambiguous beginning using :! (e.g. :!Te instead of :!Terminal or :!Te<tab>).
|
||||
|
||||
" set fastrun
|
||||
|
||||
" Natural sort of (version) numbers within text.
|
||||
|
||||
set sortnumbers
|
||||
|
||||
" Maximum number of changes that can be undone.
|
||||
|
||||
set undolevels=100
|
||||
|
||||
" If you installed the vim.txt help file set vimhelp.
|
||||
" If would rather use a plain text help file set novimhelp.
|
||||
|
||||
set novimhelp
|
||||
|
||||
" If you would like to run an executable file when you
|
||||
" press return on the file name set this.
|
||||
|
||||
set norunexec
|
||||
|
||||
" Selected color scheme
|
||||
|
||||
colorscheme jien
|
||||
|
||||
" Format for displaying time in file list. For example:
|
||||
" TIME_STAMP_FORMAT=%m/%d-%H:%M
|
||||
" See man date or man strftime for details.
|
||||
|
||||
set timefmt=%m/%d\ %H:%M
|
||||
|
||||
" Show list of matches on tab completion in command-line mode
|
||||
|
||||
set wildmenu
|
||||
|
||||
" Display completions in a form of popup with descriptions of the matches
|
||||
|
||||
set wildstyle=popup
|
||||
|
||||
" Display suggestions in normal, visual and view modes for keys, marks and
|
||||
" registers (at most 5 files). In other view, when available.
|
||||
|
||||
set suggestoptions=normal,visual,view,otherpane,keys,marks,registers
|
||||
|
||||
" Ignore case in search patterns unless it contains at least one uppercase
|
||||
" letter
|
||||
|
||||
set ignorecase
|
||||
set smartcase
|
||||
|
||||
" Don't highlight search results automatically
|
||||
|
||||
set nohlsearch
|
||||
|
||||
" Use increment searching (search while typing)
|
||||
set incsearch
|
||||
|
||||
" Try to leave some space from cursor to upper/lower border in lists
|
||||
|
||||
set scrolloff=4
|
||||
|
||||
" Don't do too many requests to slow file systems
|
||||
|
||||
if !has('win')
|
||||
set slowfs=curlftpfs
|
||||
endif
|
||||
|
||||
" Set custom status line look
|
||||
|
||||
set statusline=" Hint: %z%= %A %10u:%-7g %15s %20d "
|
||||
|
||||
" ------------------------------------------------------------------------------
|
||||
|
||||
" :mark mark /full/directory/path [filename]
|
||||
|
||||
mark b ~/bin/
|
||||
mark h ~/
|
||||
|
||||
" ------------------------------------------------------------------------------
|
||||
|
||||
" :com[mand][!] command_name action
|
||||
" The following macros can be used in a command
|
||||
" %a is replaced with the user arguments.
|
||||
" %c the current file under the cursor.
|
||||
" %C the current file under the cursor in the other directory.
|
||||
" %f the current selected file, or files.
|
||||
" %F the current selected file, or files in the other directory.
|
||||
" %b same as %f %F.
|
||||
" %d the current directory name.
|
||||
" %D the other window directory name.
|
||||
" %m run the command in a menu window
|
||||
|
||||
command! df df -h %m 2> /dev/null
|
||||
command! diff vim -d %f %F
|
||||
command! zip zip -r %f.zip %f
|
||||
command! run !! ./%f
|
||||
command! make !!make %a
|
||||
command! mkcd :mkdir %a | cd %a
|
||||
command! vgrep vim "+grep %a"
|
||||
command! reload :write | restart
|
||||
|
||||
" ------------------------------------------------------------------------------
|
||||
|
||||
" The file type is for the default programs to be used with
|
||||
" a file extension.
|
||||
" :filetype pattern1,pattern2 defaultprogram,program2
|
||||
" :fileviewer pattern1,pattern2 consoleviewer
|
||||
" The other programs for the file type can be accessed with the :file command
|
||||
" The command macros %f, %F, %d, %F may be used in the commands.
|
||||
" The %a macro is ignored. To use a % you must put %%.
|
||||
|
||||
" For automated FUSE mounts, you must register an extension with :file[x]type
|
||||
" in one of following formats:
|
||||
"
|
||||
" :filetype extensions FUSE_MOUNT|some_mount_command using %SOURCE_FILE and %DESTINATION_DIR variables
|
||||
" %SOURCE_FILE and %DESTINATION_DIR are filled in by vifm at runtime.
|
||||
" A sample line might look like this:
|
||||
" :filetype *.zip,*.jar,*.war,*.ear FUSE_MOUNT|fuse-zip %SOURCE_FILE %DESTINATION_DIR
|
||||
"
|
||||
" :filetype extensions FUSE_MOUNT2|some_mount_command using %PARAM and %DESTINATION_DIR variables
|
||||
" %PARAM and %DESTINATION_DIR are filled in by vifm at runtime.
|
||||
" A sample line might look like this:
|
||||
" :filetype *.ssh FUSE_MOUNT2|sshfs %PARAM %DESTINATION_DIR
|
||||
" %PARAM value is filled from the first line of file (whole line).
|
||||
" Example first line for SshMount filetype: root@127.0.0.1:/
|
||||
"
|
||||
" You can also add %CLEAR if you want to clear screen before running FUSE
|
||||
" program.
|
||||
|
||||
" Pdf
|
||||
filextype *.pdf zathura %c %i &, apvlv %c, xpdf %c
|
||||
fileviewer *.pdf pdftotext -nopgbrk %c -
|
||||
|
||||
" PostScript
|
||||
filextype *.ps,*.eps,*.ps.gz
|
||||
\ {View in zathura}
|
||||
\ zathura %f,
|
||||
\ {View in gv}
|
||||
\ gv %c %i &,
|
||||
|
||||
" Djvu
|
||||
filextype *.djvu
|
||||
\ {View in zathura}
|
||||
\ zathura %f,
|
||||
\ {View in apvlv}
|
||||
\ apvlv %f,
|
||||
|
||||
" Audio
|
||||
filetype *.wav,*.mp3,*.flac,*.m4a,*.wma,*.ape,*.ac3,*.og[agx],*.spx,*.opus
|
||||
\ {Play using ffplay}
|
||||
\ ffplay -nodisp -autoexit %c,
|
||||
\ {Play using MPlayer}
|
||||
\ mplayer %f,
|
||||
fileviewer *.mp3 mp3info
|
||||
fileviewer *.flac soxi
|
||||
|
||||
" Video
|
||||
filextype *.avi,*.mp4,*.wmv,*.dat,*.3gp,*.ogv,*.mkv,*.mpg,*.mpeg,*.vob,
|
||||
\*.fl[icv],*.m2v,*.mov,*.webm,*.ts,*.mts,*.m4v,*.r[am],*.qt,*.divx,
|
||||
\*.as[fx]
|
||||
\ {View using ffplay}
|
||||
\ ffplay -fs -autoexit %f,
|
||||
\ {View using Dragon}
|
||||
\ dragon %f:p,
|
||||
\ {View using mplayer}
|
||||
\ mplayer %f,
|
||||
fileviewer *.avi,*.mp4,*.wmv,*.dat,*.3gp,*.ogv,*.mkv,*.mpg,*.mpeg,*.vob,
|
||||
\*.fl[icv],*.m2v,*.mov,*.webm,*.ts,*.mts,*.m4v,*.r[am],*.qt,*.divx,
|
||||
\*.as[fx]
|
||||
\ ffprobe -pretty %c 2>&1
|
||||
|
||||
" Web
|
||||
filextype *.html,*.htm
|
||||
\ {Open with dwb}
|
||||
\ dwb %f %i &,
|
||||
\ {Open with firefox}
|
||||
\ firefox %f &,
|
||||
\ {Open with uzbl}
|
||||
\ uzbl-browser %f %i &,
|
||||
filetype *.html,*.htm links, lynx
|
||||
|
||||
" Object
|
||||
filetype *.o nm %f | less
|
||||
|
||||
" Man page
|
||||
filetype *.[1-8] man ./%c
|
||||
fileviewer *.[1-8] man ./%c | col -b
|
||||
|
||||
" Images
|
||||
filextype *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm
|
||||
\ {View in sxiv}
|
||||
\ sxiv %f,
|
||||
\ {View in gpicview}
|
||||
\ gpicview %c,
|
||||
\ {View in shotwell}
|
||||
\ shotwell,
|
||||
fileviewer *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm
|
||||
\ convert -identify %f -verbose /dev/null
|
||||
|
||||
" OpenRaster
|
||||
filextype *.ora
|
||||
\ {Edit in MyPaint}
|
||||
\ mypaint %f,
|
||||
|
||||
" Mindmap
|
||||
filextype *.vym
|
||||
\ {Open with VYM}
|
||||
\ vym %f &,
|
||||
|
||||
" MD5
|
||||
filetype *.md5
|
||||
\ {Check MD5 hash sum}
|
||||
\ md5sum -c %f %S,
|
||||
|
||||
" SHA1
|
||||
filetype *.sha1
|
||||
\ {Check SHA1 hash sum}
|
||||
\ sha1sum -c %f %S,
|
||||
|
||||
" SHA256
|
||||
filetype *.sha256
|
||||
\ {Check SHA256 hash sum}
|
||||
\ sha256sum -c %f %S,
|
||||
|
||||
" SHA512
|
||||
filetype *.sha512
|
||||
\ {Check SHA512 hash sum}
|
||||
\ sha512sum -c %f %S,
|
||||
|
||||
" GPG signature
|
||||
filetype *.asc
|
||||
\ {Check signature}
|
||||
\ !!gpg --verify %c,
|
||||
|
||||
" Torrent
|
||||
filetype *.torrent ktorrent %f &
|
||||
fileviewer *.torrent dumptorrent -v %c
|
||||
|
||||
" FuseZipMount
|
||||
filetype *.zip,*.jar,*.war,*.ear,*.oxt,*.apkg
|
||||
\ {Mount with fuse-zip}
|
||||
\ FUSE_MOUNT|fuse-zip %SOURCE_FILE %DESTINATION_DIR,
|
||||
\ {View contents}
|
||||
\ zip -sf %c | less,
|
||||
\ {Extract here}
|
||||
\ tar -xf %c,
|
||||
fileviewer *.zip,*.jar,*.war,*.ear,*.oxt zip -sf %c
|
||||
|
||||
" ArchiveMount
|
||||
filetype *.tar,*.tar.bz2,*.tbz2,*.tgz,*.tar.gz,*.tar.xz,*.txz
|
||||
\ {Mount with archivemount}
|
||||
\ FUSE_MOUNT|archivemount %SOURCE_FILE %DESTINATION_DIR,
|
||||
fileviewer *.tgz,*.tar.gz tar -tzf %c
|
||||
fileviewer *.tar.bz2,*.tbz2 tar -tjf %c
|
||||
fileviewer *.tar.txz,*.txz xz --list %c
|
||||
fileviewer *.tar tar -tf %c
|
||||
|
||||
" Rar2FsMount and rar archives
|
||||
filetype *.rar
|
||||
\ {Mount with rar2fs}
|
||||
\ FUSE_MOUNT|rar2fs %SOURCE_FILE %DESTINATION_DIR,
|
||||
fileviewer *.rar unrar v %c
|
||||
|
||||
" IsoMount
|
||||
filetype *.iso
|
||||
\ {Mount with fuseiso}
|
||||
\ FUSE_MOUNT|fuseiso %SOURCE_FILE %DESTINATION_DIR,
|
||||
|
||||
" SshMount
|
||||
filetype *.ssh
|
||||
\ {Mount with sshfs}
|
||||
\ FUSE_MOUNT2|sshfs %PARAM %DESTINATION_DIR %FOREGROUND,
|
||||
|
||||
" FtpMount
|
||||
filetype *.ftp
|
||||
\ {Mount with curlftpfs}
|
||||
\ FUSE_MOUNT2|curlftpfs -o ftp_port=-,,disable_eprt %PARAM %DESTINATION_DIR %FOREGROUND,
|
||||
|
||||
" Fuse7z and 7z archives
|
||||
filetype *.7z
|
||||
\ {Mount with fuse-7z}
|
||||
\ FUSE_MOUNT|fuse-7z %SOURCE_FILE %DESTINATION_DIR,
|
||||
fileviewer *.7z 7z l %c
|
||||
|
||||
" Office files
|
||||
filextype *.odt,*.doc,*.docx,*.xls,*.xlsx,*.odp,*.pptx libreoffice %f &
|
||||
fileviewer *.doc catdoc %c
|
||||
fileviewer *.docx docx2txt.pl %f -
|
||||
|
||||
" TuDu files
|
||||
filetype *.tudu tudu -f %c
|
||||
|
||||
" Qt projects
|
||||
filextype *.pro qtcreator %f &
|
||||
|
||||
" Directories
|
||||
filextype */
|
||||
\ {View in thunar}
|
||||
\ Thunar %f &,
|
||||
|
||||
" Syntax highlighting in preview
|
||||
"
|
||||
" Explicitly set highlight type for some extensions
|
||||
"
|
||||
" 256-color terminal
|
||||
" fileviewer *.[ch],*.[ch]pp highlight -O xterm256 -s dante --syntax c %c
|
||||
" fileviewer Makefile,Makefile.* highlight -O xterm256 -s dante --syntax make %c
|
||||
"
|
||||
" 16-color terminal
|
||||
" fileviewer *.c,*.h highlight -O ansi -s dante %c
|
||||
"
|
||||
" Or leave it for automatic detection
|
||||
"
|
||||
" fileviewer *[^/] pygmentize -O style=monokai -f console256 -g
|
||||
|
||||
" Displaying pictures in terminal
|
||||
"
|
||||
" fileviewer *.jpg,*.png shellpic %c
|
||||
|
||||
" Open all other files with default system programs (you can also remove all
|
||||
" :file[x]type commands above to ensure they don't interfere with system-wide
|
||||
" settings). By default all unknown files are opened with 'vi[x]cmd'
|
||||
" uncommenting one of lines below will result in ignoring 'vi[x]cmd' option
|
||||
" for unknown file types.
|
||||
" For *nix:
|
||||
" filetype * xdg-open
|
||||
" For OS X:
|
||||
" filetype * open
|
||||
" For Windows:
|
||||
" filetype * start, explorer
|
||||
|
||||
" ------------------------------------------------------------------------------
|
||||
|
||||
" What should be saved automatically between vifm runs
|
||||
" Like in previous versions of vifm
|
||||
" set vifminfo=options,filetypes,commands,bookmarks,dhistory,state,cs
|
||||
" Like in vi
|
||||
set vifminfo=dhistory,savedirs,chistory,state,tui,shistory,
|
||||
\phistory,fhistory,dirstack,registers,bookmarks,bmarks
|
||||
|
||||
" ------------------------------------------------------------------------------
|
||||
|
||||
" Examples of configuring both panels
|
||||
|
||||
" Customize view columns a bit (enable ellipsis for truncated file names)
|
||||
"
|
||||
" set viewcolumns=-{name}..,6{}.
|
||||
|
||||
" Filter-out build and temporary files
|
||||
"
|
||||
" filter! /^.*\.(lo|o|d|class|py[co])$|.*~$/
|
||||
|
||||
" ------------------------------------------------------------------------------
|
||||
|
||||
" Sample mappings
|
||||
|
||||
" Start shell in current directory
|
||||
nnoremap s :shell<cr>
|
||||
|
||||
" Display sorting dialog
|
||||
nnoremap S :sort<cr>
|
||||
|
||||
" Toggle visibility of preview window
|
||||
nnoremap w :view<cr>
|
||||
vnoremap w :view<cr>gv
|
||||
|
||||
" Open file in existing instance of gvim
|
||||
nnoremap o :!gvim --remote-tab-silent %f<cr>
|
||||
" Open file in new instance of gvim
|
||||
nnoremap O :!gvim %f<cr>
|
||||
|
||||
" Open file in the background using its default program
|
||||
nnoremap gb :file &<cr>l
|
||||
|
||||
" Interaction with system clipboard
|
||||
if has('win')
|
||||
" Yank current directory path to Windows clipboard with forward slashes
|
||||
nnoremap yp :!echo %"d:gs!\!/! %i | clip<cr>
|
||||
" Yank path to current file to Windows clipboard with forward slashes
|
||||
nnoremap yf :!echo %"c:gs!\!/! %i | clip<cr>
|
||||
elseif executable('xclip')
|
||||
" Yank current directory path into the clipboard
|
||||
nnoremap yd :!echo %d | xclip %i<cr>
|
||||
" Yank current file path into the clipboard
|
||||
nnoremap yf :!echo %c:p | xclip %i<cr>
|
||||
elseif executable('xsel')
|
||||
" Yank current directory path into primary and selection clipboards
|
||||
nnoremap yd :!echo -n %d | xsel --input --primary %i &&
|
||||
\ echo -n %d | xsel --clipboard --input %i<cr>
|
||||
" Yank current file path into into primary and selection clipboards
|
||||
nnoremap yf :!echo -n %c:p | xsel --input --primary %i &&
|
||||
\ echo -n %c:p | xsel --clipboard --input %i<cr>
|
||||
endif
|
||||
|
||||
" Mappings for faster renaming
|
||||
nnoremap I cw<c-a>
|
||||
nnoremap cc cw<c-u>
|
||||
nnoremap A cw
|
||||
|
||||
" Open console in current directory
|
||||
nnoremap ,t :!xterm &<cr>
|
||||
|
||||
" Open editor to edit vifmrc and apply settings after returning to vifm
|
||||
nnoremap ,c :write | edit $MYVIFMRC | restart<cr>
|
||||
" Open gvim to edit vifmrc
|
||||
nnoremap ,C :!gvim --remote-tab-silent $MYVIFMRC &<cr>
|
||||
|
||||
" Toggle wrap setting on ,w key
|
||||
nnoremap ,w :set wrap!<cr>
|
||||
|
||||
" Example of standard two-panel file managers mappings
|
||||
nnoremap <f3> :!less %f<cr>
|
||||
nnoremap <f4> :edit<cr>
|
||||
nnoremap <f5> :copy<cr>
|
||||
nnoremap <f6> :move<cr>
|
||||
nnoremap <f7> :mkdir<space>
|
||||
nnoremap <f8> :delete<cr>
|
||||
|
||||
" ------------------------------------------------------------------------------
|
||||
|
||||
" Various customization examples
|
||||
|
||||
" Use ag (the silver searcher) instead of grep
|
||||
"
|
||||
" set grepprg='ag --line-numbers %i %a %s'
|
||||
|
||||
" Add additional place to look for executables
|
||||
"
|
||||
" let $PATH = $HOME.'/bin/fuse:'.$PATH
|
||||
|
||||
" Block particular shortcut
|
||||
"
|
||||
" nnoremap <left> <nop>
|
||||
|
||||
" Export IPC name of current instance as environment variable and use it to
|
||||
" communicate with the instance later.
|
||||
"
|
||||
" It can be used in some shell script that gets run from inside vifm, for
|
||||
" example, like this:
|
||||
" vifm --server-name "$VIFM_SERVER_NAME" --remote +"cd '$PWD'"
|
||||
"
|
||||
" let $VIFM_SERVER_NAME = v:servername
|
9
dot/file/vim/.netrwhist
Normal file
9
dot/file/vim/.netrwhist
Normal file
|
@ -0,0 +1,9 @@
|
|||
let g:netrw_dirhistmax =10
|
||||
let g:netrw_dirhistcnt =7
|
||||
let g:netrw_dirhist_7='/home/jien/env'
|
||||
let g:netrw_dirhist_6='/home/jien/.config'
|
||||
let g:netrw_dirhist_5='/home/jien/etc/configure.d'
|
||||
let g:netrw_dirhist_4='/home/jien/etc/configure.d/notes'
|
||||
let g:netrw_dirhist_3='/home/jien/git/stuben.pixel.horse/assets/images'
|
||||
let g:netrw_dirhist_2='/home/jien/git/stuben.pixel.horse/assets'
|
||||
let g:netrw_dirhist_1='/home/jien/git/stuben.pixel.horse/src/ts/client/input'
|
17
dot/file/vim/colors/jien.vifm
Normal file
17
dot/file/vim/colors/jien.vifm
Normal file
|
@ -0,0 +1,17 @@
|
|||
highlight Win cterm=none ctermfg=white ctermbg=black
|
||||
highlight Directory cterm=bold ctermfg=blue ctermbg=black
|
||||
highlight Link cterm=bold ctermfg=cyan ctermbg=black
|
||||
highlight BrokenLink cterm=bold ctermfg=red ctermbg=black
|
||||
highlight Socket cterm=bold ctermfg=magenta ctermbg=black
|
||||
highlight Device cterm=bold ctermfg=red ctermbg=black
|
||||
highlight Fifo cterm=bold ctermfg=cyan ctermbg=black
|
||||
highlight Executable cterm=bold ctermfg=green ctermbg=black
|
||||
highlight Selected cterm=bold ctermfg=black ctermbg=red
|
||||
highlight CurrLine cterm=bold ctermfg=black ctermbg=yellow
|
||||
highlight TopLine cterm=none ctermfg=black ctermbg=white
|
||||
highlight TopLineSel cterm=bold ctermfg=black ctermbg=none
|
||||
highlight StatusLine cterm=bold ctermfg=black ctermbg=red
|
||||
highlight WildMenu cterm=underline,reverse ctermfg=white ctermbg=none
|
||||
highlight CmdLine cterm=none ctermfg=white ctermbg=none
|
||||
highlight ErrorMsg cterm=none ctermfg=red ctermbg=none
|
||||
highlight Border cterm=none ctermfg=black ctermbg=white
|
56
dot/file/vim/colors/jien.vim
Normal file
56
dot/file/vim/colors/jien.vim
Normal file
|
@ -0,0 +1,56 @@
|
|||
" Jien's VIM color file.
|
||||
" k1574: <k1574@yandex.ru>.
|
||||
" (originally looked at slate.)
|
||||
set background=dark
|
||||
if exists("syntax_on")
|
||||
syntax reset
|
||||
endif
|
||||
"highlight clear
|
||||
|
||||
let colors_name = "jien"
|
||||
hi Normal cterm=none ctermfg=white ctermbg=none
|
||||
hi Cursor cterm=bold ctermfg=black ctermbg=red
|
||||
hi TermCursor cterm=reverse ctermfg=none ctermbg=none
|
||||
hi CursorLine cterm=bold ctermfg=none ctermbg=none
|
||||
hi VertSplit cterm=none ctermfg=grey ctermbg=grey
|
||||
hi Folded cterm=none ctermfg=black ctermbg=yellow
|
||||
hi FoldColumn cterm=none ctermfg=yellow ctermbg=white
|
||||
hi IncSearch cterm=none ctermfg=yellow ctermbg=green
|
||||
hi ModeMsg cterm=none ctermfg=black ctermbg=yellow
|
||||
hi MoreMsg cterm=none ctermfg=darkgreen ctermbg=none
|
||||
hi NonText cterm=none ctermfg=darkgrey ctermbg=none
|
||||
hi Question cterm=none ctermfg=green ctermbg=none
|
||||
hi Search cterm=none ctermfg=black ctermbg=yellow
|
||||
hi SpecialKey cterm=none ctermfg=darkgreen ctermbg=none
|
||||
hi StatusLine cterm=none ctermfg=black ctermbg=red
|
||||
hi StatusLineNC cterm=reverse ctermfg=none ctermbg=none
|
||||
hi Title cterm=bold ctermfg=yellow ctermbg=none
|
||||
hi Statement cterm=none ctermfg=blue ctermbg=none
|
||||
hi Visual cterm=none ctermfg=black ctermbg=red
|
||||
hi WarningMsg cterm=none ctermfg=1 ctermbg=none
|
||||
hi String cterm=none ctermfg=darkcyan ctermbg=none
|
||||
hi Comment cterm=none ctermfg=yellow ctermbg=none
|
||||
hi Constant cterm=bold ctermfg=red ctermbg=none
|
||||
hi Special cterm=none ctermfg=red ctermbg=none
|
||||
hi Identifier cterm=none ctermfg=lightgreen ctermbg=none
|
||||
hi Include cterm=none ctermfg=red ctermbg=none
|
||||
hi PreProc cterm=none ctermfg=red ctermbg=none
|
||||
hi Operator cterm=none ctermfg=lightblue ctermbg=none
|
||||
hi Define cterm=none ctermfg=red ctermbg=none
|
||||
hi Type cterm=none ctermfg=green ctermbg=none
|
||||
hi Function cterm=none ctermfg=darkmagenta ctermbg=none
|
||||
hi Structure cterm=none ctermfg=green ctermbg=none
|
||||
hi LineNr cterm=none ctermfg=black ctermbg=yellow
|
||||
hi Ignore cterm=bold ctermfg=7 ctermbg=none
|
||||
hi Directory cterm=none ctermfg=darkcyan ctermbg=none
|
||||
hi ErrorMsg cterm=bold ctermfg=7 ctermbg=1
|
||||
hi VisualNOS cterm=bold,underline ctermfg=none ctermbg=none
|
||||
hi WildMenu cterm=none ctermfg=black ctermbg=yellow
|
||||
hi DiffAdd ctermbg=4 ctermfg=none ctermbg=none
|
||||
hi DiffChange ctermbg=5 ctermfg=none ctermbg=none
|
||||
hi DiffDelete cterm=bold ctermfg=4 ctermbg=6
|
||||
hi DiffText cterm=bold ctermfg=none ctermbg=1
|
||||
hi Underlined cterm=underline ctermfg=5 ctermbg=none
|
||||
hi Error cterm=bold ctermfg=7 ctermbg=1 ctermbg=none
|
||||
hi SpellErrors cterm=bold ctermfg=7 ctermbg=1 ctermbg=none
|
||||
"hi CircleScobs cterm=bold ctermfg=red
|
175
dot/file/vim/colors/vividchalk.vim
Normal file
175
dot/file/vim/colors/vividchalk.vim
Normal file
|
@ -0,0 +1,175 @@
|
|||
" Vim color scheme
|
||||
" Name: vividchalk.vim
|
||||
" Author: Tim Pope <vimNOSPAM@tpope.info>
|
||||
" Version: 2.0
|
||||
" GetLatestVimScripts: 1891 1 :AutoInstall: vividchalk.vim
|
||||
|
||||
" Based on the Vibrank Ink theme for TextMate
|
||||
" Distributable under the same terms as Vim itself (see :help license)
|
||||
|
||||
if has("gui_running")
|
||||
set background=dark
|
||||
endif
|
||||
hi clear
|
||||
if exists("syntax_on")
|
||||
syntax reset
|
||||
endif
|
||||
|
||||
let colors_name = "vividchalk"
|
||||
|
||||
" First two functions adapted from inkpot.vim
|
||||
|
||||
" map a urxvt cube number to an xterm-256 cube number
|
||||
fun! s:M(a)
|
||||
return strpart("0245", a:a, 1) + 0
|
||||
endfun
|
||||
|
||||
" map a urxvt colour to an xterm-256 colour
|
||||
fun! s:X(a)
|
||||
if &t_Co == 88
|
||||
return a:a
|
||||
else
|
||||
if a:a == 8
|
||||
return 237
|
||||
elseif a:a < 16
|
||||
return a:a
|
||||
elseif a:a > 79
|
||||
return 232 + (3 * (a:a - 80))
|
||||
else
|
||||
let l:b = a:a - 16
|
||||
let l:x = l:b % 4
|
||||
let l:y = (l:b / 4) % 4
|
||||
let l:z = (l:b / 16)
|
||||
return 16 + s:M(l:x) + (6 * s:M(l:y)) + (36 * s:M(l:z))
|
||||
endif
|
||||
endif
|
||||
endfun
|
||||
|
||||
function! s:choose(mediocre,good)
|
||||
if &t_Co != 88 && &t_Co != 256
|
||||
return a:mediocre
|
||||
else
|
||||
return s:X(a:good)
|
||||
endif
|
||||
endfunction
|
||||
|
||||
function! s:hifg(group,guifg,first,second,...)
|
||||
if a:0 && &t_Co == 256
|
||||
let ctermfg = a:1
|
||||
else
|
||||
let ctermfg = s:choose(a:first,a:second)
|
||||
endif
|
||||
exe "highlight ".a:group." guifg=".a:guifg." ctermfg=".ctermfg
|
||||
endfunction
|
||||
|
||||
function! s:hibg(group,guibg,first,second)
|
||||
let ctermbg = s:choose(a:first,a:second)
|
||||
exe "highlight ".a:group." guibg=".a:guibg." ctermbg=".ctermbg
|
||||
endfunction
|
||||
|
||||
hi link rubyDefine Keyword
|
||||
hi link rubySymbol Constant
|
||||
hi link rubyEval rubyMethod
|
||||
hi link rubyException rubyMethod
|
||||
hi link rubyInclude rubyMethod
|
||||
hi link rubyMacro rubyMethod
|
||||
hi link rubyStringDelimiter rubyString
|
||||
hi link rubyRegexp Regexp
|
||||
hi link rubyRegexpDelimiter rubyRegexp
|
||||
|
||||
hi link javascriptRegexpString Regexp
|
||||
|
||||
hi link diffAdded String
|
||||
hi link diffRemoved Statement
|
||||
hi link diffLine PreProc
|
||||
hi link diffSubname Comment
|
||||
|
||||
call s:hifg("Normal","#EEEEEE","White",87)
|
||||
if &background == "light" || has("gui_running")
|
||||
hi Normal guibg=Black ctermbg=Black
|
||||
else
|
||||
hi Normal guibg=Black ctermbg=NONE
|
||||
endif
|
||||
highlight StatusLine guifg=Black guibg=#aabbee gui=bold ctermfg=Black ctermbg=White cterm=bold
|
||||
highlight StatusLineNC guifg=#444444 guibg=#aaaaaa gui=none ctermfg=Black ctermbg=Grey cterm=none
|
||||
"if &t_Co == 256
|
||||
"highlight StatusLine ctermbg=117
|
||||
"else
|
||||
"highlight StatusLine ctermbg=43
|
||||
"endif
|
||||
|
||||
highlight Ignore ctermfg=Black
|
||||
highlight WildMenu guifg=Black guibg=#ffff00 gui=bold ctermfg=Black ctermbg=Yellow cterm=bold
|
||||
highlight Cursor guifg=Black guibg=White ctermfg=Black ctermbg=White
|
||||
call s:hibg("ColorColumn","#333333","DarkGrey",81)
|
||||
call s:hibg("CursorLine","#333333","DarkGrey",81)
|
||||
call s:hibg("CursorColumn","#333333","DarkGrey",81)
|
||||
highlight NonText guifg=#404040 ctermfg=8
|
||||
highlight SpecialKey guifg=#404040 ctermfg=8
|
||||
highlight Directory none
|
||||
high link Directory Identifier
|
||||
highlight ErrorMsg guibg=Red ctermbg=DarkRed guifg=NONE ctermfg=NONE
|
||||
highlight Search guifg=NONE ctermfg=NONE gui=none cterm=none
|
||||
call s:hibg("Search" ,"#555555","DarkBlue",81)
|
||||
highlight IncSearch guifg=White guibg=Black ctermfg=White ctermbg=Black
|
||||
highlight MoreMsg guifg=#00AA00 ctermfg=Green
|
||||
highlight LineNr guifg=#DDEEFF ctermfg=White
|
||||
call s:hibg("LineNr" ,"#222222","DarkBlue",80)
|
||||
highlight Question none
|
||||
high link Question MoreMsg
|
||||
highlight Title guifg=Magenta ctermfg=Magenta
|
||||
highlight VisualNOS gui=none cterm=none
|
||||
call s:hibg("Visual" ,"#555577","LightBlue",83)
|
||||
call s:hibg("VisualNOS" ,"#444444","DarkBlue",81)
|
||||
call s:hibg("MatchParen","#1100AA","DarkBlue",18)
|
||||
highlight WarningMsg guifg=Red ctermfg=Red
|
||||
highlight Error ctermbg=DarkRed
|
||||
highlight SpellBad ctermbg=DarkRed
|
||||
" FIXME: Comments
|
||||
highlight SpellRare ctermbg=DarkMagenta
|
||||
highlight SpellCap ctermbg=DarkBlue
|
||||
highlight SpellLocal ctermbg=DarkCyan
|
||||
|
||||
call s:hibg("Folded" ,"#110077","DarkBlue",17)
|
||||
call s:hifg("Folded" ,"#aaddee","LightCyan",63)
|
||||
highlight FoldColumn none
|
||||
high link FoldColumn Folded
|
||||
highlight DiffAdd ctermbg=4 guibg=DarkBlue
|
||||
highlight DiffChange ctermbg=5 guibg=DarkMagenta
|
||||
highlight DiffDelete ctermfg=12 ctermbg=6 gui=bold guifg=Blue guibg=DarkCyan
|
||||
highlight DiffText ctermbg=DarkRed
|
||||
highlight DiffText cterm=bold ctermbg=9 gui=bold guibg=Red
|
||||
|
||||
highlight Pmenu guifg=White ctermfg=White gui=bold cterm=bold
|
||||
highlight PmenuSel guifg=White ctermfg=White gui=bold cterm=bold
|
||||
call s:hibg("Pmenu" ,"#000099","Blue",18)
|
||||
call s:hibg("PmenuSel" ,"#5555ff","DarkCyan",39)
|
||||
highlight PmenuSbar guibg=Grey ctermbg=Grey
|
||||
highlight PmenuThumb guibg=White ctermbg=White
|
||||
highlight TabLine gui=underline cterm=underline
|
||||
call s:hifg("TabLine" ,"#bbbbbb","LightGrey",85)
|
||||
call s:hibg("TabLine" ,"#333333","DarkGrey",80)
|
||||
highlight TabLineSel guifg=White guibg=Black ctermfg=White ctermbg=Black
|
||||
highlight TabLineFill gui=underline cterm=underline
|
||||
call s:hifg("TabLineFill","#bbbbbb","LightGrey",85)
|
||||
call s:hibg("TabLineFill","#808080","Grey",83)
|
||||
|
||||
hi Type gui=none
|
||||
hi Statement gui=none
|
||||
if !has("gui_mac")
|
||||
" Mac GUI degrades italics to ugly underlining.
|
||||
hi Comment gui=italic
|
||||
endif
|
||||
hi Identifier cterm=none
|
||||
" Commented numbers at the end are *old* 256 color values
|
||||
call s:hifg("Comment" ,"#9933CC","DarkMagenta",34) " 92
|
||||
" 26 instead?
|
||||
call s:hifg("Constant" ,"#339999","DarkCyan",21) " 30
|
||||
call s:hifg("String" ,"#66FF00","LightGreen",44,82) " 82
|
||||
call s:hifg("Identifier" ,"#FFCC00","Yellow",72) " 220
|
||||
call s:hifg("Statement" ,"#FF6600","Brown",68) " 202
|
||||
call s:hifg("PreProc" ,"#AAFFFF","LightCyan",47) " 213
|
||||
call s:hifg("Type" ,"#AAAA77","Grey",57) " 101
|
||||
call s:hifg("Special" ,"#33AA00","DarkGreen",24) " 7
|
||||
call s:hifg("Regexp" ,"#44B4CC","DarkCyan",21) " 74
|
||||
call s:hifg("rubyMethod" ,"#DDE93D","Yellow",77) " 191
|
1
dot/file/vim/init.vim
Symbolic link
1
dot/file/vim/init.vim
Symbolic link
|
@ -0,0 +1 @@
|
|||
../vimrc
|
1
dot/file/vim/scripts/hello.vim
Normal file
1
dot/file/vim/scripts/hello.vim
Normal file
|
@ -0,0 +1 @@
|
|||
echo "hello"
|
14
dot/file/vim/syntax/c1.vim
Normal file
14
dot/file/vim/syntax/c1.vim
Normal file
|
@ -0,0 +1,14 @@
|
|||
|
||||
" Useful C keywords.
|
||||
|
||||
syn keyword cStatement toto break return continue asm
|
||||
syn keyword cLabel case default
|
||||
syn keyword cConditional if else switch
|
||||
|
||||
syn keyword cTodo contained TODO FIXME XXX
|
||||
|
||||
if !exists("c_no_c99")
|
||||
syn keyword cConstant
|
||||
endif
|
||||
|
||||
hi def link cUserLabel
|
0
dot/file/vim/syntax/mysyn.vim
Normal file
0
dot/file/vim/syntax/mysyn.vim
Normal file
45
dot/file/vim/syntax/syncolor.vim.backup
Normal file
45
dot/file/vim/syntax/syncolor.vim.backup
Normal file
|
@ -0,0 +1,45 @@
|
|||
" From $VIMRUNTIME/syntax/syncolor.vim
|
||||
if !exists("syntax_cmd") || syntax_cmd == "on"
|
||||
" ":syntax on" works like in Vim 5.7: set colors but keep links
|
||||
command -nargs=* SynColor hi <args>
|
||||
command -nargs=* SynLink hi link <args>
|
||||
else
|
||||
if syntax_cmd == "enable"
|
||||
" ":syntax enable" keeps any existing colors
|
||||
command -nargs=* SynColor hi def <args>
|
||||
command -nargs=* SynLink hi def link <args>
|
||||
elseif syntax_cmd == "reset"
|
||||
" ":syntax reset" resets all colors to the default
|
||||
command -nargs=* SynColor hi <args>
|
||||
command -nargs=* SynLink hi! link <args>
|
||||
else
|
||||
" User defined syncolor file has already set the colors.
|
||||
finish
|
||||
endif
|
||||
endif
|
||||
|
||||
SynLink rubyDefine Define
|
||||
SynLink rubyAccess rubyMacro
|
||||
SynLink rubyAttribute rubyMacro
|
||||
SynLink rubyMacro Macro
|
||||
SynLink rubyEval Statement
|
||||
SynLink rubyException Exception
|
||||
SynLink rubyInclude Include
|
||||
SynLink rubyRegexp rubyString
|
||||
SynLink rubyRegexpDelimiter rubyStringDelimiter
|
||||
SynLink rubyStringDelimiter Delimiter
|
||||
SynLink rubySymbol Constant
|
||||
|
||||
SynLink javaScriptRegexpString String
|
||||
SynLink javaScriptNumber Number
|
||||
SynLink javaScriptNull Constant
|
||||
|
||||
SynLink diffRemoved Special
|
||||
SynLink diffAdded Identifier
|
||||
SynLink diffLine Statement
|
||||
SynLink diffSubname PreProc
|
||||
|
||||
delcommand SynColor
|
||||
delcommand SynLink
|
||||
|
||||
syn match Operator /=/
|
79
dot/file/vimrc
Normal file
79
dot/file/vimrc
Normal file
|
@ -0,0 +1,79 @@
|
|||
" k1574's shitty vimrc.
|
||||
" Mouse.
|
||||
" In many terminal emulators the mouse works just fine.
|
||||
" By enabling it you can position the cursor,
|
||||
" Visually select and scroll with the mouse.
|
||||
if( has('mouse') )
|
||||
set mouse=a
|
||||
endif
|
||||
" Set.
|
||||
set nowrap
|
||||
set number
|
||||
set autoindent
|
||||
set smartindent
|
||||
" Fuck the spaces.
|
||||
" Especially in the Python...
|
||||
" 'ftplugin'(For neovim)
|
||||
let g:python_recommended_style=0
|
||||
imap <S-Tab> <Space><Space><Space><Space>
|
||||
set smarttab
|
||||
set noet ci pi sw=4 ts=4
|
||||
set showcmd
|
||||
set showmatch
|
||||
set ignorecase
|
||||
set autowrite
|
||||
set hlsearch
|
||||
" List.
|
||||
set list
|
||||
set listchars=tab:\|\.,trail:.
|
||||
match NonText /\t/
|
||||
" Folding.
|
||||
set foldenable
|
||||
set foldmethod=indent
|
||||
set foldnestmax=10
|
||||
" GUI.
|
||||
" Cursor line in GUI(It works too slow in terminal).
|
||||
if has("gui_running")
|
||||
set cursorline
|
||||
colorscheme vividchalk
|
||||
else
|
||||
" My colorscheme based on 'slate'.
|
||||
colorscheme jien
|
||||
"colorscheme torte
|
||||
endif
|
||||
" Syntax.
|
||||
syntax on
|
||||
" Maps.
|
||||
" Nerd-Tree.
|
||||
nmap \nt :NERDTree . <enter>
|
||||
" Disable highlight.
|
||||
nmap \nl :if &cursorline==1<enter>set nocursorline<enter>else<enter>set cursorline<enter>endif<enter><enter>
|
||||
nmap \nh :nohlsearch<enter>
|
||||
nmap <Return> i<Return><Esc>
|
||||
nmap <Tab> >>
|
||||
nmap <S-Tab> <<
|
||||
nmap <Space> i<Space><Esc>
|
||||
nmap <Backspace> i<Backspace><Esc>l
|
||||
nmap <C-l> <C-w>l
|
||||
nmap <C-h> <C-w>h
|
||||
nmap <C-j> <C-w>j
|
||||
nmap <C-k> <C-w>k
|
||||
imap <M-a> <Esc>
|
||||
imap <C-Space> <Esc>
|
||||
nmap + <C-W>+
|
||||
nmap - <C-W>-
|
||||
cnoremap <C-A> <Home>
|
||||
cnoremap <C-F> <Right>
|
||||
cnoremap <C-B> <Left>
|
||||
cnoremap <Esc>b <S-Left>
|
||||
cnoremap <Esc>f <S-Right>
|
||||
" Autocmd.
|
||||
" When editing a file, always jump to the last known cursor position.
|
||||
" Don't do it when the position is invalid or when inside an event handler
|
||||
" (happens when dropping a file on "gvim").
|
||||
autocmd BufReadPost *
|
||||
\ if line("'\"") > 0 && line("'\"") <= line("$") |
|
||||
\ exe "normal g`\"" |
|
||||
\ endif
|
||||
" Encoding.
|
||||
set encoding=utf-8
|
9
dot/file/winitrc
Normal file
9
dot/file/winitrc
Normal file
|
@ -0,0 +1,9 @@
|
|||
session=$(1:-sway)
|
||||
shift
|
||||
arg="$@"
|
||||
# The same as xinitrc, but for Wayland programs.
|
||||
case "$session" in
|
||||
sway ) exec sway $arg;;
|
||||
# Not found any specific.
|
||||
* ) exec $session $arg ;;
|
||||
esac
|
172
dot/file/xonotic/data/config.1.cfg
Normal file
172
dot/file/xonotic/data/config.1.cfg
Normal file
|
@ -0,0 +1,172 @@
|
|||
bind TAB "// not bound"
|
||||
bind ENTER "messagemode"
|
||||
bind ESCAPE "togglemenu"
|
||||
bind SPACE "+jump"
|
||||
bind , "// not bound"
|
||||
bind / "toggleconsole"
|
||||
bind 0 "// not bound"
|
||||
bind 1 "// not bound"
|
||||
bind 2 "// not bound"
|
||||
bind 3 "// not bound"
|
||||
bind 4 "weapon_group_0"
|
||||
bind 5 "// not bound"
|
||||
bind 6 "// not bound"
|
||||
bind 7 "// not bound"
|
||||
bind 8 "// not bound"
|
||||
bind 9 "// not bound"
|
||||
bind [ "messagemode"
|
||||
bind ] "messagemode2"
|
||||
bind BACKQUOTE "// not bound"
|
||||
bind a "// not bound"
|
||||
bind b "// not bound"
|
||||
bind d "weapon_group_6"
|
||||
bind e "weapon_group_4"
|
||||
bind f "weapon_group_1"
|
||||
bind g "+moveleft"
|
||||
bind h "+forward"
|
||||
bind i "weapon_group_5"
|
||||
bind j "weapon_group_2"
|
||||
bind k "weapon_group_3"
|
||||
bind m "weapon_group_8"
|
||||
bind n "weapon_group_9"
|
||||
bind q "// not bound"
|
||||
bind r "weapon_group_7"
|
||||
bind s "// not bound"
|
||||
bind t "+moveright"
|
||||
bind u "// not bound"
|
||||
bind v "// not bound"
|
||||
bind w "// not bound"
|
||||
bind x "// not bound"
|
||||
bind y "+back"
|
||||
bind z "// not bound"
|
||||
bind TILDE "// not bound"
|
||||
bind BACKSPACE "dropweapon"
|
||||
bind UPARROW "// not bound"
|
||||
bind DOWNARROW "// not bound"
|
||||
bind LEFTARROW "// not bound"
|
||||
bind RIGHTARROW "// not bound"
|
||||
bind ALT "+crouch"
|
||||
bind SHIFT "+showscores"
|
||||
bind F1 "vyes"
|
||||
bind F2 "vno"
|
||||
bind F3 "spec"
|
||||
bind F4 "ready"
|
||||
bind F5 "menu_showteamselect"
|
||||
bind F6 "team_auto"
|
||||
bind F7 "menu_showsandboxtools"
|
||||
bind F9 "cl_cmd hud minigame"
|
||||
bind F10 "menu_showquitdialog"
|
||||
bind F11 "disconnect"
|
||||
bind F12 "screenshot"
|
||||
bind PAUSE "pause"
|
||||
bind KP_INS "// not bound"
|
||||
bind KP_END "+userbind 1"
|
||||
bind KP_DOWNARROW "+userbind 2"
|
||||
bind KP_PGDN "+userbind 3"
|
||||
bind KP_LEFTARROW "+userbind 4"
|
||||
bind KP_5 "+userbind 6"
|
||||
bind KP_RIGHTARROW "+userbind 7"
|
||||
bind KP_HOME "+userbind 9"
|
||||
bind KP_UPARROW "+userbind 10"
|
||||
bind KP_PGUP "+userbind 11"
|
||||
bind KP_DEL "// not bound"
|
||||
bind KP_SLASH "+userbind 13"
|
||||
bind KP_MULTIPLY "+userbind 12"
|
||||
bind KP_MINUS "+userbind 18"
|
||||
bind KP_PLUS "+userbind 17"
|
||||
bind KP_ENTER "+userbind 16"
|
||||
bind MOUSE1 "+fire"
|
||||
bind MOUSE2 "+fire2"
|
||||
bind MOUSE3 "togglezoom"
|
||||
bind MWHEELUP "weapnext"
|
||||
bind MWHEELDOWN "weapprev"
|
||||
bind MOUSE4 "+jetpack"
|
||||
bind MOUSE5 "+hook"
|
||||
bind JOY1 "// not bound"
|
||||
bind JOY2 "// not bound"
|
||||
bind JOY3 "weapprev"
|
||||
bind JOY4 "weapnext"
|
||||
bind JOY5 "+fire2"
|
||||
bind JOY6 "+fire"
|
||||
bind JOY7 "// not bound"
|
||||
bind JOY8 "dropweapon"
|
||||
bind JOY9 "menu_showteamselect"
|
||||
bind JOY10 "+show_info"
|
||||
bind JOY11 "// not bound"
|
||||
bind JOY12 "+con_chat_maximize"
|
||||
"_cl_color" "18"
|
||||
"_cl_name" "jien"
|
||||
seta "_hud_panelorder" "17 15 12 9 5 10 6 14 0 7 4 11 2 1 3 8 13 16 18 19 20 21 22 23 24 "
|
||||
"bgmvolume" "0"
|
||||
seta "cl_allow_uid2name" "1"
|
||||
seta "cl_autoswitch" "0"
|
||||
"cl_backspeed" "360"
|
||||
seta "cl_damageeffect" "0"
|
||||
seta "cl_damagetext_2d" "1"
|
||||
seta "cl_damagetext_2d_alpha_lifetime" "1.29999995"
|
||||
seta "cl_damagetext_2d_alpha_start" "1"
|
||||
seta "cl_damagetext_2d_close_range" "125"
|
||||
seta "cl_damagetext_2d_out_of_view" "1"
|
||||
seta "cl_damagetext_2d_overlap_offset" "0 -15 0"
|
||||
seta "cl_damagetext_2d_pos" "0.469999999 0.529999971 0"
|
||||
seta "cl_damagetext_2d_size_lifetime" "3"
|
||||
seta "cl_damagetext_2d_velocity" "-25 0 0"
|
||||
seta "cl_damagetext_offset_screen" "0 -45 0"
|
||||
seta "cl_damagetext_offset_world" "0 0 0"
|
||||
seta "cl_damagetext_size" "8"
|
||||
seta "cl_damagetext_velocity_screen" "0 0 0"
|
||||
seta "cl_damagetext_velocity_world" "0 0 20"
|
||||
"cl_forwardspeed" "360"
|
||||
seta "cl_matchcount" "333"
|
||||
"cl_movement_track_canjump" "1"
|
||||
"cl_particles_quality" "0.4"
|
||||
"cl_sidespeed" "360"
|
||||
seta "cl_spawn_point_particles" "0"
|
||||
seta "cl_startcount" "64"
|
||||
"cl_upspeed" "360"
|
||||
seta "cl_zoomsensitivity" "1"
|
||||
seta "cl_zoomspeed" "-1"
|
||||
"con_chat" "10"
|
||||
"con_chatrect" "1"
|
||||
"con_chatrect_x" "0.012812"
|
||||
"con_chatrect_y" "0.705000"
|
||||
"con_chatwidth" "0.454377"
|
||||
"fov" "130"
|
||||
seta "fraglimit_override" "0"
|
||||
seta "g_configversion" "7"
|
||||
seta "g_maplist" "erbium drain runningman warfare silentsiege stormkeep implosion vorix dance techassault glowplant runningmanctf geoplanetary nexballarena afterslime atelier darkzone boil fuse finalrage space-elevator solarium leave_em_behind xoylent catharsis courtfun oilrig"
|
||||
seta "g_maplist_index" "23"
|
||||
"gl_finish" "1"
|
||||
"gl_flashblend" "1"
|
||||
"gl_picmip" "1"
|
||||
"gl_texturecompression" "1"
|
||||
"gl_vbo" "1"
|
||||
"hostname" "jien's Xonotic Server"
|
||||
"mastervolume" "0.275423"
|
||||
seta "menu_maxplayers" "1"
|
||||
"mod_q3bsp_nolightmaps" "1"
|
||||
seta "notification_INFO_ITEM_WEAPON_DONTHAVE" "1"
|
||||
seta "notification_INFO_ITEM_WEAPON_DROP" "1"
|
||||
seta "notification_INFO_ITEM_WEAPON_GOT" "1"
|
||||
seta "notification_INFO_ITEM_WEAPON_NOAMMO" "1"
|
||||
seta "notification_INFO_ITEM_WEAPON_PRIMORSEC" "1"
|
||||
seta "notification_INFO_ITEM_WEAPON_UNAVAILABLE" "1"
|
||||
"r_depthfirst" "0"
|
||||
"r_drawdecals_drawdistance" "200"
|
||||
"r_drawparticles_drawdistance" "500"
|
||||
"r_drawviewmodel" "0"
|
||||
"r_framedatasize" "4"
|
||||
"r_glsl_deluxemapping" "0"
|
||||
"r_shadow_gloss" "0"
|
||||
"r_shadow_realtime_dlight" "0"
|
||||
"r_shadow_usenormalmap" "0"
|
||||
"r_subdivisions_tolerance" "8"
|
||||
"sensitivity" "18"
|
||||
seta "snd_channel8volume" "0"
|
||||
"sv_curl_serverpackages" "csprogs-xonotic-v0.8.2~.txt"
|
||||
seta "timelimit_override" "0"
|
||||
"v_brightness" "1.490116e-08"
|
||||
"v_glslgamma" "0"
|
||||
"vid_conwidth" "1067"
|
||||
"vid_height" "1080"
|
||||
"vid_width" "1920"
|
192
dot/file/xonotic/data/config.2.cfg
Normal file
192
dot/file/xonotic/data/config.2.cfg
Normal file
|
@ -0,0 +1,192 @@
|
|||
bind TAB "// not bound"
|
||||
bind ENTER "messagemode"
|
||||
bind ESCAPE "togglemenu"
|
||||
bind SPACE "+jump"
|
||||
bind , "weapon_group_8"
|
||||
bind / "toggleconsole"
|
||||
bind 0 "// not bound"
|
||||
bind 1 "// not bound"
|
||||
bind 2 "// not bound"
|
||||
bind 3 "// not bound"
|
||||
bind 4 "weapon_group_0"
|
||||
bind 5 "// not bound"
|
||||
bind 6 "// not bound"
|
||||
bind 7 "// not bound"
|
||||
bind 8 "// not bound"
|
||||
bind 9 "// not bound"
|
||||
bind [ "messagemode"
|
||||
bind ] "messagemode2"
|
||||
bind BACKQUOTE "// not bound"
|
||||
bind a "// not bound"
|
||||
bind b "// not bound"
|
||||
bind d "// not bound"
|
||||
bind e "// not bound"
|
||||
bind f "weapon_group_2"
|
||||
bind g "+moveleft"
|
||||
bind h "+forward"
|
||||
bind i "weapon_group_5"
|
||||
bind j "weapon_group_1"
|
||||
bind k "weapon_group_6"
|
||||
bind m "weapon_group_4"
|
||||
bind n "weapon_group_9"
|
||||
bind q "// not bound"
|
||||
bind r "weapon_group_7"
|
||||
bind s "// not bound"
|
||||
bind t "+moveright"
|
||||
bind u "weapon_group_3"
|
||||
bind v "// not bound"
|
||||
bind w "// not bound"
|
||||
bind x "// not bound"
|
||||
bind y "+back"
|
||||
bind z "// not bound"
|
||||
bind TILDE "// not bound"
|
||||
bind BACKSPACE "dropweapon"
|
||||
bind UPARROW "// not bound"
|
||||
bind DOWNARROW "// not bound"
|
||||
bind LEFTARROW "// not bound"
|
||||
bind RIGHTARROW "// not bound"
|
||||
bind ALT "+crouch"
|
||||
bind SHIFT "+showscores"
|
||||
bind F1 "vyes"
|
||||
bind F2 "vno"
|
||||
bind F3 "spec"
|
||||
bind F4 "ready"
|
||||
bind F5 "menu_showteamselect"
|
||||
bind F6 "team_auto"
|
||||
bind F7 "menu_showsandboxtools"
|
||||
bind F8 "cl_cmd hud quickmenu"
|
||||
bind F9 "cl_cmd hud minigame"
|
||||
bind F10 "menu_showquitdialog"
|
||||
bind F11 "disconnect"
|
||||
bind F12 "screenshot"
|
||||
bind PAUSE "pause"
|
||||
bind KP_INS "// not bound"
|
||||
bind KP_END "+userbind 1"
|
||||
bind KP_DOWNARROW "+userbind 2"
|
||||
bind KP_PGDN "+userbind 3"
|
||||
bind KP_LEFTARROW "+userbind 4"
|
||||
bind KP_5 "+userbind 6"
|
||||
bind KP_RIGHTARROW "+userbind 7"
|
||||
bind KP_HOME "+userbind 9"
|
||||
bind KP_UPARROW "+userbind 10"
|
||||
bind KP_PGUP "+userbind 11"
|
||||
bind KP_DEL "// not bound"
|
||||
bind KP_SLASH "+userbind 13"
|
||||
bind KP_MULTIPLY "+userbind 12"
|
||||
bind KP_MINUS "+userbind 18"
|
||||
bind KP_PLUS "+userbind 17"
|
||||
bind KP_ENTER "+userbind 16"
|
||||
bind MOUSE1 "+fire"
|
||||
bind MOUSE2 "+fire2"
|
||||
bind MOUSE3 "togglezoom"
|
||||
bind MWHEELUP "weapnext"
|
||||
bind MWHEELDOWN "weapprev"
|
||||
bind MOUSE4 "+jetpack"
|
||||
bind MOUSE5 "+hook"
|
||||
bind JOY1 "// not bound"
|
||||
bind JOY2 "// not bound"
|
||||
bind JOY3 "weapprev"
|
||||
bind JOY4 "weapnext"
|
||||
bind JOY5 "+fire2"
|
||||
bind JOY6 "+fire"
|
||||
bind JOY7 "// not bound"
|
||||
bind JOY8 "dropweapon"
|
||||
bind JOY9 "menu_showteamselect"
|
||||
bind JOY10 "+show_info"
|
||||
bind JOY11 "// not bound"
|
||||
bind JOY12 "+con_chat_maximize"
|
||||
"_cl_color" "18"
|
||||
"_cl_name" "jien"
|
||||
seta "_hud_panelorder" "17 15 12 9 5 10 6 14 0 7 4 11 2 1 3 8 13 16 18 19 20 21 22 23 24 "
|
||||
"bgmvolume" "0"
|
||||
seta "cl_allow_uid2name" "1"
|
||||
seta "cl_autoswitch" "0"
|
||||
"cl_backspeed" "360"
|
||||
seta "cl_damageeffect" "0"
|
||||
seta "cl_damagetext_2d" "1"
|
||||
seta "cl_damagetext_2d_alpha_lifetime" "1.29999995"
|
||||
seta "cl_damagetext_2d_alpha_start" "1"
|
||||
seta "cl_damagetext_2d_close_range" "125"
|
||||
seta "cl_damagetext_2d_out_of_view" "1"
|
||||
seta "cl_damagetext_2d_overlap_offset" "0 -15 0"
|
||||
seta "cl_damagetext_2d_pos" "0.469999999 0.529999971 0"
|
||||
seta "cl_damagetext_2d_size_lifetime" "3"
|
||||
seta "cl_damagetext_2d_velocity" "-25 0 0"
|
||||
seta "cl_damagetext_color" "0.913107 0.00482814 0"
|
||||
seta "cl_damagetext_friendlyfire_color" "0.106204 0.927508 0"
|
||||
seta "cl_damagetext_offset_screen" "0 -45 0"
|
||||
seta "cl_damagetext_offset_world" "0 0 0"
|
||||
seta "cl_damagetext_size" "8"
|
||||
seta "cl_damagetext_velocity_screen" "0 0 0"
|
||||
seta "cl_damagetext_velocity_world" "0 0 20"
|
||||
"cl_forwardspeed" "360"
|
||||
seta "cl_matchcount" "594"
|
||||
"cl_movement_track_canjump" "1"
|
||||
"cl_particles_quality" "0.4"
|
||||
seta "cl_radio" "1"
|
||||
"cl_sidespeed" "360"
|
||||
seta "cl_spawn_point_particles" "0"
|
||||
seta "cl_startcount" "120"
|
||||
"cl_upspeed" "360"
|
||||
seta "cl_zoomsensitivity" "1"
|
||||
seta "cl_zoomspeed" "-1"
|
||||
"con_chat" "10"
|
||||
"con_chatrect" "1"
|
||||
"con_chatrect_x" "0.012812"
|
||||
"con_chatrect_y" "0.705000"
|
||||
"con_chatwidth" "0.454377"
|
||||
"crosshair" "33"
|
||||
seta "crosshair_color" "1 0.865002 0.860905"
|
||||
seta "crosshair_color_special" "0"
|
||||
seta "crosshair_dot" "1"
|
||||
seta "crosshair_dot_color" "0.930126 0.00582441 0"
|
||||
seta "crosshair_enabled" "2"
|
||||
seta "crosshair_per_weapon" "0"
|
||||
"crosshair_size" "0.66"
|
||||
"fov" "130"
|
||||
seta "fraglimit_override" "0"
|
||||
seta "g_configversion" "7"
|
||||
seta "g_maplist" "erbium drain runningman warfare silentsiege stormkeep implosion vorix dance techassault glowplant runningmanctf geoplanetary nexballarena afterslime atelier darkzone boil fuse finalrage space-elevator solarium leave_em_behind xoylent catharsis courtfun oilrig"
|
||||
seta "g_maplist_index" "23"
|
||||
"gl_finish" "1"
|
||||
"gl_picmip" "3"
|
||||
"gl_texturecompression" "1"
|
||||
"gl_vbo" "1"
|
||||
"hostname" "jien's Xonotic Server"
|
||||
seta "hud_dynamic_shake" "0"
|
||||
seta "hud_panel_quickmenu_file" "wop-menu.txt"
|
||||
seta "hud_panel_scoreboard_accuracy" "0"
|
||||
seta "hud_panel_scoreboard_respawntime_decimals" "0"
|
||||
seta "hud_panel_scoreboard_table_highlight" "0"
|
||||
seta "hud_shownames" "0"
|
||||
"m_filter" "1"
|
||||
"mastervolume" "0.724436"
|
||||
seta "menu_maxplayers" "1"
|
||||
"mod_q3bsp_nolightmaps" "1"
|
||||
seta "notification_INFO_ITEM_WEAPON_DONTHAVE" "1"
|
||||
seta "notification_INFO_ITEM_WEAPON_DROP" "1"
|
||||
seta "notification_INFO_ITEM_WEAPON_GOT" "1"
|
||||
seta "notification_INFO_ITEM_WEAPON_NOAMMO" "1"
|
||||
seta "notification_INFO_ITEM_WEAPON_PRIMORSEC" "1"
|
||||
seta "notification_INFO_ITEM_WEAPON_UNAVAILABLE" "1"
|
||||
seta "notification_show_sprees_center" "0"
|
||||
"r_coronas" "0"
|
||||
"r_depthfirst" "0"
|
||||
"r_drawdecals_drawdistance" "200"
|
||||
"r_drawparticles_drawdistance" "500"
|
||||
"r_drawviewmodel" "0"
|
||||
"r_framedatasize" "4"
|
||||
"r_glsl_deluxemapping" "0"
|
||||
"r_shadow_gloss" "0"
|
||||
"r_shadow_realtime_dlight" "0"
|
||||
"r_shadow_usenormalmap" "0"
|
||||
"r_subdivisions_tolerance" "16"
|
||||
"sensitivity" "15"
|
||||
seta "snd_channel8volume" "0"
|
||||
"sv_curl_serverpackages" "csprogs-xonotic-v0.8.2~.txt"
|
||||
seta "timelimit_override" "0"
|
||||
"v_brightness" "0.18"
|
||||
"v_glslgamma" "0"
|
||||
"vid_conwidth" "1067"
|
||||
"vid_height" "1080"
|
||||
"vid_width" "1920"
|
173
dot/file/xonotic/data/config.3.cfg
Normal file
173
dot/file/xonotic/data/config.3.cfg
Normal file
|
@ -0,0 +1,173 @@
|
|||
bind TAB "// not bound"
|
||||
bind ENTER "messagemode"
|
||||
bind ESCAPE "togglemenu"
|
||||
bind SPACE "+jump"
|
||||
bind , "weapon_group_8"
|
||||
bind / "toggleconsole"
|
||||
bind 0 "// not bound"
|
||||
bind 1 "// not bound"
|
||||
bind 2 "// not bound"
|
||||
bind 3 "// not bound"
|
||||
bind 4 "weapon_group_0"
|
||||
bind 5 "// not bound"
|
||||
bind 6 "// not bound"
|
||||
bind 7 "// not bound"
|
||||
bind 8 "// not bound"
|
||||
bind 9 "// not bound"
|
||||
bind [ "messagemode"
|
||||
bind ] "messagemode2"
|
||||
bind BACKQUOTE "// not bound"
|
||||
bind a "// not bound"
|
||||
bind b "// not bound"
|
||||
bind d "// not bound"
|
||||
bind e "// not bound"
|
||||
bind f "weapon_group_2"
|
||||
bind g "+moveleft"
|
||||
bind h "+forward"
|
||||
bind i "weapon_group_5"
|
||||
bind j "weapon_group_1"
|
||||
bind k "weapon_group_6"
|
||||
bind m "weapon_group_4"
|
||||
bind n "weapon_group_9"
|
||||
bind q "// not bound"
|
||||
bind r "weapon_group_7"
|
||||
bind s "// not bound"
|
||||
bind t "+moveright"
|
||||
bind u "weapon_group_3"
|
||||
bind v "// not bound"
|
||||
bind w "// not bound"
|
||||
bind x "// not bound"
|
||||
bind y "+back"
|
||||
bind z "// not bound"
|
||||
bind TILDE "// not bound"
|
||||
bind BACKSPACE "dropweapon"
|
||||
bind UPARROW "// not bound"
|
||||
bind DOWNARROW "// not bound"
|
||||
bind LEFTARROW "// not bound"
|
||||
bind RIGHTARROW "// not bound"
|
||||
bind ALT "+crouch"
|
||||
bind SHIFT "+showscores"
|
||||
bind F1 "vyes"
|
||||
bind F2 "vno"
|
||||
bind F3 "spec"
|
||||
bind F4 "ready"
|
||||
bind F5 "menu_showteamselect"
|
||||
bind F6 "team_auto"
|
||||
bind F7 "menu_showsandboxtools"
|
||||
bind F9 "cl_cmd hud minigame"
|
||||
bind F10 "menu_showquitdialog"
|
||||
bind F11 "disconnect"
|
||||
bind F12 "screenshot"
|
||||
bind PAUSE "pause"
|
||||
bind KP_INS "// not bound"
|
||||
bind KP_END "+userbind 1"
|
||||
bind KP_DOWNARROW "+userbind 2"
|
||||
bind KP_PGDN "+userbind 3"
|
||||
bind KP_LEFTARROW "+userbind 4"
|
||||
bind KP_5 "+userbind 6"
|
||||
bind KP_RIGHTARROW "+userbind 7"
|
||||
bind KP_HOME "+userbind 9"
|
||||
bind KP_UPARROW "+userbind 10"
|
||||
bind KP_PGUP "+userbind 11"
|
||||
bind KP_DEL "// not bound"
|
||||
bind KP_SLASH "+userbind 13"
|
||||
bind KP_MULTIPLY "+userbind 12"
|
||||
bind KP_MINUS "+userbind 18"
|
||||
bind KP_PLUS "+userbind 17"
|
||||
bind KP_ENTER "+userbind 16"
|
||||
bind MOUSE1 "+fire"
|
||||
bind MOUSE2 "+fire2"
|
||||
bind MOUSE3 "togglezoom"
|
||||
bind MWHEELUP "weapnext"
|
||||
bind MWHEELDOWN "weapprev"
|
||||
bind MOUSE4 "+jetpack"
|
||||
bind MOUSE5 "+hook"
|
||||
bind JOY1 "// not bound"
|
||||
bind JOY2 "// not bound"
|
||||
bind JOY3 "weapprev"
|
||||
bind JOY4 "weapnext"
|
||||
bind JOY5 "+fire2"
|
||||
bind JOY6 "+fire"
|
||||
bind JOY7 "// not bound"
|
||||
bind JOY8 "dropweapon"
|
||||
bind JOY9 "menu_showteamselect"
|
||||
bind JOY10 "+show_info"
|
||||
bind JOY11 "// not bound"
|
||||
bind JOY12 "+con_chat_maximize"
|
||||
"_cl_color" "18"
|
||||
"_cl_name" "k1574"
|
||||
seta "_hud_panelorder" "17 15 12 9 5 10 6 14 0 7 4 11 2 1 3 8 13 16 18 19 20 21 22 23 24 "
|
||||
"bgmvolume" "0"
|
||||
seta "cl_allow_uid2name" "1"
|
||||
seta "cl_autoswitch" "0"
|
||||
"cl_backspeed" "360"
|
||||
seta "cl_damageeffect" "0"
|
||||
seta "cl_damagetext_2d" "1"
|
||||
seta "cl_damagetext_2d_alpha_lifetime" "1.29999995"
|
||||
seta "cl_damagetext_2d_alpha_start" "1"
|
||||
seta "cl_damagetext_2d_close_range" "125"
|
||||
seta "cl_damagetext_2d_out_of_view" "1"
|
||||
seta "cl_damagetext_2d_overlap_offset" "0 -15 0"
|
||||
seta "cl_damagetext_2d_pos" "0.469999999 0.529999971 0"
|
||||
seta "cl_damagetext_2d_size_lifetime" "3"
|
||||
seta "cl_damagetext_2d_velocity" "-25 0 0"
|
||||
seta "cl_damagetext_offset_screen" "0 -45 0"
|
||||
seta "cl_damagetext_offset_world" "0 0 0"
|
||||
seta "cl_damagetext_size" "8"
|
||||
seta "cl_damagetext_velocity_screen" "0 0 0"
|
||||
seta "cl_damagetext_velocity_world" "0 0 20"
|
||||
"cl_forwardspeed" "360"
|
||||
seta "cl_matchcount" "341"
|
||||
"cl_movement_track_canjump" "1"
|
||||
"cl_particles_quality" "0.4"
|
||||
"cl_sidespeed" "360"
|
||||
seta "cl_spawn_point_particles" "0"
|
||||
seta "cl_startcount" "66"
|
||||
"cl_upspeed" "360"
|
||||
seta "cl_zoomsensitivity" "1"
|
||||
seta "cl_zoomspeed" "-1"
|
||||
"con_chat" "10"
|
||||
"con_chatrect" "1"
|
||||
"con_chatrect_x" "0.012812"
|
||||
"con_chatrect_y" "0.705000"
|
||||
"con_chatwidth" "0.454377"
|
||||
"fov" "130"
|
||||
seta "fraglimit_override" "0"
|
||||
seta "g_configversion" "7"
|
||||
seta "g_maplist" "erbium drain runningman warfare silentsiege stormkeep implosion vorix dance techassault glowplant runningmanctf geoplanetary nexballarena afterslime atelier darkzone boil fuse finalrage space-elevator solarium leave_em_behind xoylent catharsis courtfun oilrig"
|
||||
seta "g_maplist_index" "23"
|
||||
"gl_finish" "1"
|
||||
"gl_flashblend" "1"
|
||||
"gl_picmip" "1"
|
||||
"gl_texturecompression" "1"
|
||||
"gl_vbo" "1"
|
||||
"hostname" "jien's Xonotic Server"
|
||||
"m_filter" "1"
|
||||
"mastervolume" "0.275423"
|
||||
seta "menu_maxplayers" "1"
|
||||
"mod_q3bsp_nolightmaps" "1"
|
||||
seta "notification_INFO_ITEM_WEAPON_DONTHAVE" "1"
|
||||
seta "notification_INFO_ITEM_WEAPON_DROP" "1"
|
||||
seta "notification_INFO_ITEM_WEAPON_GOT" "1"
|
||||
seta "notification_INFO_ITEM_WEAPON_NOAMMO" "1"
|
||||
seta "notification_INFO_ITEM_WEAPON_PRIMORSEC" "1"
|
||||
seta "notification_INFO_ITEM_WEAPON_UNAVAILABLE" "1"
|
||||
"r_depthfirst" "0"
|
||||
"r_drawdecals_drawdistance" "200"
|
||||
"r_drawparticles_drawdistance" "500"
|
||||
"r_drawviewmodel" "0"
|
||||
"r_framedatasize" "4"
|
||||
"r_glsl_deluxemapping" "0"
|
||||
"r_shadow_gloss" "0"
|
||||
"r_shadow_realtime_dlight" "0"
|
||||
"r_shadow_usenormalmap" "0"
|
||||
"r_subdivisions_tolerance" "8"
|
||||
"sensitivity" "18"
|
||||
seta "snd_channel8volume" "0"
|
||||
"sv_curl_serverpackages" "csprogs-xonotic-v0.8.2~.txt"
|
||||
seta "timelimit_override" "0"
|
||||
"v_brightness" "1.490116e-08"
|
||||
"v_glslgamma" "0"
|
||||
"vid_conwidth" "1067"
|
||||
"vid_height" "1080"
|
||||
"vid_width" "1920"
|
178
dot/file/xonotic/data/config.cfg
Normal file
178
dot/file/xonotic/data/config.cfg
Normal file
|
@ -0,0 +1,178 @@
|
|||
bind TAB "// not bound"
|
||||
bind ENTER "messagemode"
|
||||
bind ESCAPE "togglemenu"
|
||||
bind SPACE "+jump"
|
||||
bind , "// not bound"
|
||||
bind / "toggleconsole"
|
||||
bind 0 "// not bound"
|
||||
bind 1 "// not bound"
|
||||
bind 2 "// not bound"
|
||||
bind 3 "// not bound"
|
||||
bind 4 "weapon_group_0"
|
||||
bind 5 "// not bound"
|
||||
bind 6 "// not bound"
|
||||
bind 7 "// not bound"
|
||||
bind 8 "// not bound"
|
||||
bind 9 "// not bound"
|
||||
bind [ "messagemode"
|
||||
bind ] "messagemode2"
|
||||
bind BACKQUOTE "// not bound"
|
||||
bind a "// not bound"
|
||||
bind b "// not bound"
|
||||
bind d "// not bound"
|
||||
bind e "// not bound"
|
||||
bind f "weapon_group_2"
|
||||
bind g "+moveleft"
|
||||
bind h "+forward"
|
||||
bind i "weapon_group_5"
|
||||
bind j "weapon_group_9"
|
||||
bind k "+hook"
|
||||
bind m "weapon_group_8"
|
||||
bind n "weapon_group_4"
|
||||
bind q "// not bound"
|
||||
bind r "weapon_group_7"
|
||||
bind s "// not bound"
|
||||
bind t "+moveright"
|
||||
bind u "weapon_group_3"
|
||||
bind v "// not bound"
|
||||
bind w "// not bound"
|
||||
bind x "// not bound"
|
||||
bind y "+back"
|
||||
bind z "// not bound"
|
||||
bind TILDE "// not bound"
|
||||
bind BACKSPACE "dropweapon"
|
||||
bind UPARROW "// not bound"
|
||||
bind DOWNARROW "// not bound"
|
||||
bind LEFTARROW "// not bound"
|
||||
bind RIGHTARROW "// not bound"
|
||||
bind ALT "+crouch"
|
||||
bind SHIFT "+showscores"
|
||||
bind F1 "vyes"
|
||||
bind F2 "vno"
|
||||
bind F3 "spec"
|
||||
bind F4 "ready"
|
||||
bind F5 "menu_showteamselect"
|
||||
bind F6 "team_auto"
|
||||
bind F7 "menu_showsandboxtools"
|
||||
bind F9 "cl_cmd hud minigame"
|
||||
bind F10 "menu_showquitdialog"
|
||||
bind F11 "disconnect"
|
||||
bind F12 "screenshot"
|
||||
bind PAUSE "pause"
|
||||
bind KP_INS "// not bound"
|
||||
bind KP_END "+userbind 1"
|
||||
bind KP_DOWNARROW "+userbind 2"
|
||||
bind KP_PGDN "+userbind 3"
|
||||
bind KP_LEFTARROW "+userbind 4"
|
||||
bind KP_5 "+userbind 6"
|
||||
bind KP_RIGHTARROW "+userbind 7"
|
||||
bind KP_HOME "+userbind 9"
|
||||
bind KP_UPARROW "+userbind 10"
|
||||
bind KP_PGUP "+userbind 11"
|
||||
bind KP_DEL "// not bound"
|
||||
bind KP_SLASH "+userbind 13"
|
||||
bind KP_MULTIPLY "+userbind 12"
|
||||
bind KP_MINUS "+userbind 18"
|
||||
bind KP_PLUS "+userbind 17"
|
||||
bind KP_ENTER "+userbind 16"
|
||||
bind MOUSE1 "+fire"
|
||||
bind MOUSE2 "+fire2"
|
||||
bind MOUSE3 "togglezoom"
|
||||
bind MWHEELUP "weapon_group_1"
|
||||
bind MWHEELDOWN "weapon_group_6"
|
||||
bind MOUSE4 "+jetpack"
|
||||
bind MOUSE5 "// not bound"
|
||||
bind JOY1 "// not bound"
|
||||
bind JOY2 "// not bound"
|
||||
bind JOY3 "// not bound"
|
||||
bind JOY4 "weapnext"
|
||||
bind JOY5 "+fire2"
|
||||
bind JOY6 "+fire"
|
||||
bind JOY7 "// not bound"
|
||||
bind JOY8 "dropweapon"
|
||||
bind JOY9 "menu_showteamselect"
|
||||
bind JOY10 "+show_info"
|
||||
bind JOY11 "// not bound"
|
||||
bind JOY12 "+con_chat_maximize"
|
||||
"_cl_color" "18"
|
||||
"_cl_name" "k1574"
|
||||
seta "_hud_panelorder" "17 15 12 9 5 10 6 14 0 7 4 11 2 1 3 8 13 16 18 19 20 21 22 23 24 "
|
||||
"bgmvolume" "0"
|
||||
seta "cl_allow_uid2name" "1"
|
||||
seta "cl_autoswitch" "0"
|
||||
"cl_backspeed" "360"
|
||||
seta "cl_damageeffect" "0"
|
||||
seta "cl_damagetext_2d" "1"
|
||||
seta "cl_damagetext_2d_alpha_lifetime" "1.29999995"
|
||||
seta "cl_damagetext_2d_alpha_start" "1"
|
||||
seta "cl_damagetext_2d_close_range" "125"
|
||||
seta "cl_damagetext_2d_out_of_view" "1"
|
||||
seta "cl_damagetext_2d_overlap_offset" "0 -15 0"
|
||||
seta "cl_damagetext_2d_pos" "0.469999999 0.529999971 0"
|
||||
seta "cl_damagetext_2d_size_lifetime" "3"
|
||||
seta "cl_damagetext_2d_velocity" "-25 0 0"
|
||||
seta "cl_damagetext_offset_screen" "0 -45 0"
|
||||
seta "cl_damagetext_offset_world" "0 0 0"
|
||||
seta "cl_damagetext_size" "8"
|
||||
seta "cl_damagetext_velocity_screen" "0 0 0"
|
||||
seta "cl_damagetext_velocity_world" "0 0 20"
|
||||
seta "cl_eventchase_death" "0"
|
||||
"cl_forwardspeed" "360"
|
||||
seta "cl_matchcount" "375"
|
||||
"cl_movement_track_canjump" "1"
|
||||
"cl_particles_quality" "0.4"
|
||||
"cl_sidespeed" "360"
|
||||
"cl_smoothviewheight" "0"
|
||||
seta "cl_spawn_point_particles" "0"
|
||||
seta "cl_startcount" "76"
|
||||
"cl_upspeed" "360"
|
||||
seta "cl_zoomsensitivity" "1"
|
||||
seta "cl_zoomspeed" "-1"
|
||||
"con_chat" "10"
|
||||
"con_chatrect" "1"
|
||||
"con_chatrect_x" "0.012812"
|
||||
"con_chatrect_y" "0.808333"
|
||||
"con_chatwidth" "0.454377"
|
||||
"fov" "130"
|
||||
seta "fraglimit_override" "0"
|
||||
seta "g_configversion" "7"
|
||||
seta "g_maplist" "erbium drain runningman warfare silentsiege stormkeep implosion vorix dance techassault glowplant runningmanctf geoplanetary nexballarena afterslime atelier darkzone boil fuse finalrage space-elevator solarium leave_em_behind xoylent catharsis courtfun oilrig"
|
||||
seta "g_maplist_index" "23"
|
||||
"gl_finish" "1"
|
||||
"gl_flashblend" "1"
|
||||
"gl_picmip" "1"
|
||||
"gl_texturecompression" "1"
|
||||
"gl_vbo" "1"
|
||||
"hostname" "jien's Xonotic Server"
|
||||
seta "hud_cursormode" "0"
|
||||
"m_accelerate" "0"
|
||||
"mastervolume" "0.275423"
|
||||
seta "menu_maxplayers" "1"
|
||||
seta "menu_mouse_absolute" "0"
|
||||
"mod_q3bsp_nolightmaps" "1"
|
||||
"net_slist_favorites" "5.9.107.57:26001"
|
||||
seta "notification_INFO_ITEM_WEAPON_DONTHAVE" "1"
|
||||
seta "notification_INFO_ITEM_WEAPON_DROP" "1"
|
||||
seta "notification_INFO_ITEM_WEAPON_GOT" "1"
|
||||
seta "notification_INFO_ITEM_WEAPON_NOAMMO" "1"
|
||||
seta "notification_INFO_ITEM_WEAPON_PRIMORSEC" "1"
|
||||
seta "notification_INFO_ITEM_WEAPON_UNAVAILABLE" "1"
|
||||
"r_depthfirst" "0"
|
||||
"r_drawdecals_drawdistance" "200"
|
||||
"r_drawparticles_drawdistance" "500"
|
||||
"r_drawviewmodel" "0"
|
||||
"r_framedatasize" "4"
|
||||
"r_glsl_deluxemapping" "0"
|
||||
"r_shadow_gloss" "0"
|
||||
"r_shadow_realtime_dlight" "0"
|
||||
"r_shadow_usenormalmap" "0"
|
||||
"r_subdivisions_tolerance" "8"
|
||||
"sensitivity" "7.8"
|
||||
seta "snd_channel8volume" "0"
|
||||
"sv_curl_serverpackages" "csprogs-xonotic-v0.8.2~.txt"
|
||||
seta "timelimit_override" "0"
|
||||
"v_brightness" "1.490116e-08"
|
||||
"v_glslgamma" "0"
|
||||
"vid_conwidth" "1067"
|
||||
"vid_height" "1080"
|
||||
"vid_width" "1920"
|
34
dot/file/zshrc
Normal file
34
dot/file/zshrc
Normal file
|
@ -0,0 +1,34 @@
|
|||
#!/bin/sh
|
||||
autoload -Uz compinit promptinit
|
||||
compinit
|
||||
promptinit
|
||||
zstyle ':completion:*' menu select
|
||||
zstyle ':completion:*:manuals' separate-sections true
|
||||
zstyle ':completion:*:manuals.*' insert-sections true
|
||||
zstyle ':completion:*:man:*' menu yes select
|
||||
setopt correct
|
||||
zshaddhistory() { whence ${${(z)1}[1]} >| /dev/null || return 1 }
|
||||
HISTFILE="$HOME/.zhistory"
|
||||
HISTSIZE=10000
|
||||
SAVEHIST="$HISTSIZE"
|
||||
setopt menu_complete
|
||||
setopt append_history
|
||||
setopt extended_history
|
||||
setopt inc_append_history
|
||||
setopt share_history
|
||||
setopt hist_ignore_all_dups
|
||||
setopt hist_ignore_space
|
||||
setopt hist_reduce_blanks
|
||||
setopt no_hist_beep
|
||||
setopt auto_cd
|
||||
setopt nonomatch
|
||||
setopt notify
|
||||
setopt hash_list_all
|
||||
setopt nohup
|
||||
setopt nobeep
|
||||
setopt noglobdots
|
||||
setopt noshwordsplit
|
||||
test -r "$LOGIN" && . "$LOGIN"
|
||||
PROMPT="$SHPROMPT"
|
||||
test -r "$SETENV" && . "$SETENV" && setenv zsh
|
||||
|
10
dot/install.rc
Executable file
10
dot/install.rc
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/env rc
|
||||
rpath = `{dirname `{readlink -f $0}}
|
||||
dot = $rpath/file
|
||||
for(i in $dot/*){
|
||||
ln = $home/.`{basename $i}
|
||||
rm -f $ln
|
||||
echo $ln $i
|
||||
ln -s $i $ln
|
||||
}
|
||||
|
10
dot/install.sh
Executable file
10
dot/install.sh
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
rpath="$(dirname `readlink -f $0`)"
|
||||
dot="$rpath/file"
|
||||
for i in $dot/* ; do
|
||||
ln="$HOME/.`basename $i`"
|
||||
rm -f "$ln"
|
||||
echo $ln $i
|
||||
ln -s "$i" "$ln"
|
||||
done
|
||||
|
6
dot/readme
Normal file
6
dot/readme
Normal file
|
@ -0,0 +1,6 @@
|
|||
# dot
|
||||
|
||||
The directory containing dot files.
|
||||
Can be installed by:
|
||||
% ./install.sh
|
||||
|
40
fish/config.fish
Normal file
40
fish/config.fish
Normal file
|
@ -0,0 +1,40 @@
|
|||
#!/usr/bin/fish
|
||||
# Jien's fishrc.
|
||||
|
||||
# No greeting when starting an interactive shell.
|
||||
function fish_greeting
|
||||
end
|
||||
# Left prompt.
|
||||
function fish_prompt --description "Write out the prompt"
|
||||
echo -n $SHPROMPT
|
||||
end
|
||||
|
||||
# Right prompt.
|
||||
function fish_right_prompt
|
||||
# Fuck this.
|
||||
end
|
||||
|
||||
set -l color_cwd
|
||||
set -l suffix
|
||||
|
||||
# Colors
|
||||
|
||||
# Less colors
|
||||
export LESS_TERMCAP_md=(perl -e "print \"\033[1;31m\"")
|
||||
export LESS_TERMCAP_me=(perl -e "print \"\033[0m\"")
|
||||
# Underlined
|
||||
export LESS_TERMCAP_us=(perl -e "print \"\033[1;32m\";")
|
||||
export LESS_TERMCAP_ue=(perl -e "print \"\033[0m\"; ")
|
||||
# Service info
|
||||
export LESS_TERMCAP_so=(perl -e "print \"\033[1;33m\";")
|
||||
export LESS_TERMCAP_se=(perl -e "print \"\033[0m\";")
|
||||
# Blinking color
|
||||
export LESS_TERMCAP_mb=(perl -e "print \"\033[1;32m\";")
|
||||
export LESS_TERMCAP_me=(perl -e "print \"\033[0m\";")
|
||||
# Fish colors
|
||||
set fish_color_comment yellow
|
||||
set fish_color_error grey
|
||||
set fish_color_operator $color_cwd
|
||||
set fish_color_autosuggestion "brgrey"
|
||||
set fish_color_command "--bold"
|
||||
|
27
fish/fish_variables
Normal file
27
fish/fish_variables
Normal file
|
@ -0,0 +1,27 @@
|
|||
# This file contains fish universal variable definitions.
|
||||
# VERSION: 3.0
|
||||
SETUVAR __fish_initialized:3100
|
||||
SETUVAR fish_color_cancel:\x2dr
|
||||
SETUVAR fish_color_cwd:green
|
||||
SETUVAR fish_color_cwd_root:red
|
||||
SETUVAR fish_color_end:009900
|
||||
SETUVAR fish_color_escape:00a6b2
|
||||
SETUVAR fish_color_history_current:\x2d\x2dbold
|
||||
SETUVAR fish_color_host:normal
|
||||
SETUVAR fish_color_host_remote:yellow
|
||||
SETUVAR fish_color_match:\x2d\x2dbackground\x3dbrblue
|
||||
SETUVAR fish_color_normal:normal
|
||||
SETUVAR fish_color_param:00afff
|
||||
SETUVAR fish_color_quote:999900
|
||||
SETUVAR fish_color_redirection:00afff
|
||||
SETUVAR fish_color_search_match:bryellow\x1e\x2d\x2dbackground\x3dbrblack
|
||||
SETUVAR fish_color_selection:white\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3dbrblack
|
||||
SETUVAR fish_color_status:red
|
||||
SETUVAR fish_color_user:brgreen
|
||||
SETUVAR fish_color_valid_path:\x2d\x2dunderline
|
||||
SETUVAR fish_greeting:Welcome\x20to\x20fish\x2c\x20the\x20friendly\x20interactive\x20shell
|
||||
SETUVAR fish_key_bindings:fish_default_key_bindings
|
||||
SETUVAR fish_pager_color_completion:\x1d
|
||||
SETUVAR fish_pager_color_description:B3A06D\x1eyellow
|
||||
SETUVAR fish_pager_color_prefix:white\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
|
||||
SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
|
368
i3/config
Normal file
368
i3/config
Normal file
|
@ -0,0 +1,368 @@
|
|||
# Read `man 5 sway` for a complete reference.
|
||||
|
||||
### Variables
|
||||
#
|
||||
set $kbd_options grp:alt_space_toggle
|
||||
set $resize_speed 25px
|
||||
|
||||
# Logo key. Use Mod1 for Alt.
|
||||
set $mod Mod4
|
||||
|
||||
# Menu.
|
||||
set $menucmd xmenu
|
||||
set $rmenucmd i3-dmenu-desktop
|
||||
set $runcmd $rmenucmd
|
||||
#for_window [app_id="launcher"] floating enable, resize set width 1000 px height 250 px
|
||||
# Bar.
|
||||
set $barcmd i3status
|
||||
# Terminal.
|
||||
set $termcmd st
|
||||
|
||||
# Home row direction keys, like vim.
|
||||
set $left h
|
||||
set $down j
|
||||
set $up k
|
||||
set $right l
|
||||
|
||||
# Default.
|
||||
set $fg_c "#ffffff"
|
||||
set $bg_c "#000000"
|
||||
set $tb_c "#ffffff"
|
||||
set $wb_c $tb_c
|
||||
set $i_c "#00ffff"
|
||||
# Inactive.
|
||||
set $ifg_c $fg_c
|
||||
set $ibg_c "#881111"
|
||||
set $itb_c "#660000"
|
||||
set $iwb_c "$itb_c"
|
||||
set $ii_c $i_c
|
||||
# Focused.
|
||||
set $ffg_c $fg_c
|
||||
set $fbg_c "#CC2222"
|
||||
set $ftb_c "#FF0000"
|
||||
set $fwb_c $ftb_c
|
||||
set $fi_c $i_c
|
||||
# Unfocused.
|
||||
set $ufg_c "#bbbbbb"
|
||||
set $ubg_c "#484848"
|
||||
set $utb_c "#303030"
|
||||
set $uwb_c $utb_c
|
||||
set $ui_c $i_c
|
||||
|
||||
# Indicator color.
|
||||
|
||||
|
||||
|
||||
# Class TBorder Background Text Indicator WBorder
|
||||
client.focused $ftb_c $fbg_c $ffg_c $fi_c $fwb_c
|
||||
client.focused_inactive $itb_c $ibg_c $ifg_c $ii_c $iwb_c
|
||||
client.unfocused $utb_c $ubg_c $ufg_c $ui_c $uwb_c
|
||||
|
||||
font pango:Consolas Mono 10
|
||||
### Output configuration
|
||||
#
|
||||
# Default wallpaper (more resolutions are available in @datadir@/backgrounds/sway/)
|
||||
#output * bg @datadir@/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
|
||||
#output * bg #000000 solid_color
|
||||
|
||||
bar {
|
||||
position bottom
|
||||
|
||||
# When the status_command prints a new line to stdout, swaybar updates.
|
||||
# The default just shows the current date and time.
|
||||
status_command "$barcmd"
|
||||
font pango:Consolas Mono 10
|
||||
|
||||
colors {
|
||||
statusline #ffffff
|
||||
background $bg_c
|
||||
inactive_workspace $itb_c $ibg_c $ifg_c
|
||||
active_workspace $ftb_c $fbg_c $ffg_c
|
||||
focused_workspace #cc2222 #990000 #ffffff
|
||||
}
|
||||
}
|
||||
#
|
||||
### Key bindings
|
||||
floating_modifier $mod
|
||||
#mode "default" {
|
||||
# Defaults.
|
||||
#
|
||||
# Start mode for any other mode.
|
||||
# Other modes:
|
||||
|
||||
bindsym $mod+w mode "window"
|
||||
bindsym $mod+t mode "tag"
|
||||
bindsym $mod+e mode "execute"
|
||||
|
||||
# Start a terminal.
|
||||
bindsym $mod+Shift+Return exec " $termcmd "
|
||||
# Start launcher.
|
||||
bindsym $mod+Shift+p exec " $rmenucmd "
|
||||
|
||||
# Drag floating windows by holding down $mod and left mouse button.
|
||||
# Resize them with right mouse button + $mod.
|
||||
# Despite the name, also works for non-floating windows.
|
||||
# Change normal to inverse to use left mouse button for resizing and right
|
||||
# mouse button for dragging.
|
||||
|
||||
# Reload the configuration file.
|
||||
bindsym $mod+Ctrl+Shift+r reload
|
||||
|
||||
# Exit sway (logs you out of your Wayland session).
|
||||
bindsym $mod+Ctrl+Shift+q exec swaymsg exit
|
||||
|
||||
# Lock the screen.
|
||||
bindsym $mod+Ctrl+Shift+l exec swaylock
|
||||
|
||||
# Move focus to the parent container
|
||||
bindsym $mod+p focus parent
|
||||
# Move focus to the child.
|
||||
bindsym $mod+c focus child
|
||||
# Kill focused window.
|
||||
bindsym $mod+x kill
|
||||
|
||||
# The most usable workspace bindings.
|
||||
bindsym $mod+1 workspace 1
|
||||
bindsym $mod+2 workspace 2
|
||||
bindsym $mod+3 workspace 3
|
||||
bindsym $mod+4 workspace 4
|
||||
bindsym $mod+5 workspace 5
|
||||
bindsym $mod+6 workspace 6
|
||||
bindsym $mod+7 workspace 7
|
||||
bindsym $mod+8 workspace 8
|
||||
bindsym $mod+9 workspace 9
|
||||
bindsym $mod+0 workspace 0
|
||||
|
||||
bindsym $mod+Shift+1 move container to workspace 1
|
||||
bindsym $mod+Shift+2 move container to workspace 2
|
||||
bindsym $mod+Shift+3 move container to workspace 3
|
||||
bindsym $mod+Shift+4 move container to workspace 4
|
||||
bindsym $mod+Shift+5 move container to workspace 5
|
||||
bindsym $mod+Shift+6 move container to workspace 6
|
||||
bindsym $mod+Shift+7 move container to workspace 7
|
||||
bindsym $mod+Shift+8 move container to workspace 8
|
||||
bindsym $mod+Shift+9 move container to workspace 9
|
||||
bindsym $mod+Shift+0 move container to workspace 0
|
||||
|
||||
bindsym $mod+comma focus left
|
||||
bindsym $mod+$left focus left
|
||||
bindsym $mod+$down focus down
|
||||
bindsym $mod+$up focus up
|
||||
bindsym $mod+$right focus right
|
||||
bindsym $mod+period focus right
|
||||
|
||||
bindsym $mod+Ctrl+$left resize shrink width $resize_speed
|
||||
bindsym $mod+Ctrl+$down resize grow height $resize_speed
|
||||
bindsym $mod+Ctrl+$up resize shrink height $resize_speed
|
||||
bindsym $mod+Ctrl+$right resize grow width $resize_speed
|
||||
|
||||
bindsym $mod+Shift+$left move left
|
||||
bindsym $mod+Shift+$down move down
|
||||
bindsym $mod+Shift+$up move up
|
||||
bindsym $mod+Shift+$right move right
|
||||
# Toggle the current focus between tiling and floating mode
|
||||
bindsym $mod+space floating toggle
|
||||
# Swap focus between the tiling area and the floating area
|
||||
bindsym $mod+shift+space focus mode_toggle
|
||||
# Toggle dvorak.
|
||||
bindsym $mod+Tab exec "setxkbmap -layout 'us,ru' -variant 'dvorak,' -option $kbd_options ; xmodmap $HOME/.Xmodmap"
|
||||
bindsym $mod+Return exec "setxkbmap -layout 'us,ru' -variant 'dvp,' -option $kbd_options ; xmodmap $HOME/.Xmodmap"
|
||||
bindsym $mod+a exec "setxkbmap -layout 'us,ru' -variant ',' -option $kbd_options ; xmodmap $HOME/.Xmodmap"
|
||||
bindsym $mod+BackSpace exec "setxkbmap -layout 'ru,us' -variant ,dvorak -option $kbd_options ; xmodmap $HOME/.Xmodmap"
|
||||
bindsym $mod+Shift+b splith
|
||||
bindsym $mod+Shift+v splitv
|
||||
bindsym $mod+minus move scratchpad
|
||||
bindsym $mod+Shift+minus scratchpad show
|
||||
bindsym $mod+Shift+s layout stacking
|
||||
bindsym $mod+Shift+t layout tabbed
|
||||
bindsym $mod+Shift+g layout toggle split
|
||||
bindsym $mod+Shift+f fullscreen
|
||||
#}
|
||||
|
||||
mode "window" {
|
||||
# You can "split" the current object of your focus with
|
||||
# $mod+b or $mod+v, for horizontal and vertical splits
|
||||
# respectively.
|
||||
bindsym b splith
|
||||
bindsym v splitv
|
||||
#
|
||||
# Scratchpad:
|
||||
#
|
||||
# Sway has a "scratchpad", which is a bag of holding for windows.
|
||||
# You can send windows there and get them back later.
|
||||
|
||||
# Move the currently focused window to the scratchpad
|
||||
bindsym minus move scratchpad
|
||||
|
||||
# Show the next scratchpad window or hide the focused scratchpad window.
|
||||
# If there are multiple scratchpad windows, this command cycles through them.
|
||||
bindsym Shift+minus scratchpad show
|
||||
|
||||
# Switch the current container between different layout styles
|
||||
bindsym s layout stacking
|
||||
bindsym t layout tabbed
|
||||
bindsym g layout toggle split
|
||||
|
||||
# Make the current focus fullscreen.
|
||||
bindsym f fullscreen
|
||||
|
||||
|
||||
# Resize.
|
||||
bindsym Ctrl+$left resize shrink width $resize_speed
|
||||
bindsym Ctrl+$down resize grow height $resize_speed
|
||||
bindsym Ctrl+$up resize shrink height $resize_speed
|
||||
bindsym Ctrl+$right resize grow width $resize_speed
|
||||
|
||||
# Move.
|
||||
bindsym Shift+$left move left
|
||||
bindsym Shift+$down move down
|
||||
bindsym Shift+$up move up
|
||||
bindsym Shift+$right move right
|
||||
|
||||
# Kill focused window.
|
||||
bindsym x kill
|
||||
|
||||
# Standard.
|
||||
|
||||
# Move focus to the parent container
|
||||
bindsym p focus parent
|
||||
# Move focus to the child.
|
||||
bindsym c focus child
|
||||
bindsym space floating toggle
|
||||
bindsym shift+space focus mode_toggle
|
||||
bindsym $left focus left
|
||||
bindsym $down focus down
|
||||
bindsym $up focus up
|
||||
bindsym $right focus right
|
||||
#bindsym Space mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
|
||||
mode "tag" {
|
||||
# Switch to workspace.
|
||||
bindsym 1 workspace 1
|
||||
bindsym 2 workspace 2
|
||||
bindsym 3 workspace 3
|
||||
bindsym 4 workspace 4
|
||||
bindsym 5 workspace 5
|
||||
bindsym 6 workspace 6
|
||||
bindsym 7 workspace 7
|
||||
bindsym 8 workspace 8
|
||||
bindsym 9 workspace 9
|
||||
bindsym 0 workspace 0
|
||||
bindsym q workspace q
|
||||
bindsym w workspace w
|
||||
bindsym e workspace e
|
||||
bindsym r workspace r
|
||||
bindsym t workspace t
|
||||
bindsym y workspace y
|
||||
bindsym minus workspace '-'
|
||||
bindsym u workspace u
|
||||
bindsym i workspace i
|
||||
bindsym o workspace o
|
||||
bindsym a workspace a
|
||||
bindsym s workspace s
|
||||
bindsym d workspace d
|
||||
bindsym f workspace f
|
||||
bindsym g workspace g
|
||||
# Move focused container to workspace.
|
||||
bindsym Shift+1 move container to workspace 1
|
||||
bindsym Shift+2 move container to workspace 2
|
||||
bindsym Shift+3 move container to workspace 3
|
||||
bindsym Shift+4 move container to workspace 4
|
||||
bindsym Shift+5 move container to workspace 5
|
||||
bindsym Shift+6 move container to workspace 6
|
||||
bindsym Shift+7 move container to workspace 7
|
||||
bindsym Shift+8 move container to workspace 8
|
||||
bindsym Shift+9 move container to workspace 9
|
||||
bindsym Shift+0 move container to workspace 0
|
||||
bindsym Shift+q move container to workspace q
|
||||
bindsym Shift+w move container to workspace w
|
||||
bindsym Shift+e move container to workspace e
|
||||
bindsym Shift+r move container to workspace r
|
||||
bindsym Shift+t move container to workspace t
|
||||
bindsym Shift+y move container to workspace y
|
||||
bindsym Shift+minus move container to workspace '-'
|
||||
bindsym Shift+u move container to workspace u
|
||||
bindsym Shift+i move container to workspace i
|
||||
bindsym Shift+o move container to workspace o
|
||||
bindsym Shift+p move container to workspace p
|
||||
bindsym Shift+a move container to workspace a
|
||||
bindsym Shift+s move container to workspace s
|
||||
bindsym Shift+d move container to workspace d
|
||||
bindsym Shift+f move container to workspace f
|
||||
bindsym Shift+g move container to workspace g
|
||||
|
||||
# Any workspace name.
|
||||
bindsym Return exec $XDG_CONFIG_HOME/sway/workspace_by_menu $menucmd
|
||||
bindsym Shift+Return exec $XDG_CONFIG_HOME/sway/move_container_to_workspace_by_menu $menucmd
|
||||
#
|
||||
# Default.
|
||||
|
||||
# Move focus to the parent container
|
||||
bindsym $mod+p focus parent
|
||||
# Move focus to the child.
|
||||
bindsym $mod+c focus child
|
||||
bindsym $mod+space floating toggle
|
||||
bindsym $mod+shift+space focus mode_toggle
|
||||
bindsym $mod+$left focus left
|
||||
bindsym $mod+$down focus down
|
||||
bindsym $mod+$up focus up
|
||||
bindsym $mod+$right focus right
|
||||
bindsym Space mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
|
||||
mode "execute" {
|
||||
bindsym f exec 'firefox'
|
||||
bindsym Shift+f exec 'falkon'
|
||||
bindsym w exec 'waterfox'
|
||||
bindsym Ctrl+w exec 'wicd-gtk'
|
||||
bindsym Ctrl+Shift+w exec $termcmd' -e wicd-curses'
|
||||
bindsym c exec 'chromium'
|
||||
bindsym Ctrl+c exec 'cadence'
|
||||
bindsym Ctrl+p exec 'pavucontrol'
|
||||
bindsym Shift+c exec 'carla'
|
||||
bindsym o exec 'opera'
|
||||
bindsym g exec 'gimp'
|
||||
bindsym i exec 'inkscape'
|
||||
bindsym t exec $termcmd
|
||||
bindsym Shift+t exec "cool-retro-term"
|
||||
bindsym n exec 'non-session-manager'
|
||||
bindsym a exec "audacity"
|
||||
bindsym Shift+a exec 'ardour5'
|
||||
bindsym $mod+a exec 'amsynth'
|
||||
bindsym Shift+l exec 'lmms'
|
||||
bindsym l exec $termcmd' -e lf'
|
||||
bindsym x exec 'xfe'
|
||||
bindsym Ctrl+h exec $termcmd' -e htop'
|
||||
bindsym Ctrl+t exec $termcmd' -e top'
|
||||
bindsym Ctrl+s exec $termcmd' -e alsamixer'
|
||||
|
||||
# Default.
|
||||
#
|
||||
# Move focus to the parent container
|
||||
bindsym $mod+p focus parent
|
||||
# Move focus to the child.
|
||||
bindsym $mod+c focus child
|
||||
bindsym $mod+space floating toggle
|
||||
bindsym $mod+$left focus left
|
||||
bindsym $mod+$down focus down
|
||||
bindsym $mod+$up focus up
|
||||
bindsym $mod+$right focus right
|
||||
bindsym Space mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
|
||||
mode "empty" {
|
||||
bindsym $mod+Space mode "default"
|
||||
bindsym $mod+a exec $XDG_CONFIG_HOME/sway/toggle_dvorak
|
||||
}
|
||||
|
||||
#
|
||||
# Status Bar:
|
||||
#
|
||||
# Read `man 5 sway-bar` for more information about this section.
|
||||
|
||||
|
||||
#include @sysconfdir@/sway/config.d/*
|
1
i3blocks/*
Symbolic link
1
i3blocks/*
Symbolic link
|
@ -0,0 +1 @@
|
|||
/usr/lib/configure.sh/*
|
1
i3blocks/bandwidth
Symbolic link
1
i3blocks/bandwidth
Symbolic link
|
@ -0,0 +1 @@
|
|||
/usr/lib/i3blocks/bandwidth
|
1
i3blocks/battery
Symbolic link
1
i3blocks/battery
Symbolic link
|
@ -0,0 +1 @@
|
|||
/usr/lib/i3blocks/battery
|
168
i3blocks/config
Normal file
168
i3blocks/config
Normal file
|
@ -0,0 +1,168 @@
|
|||
|
||||
# i3blocks config file
|
||||
#
|
||||
# Please see man i3blocks for a complete reference!
|
||||
# The man page is also hosted at http://vivien.github.io/i3blocks
|
||||
#
|
||||
# List of valid properties:
|
||||
#
|
||||
# align
|
||||
# color
|
||||
# command
|
||||
# full_text
|
||||
# instance
|
||||
# interval
|
||||
# label
|
||||
# min_width
|
||||
# name
|
||||
# separator
|
||||
# separator_block_width
|
||||
# short_text
|
||||
# signal
|
||||
# urgent
|
||||
|
||||
# Global properties
|
||||
#
|
||||
# The top properties below are applied to every block, but can be overridden.
|
||||
# Each block command defaults to the script name to avoid boilerplate.
|
||||
#
|
||||
# Keyboard layout(Needs xkblayout).
|
||||
separator_block_width=15
|
||||
markup=none
|
||||
command=$XDG_CONFIG_HOME/i3blocks/$BLOCK_NAME
|
||||
[keyboard_layout]
|
||||
interval=1
|
||||
color=#FF0000
|
||||
# Volume indicator
|
||||
#
|
||||
# The first parameter sets the step (and units to display)
|
||||
# The second parameter overrides the mixer selection
|
||||
# See the script for details.
|
||||
[volume]
|
||||
#label=VOL
|
||||
label=♪
|
||||
instance=Master
|
||||
#instance=PCM
|
||||
interval=once
|
||||
signal=10
|
||||
color=#22FFFF
|
||||
|
||||
# Memory usage
|
||||
#
|
||||
# The type defaults to "mem" if the instance is not specified.
|
||||
[memory]
|
||||
label=MEM
|
||||
separator=false
|
||||
interval=30
|
||||
color=#FFFF22
|
||||
|
||||
[memory]
|
||||
label=SWAP
|
||||
instance=swap
|
||||
separator=false
|
||||
interval=30
|
||||
color=#FFFF22
|
||||
|
||||
# Disk usage
|
||||
#
|
||||
# The directory defaults to $HOME if the instance is not specified.
|
||||
# The script may be called with a optional argument to set the alert
|
||||
# (defaults to 10 for 10%).
|
||||
[disk]
|
||||
label=HOME
|
||||
#instance=/mnt/data
|
||||
interval=30
|
||||
color=#BB6666
|
||||
|
||||
# Network interface monitoring
|
||||
#
|
||||
# If the instance is not specified, use the interface used for default route.
|
||||
# The address can be forced to IPv4 or IPv6 with -4 or -6 switches.
|
||||
[iface]
|
||||
#instance=wlan0
|
||||
color=#00FF00
|
||||
interval=10
|
||||
separator=false
|
||||
|
||||
[wifi]
|
||||
#instance=wlp3s0
|
||||
interval=10
|
||||
separator=false
|
||||
|
||||
[bandwidth]
|
||||
#instance=eth0
|
||||
interval=5
|
||||
color=#FF22FF
|
||||
|
||||
# CPU usage (Needs 'sysstat').
|
||||
#
|
||||
# The script may be called with -w and -c switches to specify thresholds,
|
||||
# see the script for details.
|
||||
[cpu_usage]
|
||||
label=CPU
|
||||
interval=1
|
||||
min_width=CPU: 100.00%
|
||||
#separator=false
|
||||
color=#aaFFaa
|
||||
|
||||
|
||||
# Temperature
|
||||
#
|
||||
# Support multiple chips, though lm-sensors.
|
||||
# The script may be called with -w and -c switches to specify thresholds,
|
||||
# see the script for details.
|
||||
[temperature]
|
||||
label=TEMP
|
||||
interval=10
|
||||
color=#666699
|
||||
|
||||
#[load_average]
|
||||
#interval=10
|
||||
|
||||
# Battery indicator
|
||||
#
|
||||
# The battery instance defaults to 0.
|
||||
[battery]
|
||||
#label=BAT
|
||||
label=⚡
|
||||
#instance=1
|
||||
interval=30
|
||||
|
||||
# Date Time
|
||||
#
|
||||
[time]
|
||||
command=date '+%Y-%m-%d %H:%M:%S'
|
||||
interval=1
|
||||
color=#FFaa22
|
||||
|
||||
# Generic media player support
|
||||
#
|
||||
# This displays "ARTIST - SONG" if a music is playing.
|
||||
# Supported players are: spotify, vlc, audacious, xmms2, mplayer, and others.
|
||||
#[mediaplayer]
|
||||
#instance=spotify
|
||||
#interval=5
|
||||
#signal=10
|
||||
|
||||
# OpenVPN support
|
||||
#
|
||||
# Support multiple VPN, with colors.
|
||||
[openvpn]
|
||||
interval=20
|
||||
color=#a9a9bb
|
||||
|
||||
# Key indicators
|
||||
#
|
||||
# Add the following bindings to i3 config file:
|
||||
#
|
||||
# bindsym --release Caps_Lock exec pkill -SIGRTMIN+11 i3blocks
|
||||
# bindsym --release Num_Lock exec pkill -SIGRTMIN+11 i3blocks
|
||||
#[keyindicator]
|
||||
#instance=CAPS
|
||||
#interval=once
|
||||
#signal=11
|
||||
|
||||
#[keyindicator]
|
||||
#instance=NUM
|
||||
#interval=once
|
||||
#signal=11
|
1
i3blocks/cpu_usage
Symbolic link
1
i3blocks/cpu_usage
Symbolic link
|
@ -0,0 +1 @@
|
|||
/usr/lib/i3blocks/cpu_usage
|
1
i3blocks/disk
Symbolic link
1
i3blocks/disk
Symbolic link
|
@ -0,0 +1 @@
|
|||
/usr/lib/i3blocks/disk
|
1
i3blocks/iface
Symbolic link
1
i3blocks/iface
Symbolic link
|
@ -0,0 +1 @@
|
|||
/usr/lib/i3blocks/iface
|
3
i3blocks/keyboard_layout
Executable file
3
i3blocks/keyboard_layout
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
xkblayout -l
|
1
i3blocks/keyindicator
Symbolic link
1
i3blocks/keyindicator
Symbolic link
|
@ -0,0 +1 @@
|
|||
/usr/lib/i3blocks/keyindicator
|
1
i3blocks/load_average
Symbolic link
1
i3blocks/load_average
Symbolic link
|
@ -0,0 +1 @@
|
|||
/usr/lib/i3blocks/load_average
|
1
i3blocks/mediaplayer
Symbolic link
1
i3blocks/mediaplayer
Symbolic link
|
@ -0,0 +1 @@
|
|||
/usr/lib/i3blocks/mediaplayer
|
1
i3blocks/memory
Symbolic link
1
i3blocks/memory
Symbolic link
|
@ -0,0 +1 @@
|
|||
/usr/lib/i3blocks/memory
|
1
i3blocks/openvpn
Symbolic link
1
i3blocks/openvpn
Symbolic link
|
@ -0,0 +1 @@
|
|||
/usr/lib/i3blocks/openvpn
|
1
i3blocks/temperature
Symbolic link
1
i3blocks/temperature
Symbolic link
|
@ -0,0 +1 @@
|
|||
/usr/lib/i3blocks/temperature
|
1
i3blocks/volume
Symbolic link
1
i3blocks/volume
Symbolic link
|
@ -0,0 +1 @@
|
|||
/usr/lib/i3blocks/volume
|
1
i3blocks/wifi
Symbolic link
1
i3blocks/wifi
Symbolic link
|
@ -0,0 +1 @@
|
|||
/usr/lib/i3blocks/wifi
|
29
lf/lfrc
Normal file
29
lf/lfrc
Normal file
|
@ -0,0 +1,29 @@
|
|||
# Change working dir in shell to last dir in lf on exit (adapted from ranger).
|
||||
#
|
||||
# You need to either copy the content of this file to your shell rc file
|
||||
# (e.g. ~/.bashrc) or source this file directly:
|
||||
#
|
||||
# LFCD="/path/to/lfcd.sh"
|
||||
# if [ -f "$LFCD" ]; then
|
||||
# source "$LFCD"
|
||||
# fi
|
||||
#
|
||||
# You may also like to assign a key to this command:
|
||||
#
|
||||
# bind '"\C-o":"lfcd\C-m"' # bash
|
||||
# bindkey -s '^o' 'lfcd\n' # zsh
|
||||
#
|
||||
|
||||
lfcd(){
|
||||
tmp="$(mktemp)"
|
||||
lf -last-dir-path="$tmp" "$@"
|
||||
if [ -f "$tmp" ]; then
|
||||
dir="$(cat "$tmp")"
|
||||
rm -f "$tmp"
|
||||
if [ -d "$dir" ]; then
|
||||
if [ "$dir" != "$(pwd)" ]; then
|
||||
cd "$dir"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
}
|
3
locale
Normal file
3
locale
Normal file
|
@ -0,0 +1,3 @@
|
|||
LANG=en_US.UTF-8
|
||||
LC_CTYPE=ru_RU.UTF-8
|
||||
|
24
login/sh
Normal file
24
login/sh
Normal file
|
@ -0,0 +1,24 @@
|
|||
#!/bin/sh
|
||||
|
||||
if [ "$TERM" = linux ] ; then
|
||||
# Running from Linux virtual console.
|
||||
|
||||
# Virtual console colors.
|
||||
printf "\033]P0000000" # Black.
|
||||
printf "\033]P8666666" # Darkgrey.
|
||||
printf "\033]P1DD2222" # Darkred.
|
||||
printf "\033]P9FF0000" # Red.
|
||||
printf "\033]P267E300" # Darkgreen.
|
||||
printf "\033]PAA9F16C" # Green.
|
||||
printf "\033]P3F7FF00" # Brown.
|
||||
printf "\033]PBEBF22C" # Yellow..
|
||||
printf "\033]P45190D0" # Darkblue.
|
||||
printf "\033]PC346AA1" # Blue.
|
||||
printf "\033]P5FF6E00" # Darkmagenta.
|
||||
printf "\033]PDDE6000" # Magenta.
|
||||
printf "\033]P600CFCF" # Darkcyan.
|
||||
printf "\033]PE00FFFF" # Cyan.
|
||||
printf "\033]P7DDDDDD" # Lightgrey.
|
||||
printf "\033]PFFFFFFF" # White.
|
||||
#clear # For background artifacting.
|
||||
fi
|
25
luakit/userconf.lua
Normal file
25
luakit/userconf.lua
Normal file
|
@ -0,0 +1,25 @@
|
|||
-- My config for luakit.
|
||||
--
|
||||
local settings = require "settings"
|
||||
settings.window.home_page = "www.duckduckgo.com"
|
||||
|
||||
local modes = require "modes"
|
||||
modes.remap_binds(
|
||||
"normal",
|
||||
{
|
||||
-- new old removes the old binding(false)
|
||||
--{"O", "t", true},
|
||||
}
|
||||
)
|
||||
|
||||
local engines = settings.window.search_engines
|
||||
engines.aur = "https://aur.archlinux.org/packages.php?O=0&K=%s&do_Search=Go"
|
||||
engines.aw = "https://wiki.archlinux.org/index.php/Special:Search?fulltext=Search&search=%s"
|
||||
engines.googleseceng = "https://www.google.com/search?name=f&hl=en&q=%s"
|
||||
engines.ddg = "https://duckduckgo.com?q=%s&t=h_&ia=about"
|
||||
|
||||
-- Wiki.
|
||||
engines.wwr = "https://ru.wikipedia.org/wiki/%s"
|
||||
engines.wwe = "https://en.wikipedia.org/wiki/%s"
|
||||
engines.wde = "https://en.wiktionary.org/wiki/%s"
|
||||
engines.wdr = "https://ru.wiktionary.org/wiki/%s"
|
4
mpv/mpv.conf
Normal file
4
mpv/mpv.conf
Normal file
|
@ -0,0 +1,4 @@
|
|||
keep-open=yes
|
||||
ao=jack
|
||||
osd-fractions
|
||||
osd-level=1
|
34
nixpkgs/home.nix
Normal file
34
nixpkgs/home.nix
Normal file
|
@ -0,0 +1,34 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
with import <nixpkgs> {} ;
|
||||
with builtins ;
|
||||
with lib ;
|
||||
|
||||
{
|
||||
home.packages = [
|
||||
pkgs.rc
|
||||
pkgs.dash
|
||||
pkgs.ed
|
||||
pkgs.neovim
|
||||
|
||||
pkgs.i3
|
||||
pkgs.awesome
|
||||
|
||||
pkgs.unzip
|
||||
pkgs.wget
|
||||
pkgs.gnupg
|
||||
|
||||
pkgs.chromium
|
||||
pkgs.firefox
|
||||
|
||||
pkgs.gcc
|
||||
pkgs.binutils
|
||||
|
||||
pkgs.inkscape
|
||||
pkgs.gimp
|
||||
|
||||
pkgs.nmap
|
||||
pkgs.radare2
|
||||
pkgs.whois
|
||||
] ;
|
||||
}
|
1
nvim
Symbolic link
1
nvim
Symbolic link
|
@ -0,0 +1 @@
|
|||
dot/file/vim
|
153
plumbing
Normal file
153
plumbing
Normal file
|
@ -0,0 +1,153 @@
|
|||
# these are generally in order from most specific to least,
|
||||
# since first rule that fires wins.
|
||||
|
||||
include fileaddr
|
||||
|
||||
# declarations of ports without rules
|
||||
plumb to seemail
|
||||
plumb to showmail
|
||||
|
||||
# relative files as file: urls get made into absolute paths
|
||||
type is text
|
||||
data matches 'file:([.a-zA-Z¡-0-9_\-]([.a-zA-Z¡-0-9_/\-]*[a-zA-Z¡-0-9_/\-]))?'
|
||||
arg isfile $1
|
||||
data set file://$file
|
||||
plumb to web
|
||||
plumb start web $data
|
||||
|
||||
# urls go to web browser
|
||||
type is text
|
||||
data matches '(https?|ftp|file|gopher|mailto|news|nntp|telnet|wais|prospero)://[a-zA-Z0-9_@\-]+([.:][a-zA-Z0-9_@\-]+)*/?[a-zA-Z0-9_?,%#~&/\-+=]+([:.][a-zA-Z0-9_?,%#~&/\-+=]+)*'
|
||||
plumb to web
|
||||
plumb start web $0
|
||||
|
||||
# doc and rtf files go to wdoc2txt
|
||||
type is text
|
||||
data matches '[a-zA-Z¡-0-9_\-./]+'
|
||||
data matches '([a-zA-Z¡-0-9_\-./]+)\.(doc|rtf)'
|
||||
arg isfile $0
|
||||
plumb to msword
|
||||
plumb start wdoc2txt $file
|
||||
|
||||
# start rule for microsoft word documents without .doc suffix
|
||||
type is text
|
||||
dst is msword
|
||||
plumb to msword
|
||||
plumb start wdoc2txt $file
|
||||
|
||||
# image files go to page
|
||||
type is text
|
||||
data matches '[a-zA-Z¡-0-9_\-./@]+'
|
||||
data matches '([a-zA-Z¡-0-9_\-./@]+)\.(jpe?g|JPE?G|gif|GIF|tiff?|TIFF?|ppm|bit|png|PNG)'
|
||||
arg isfile $0
|
||||
plumb to image
|
||||
plumb start 9 page $file
|
||||
|
||||
# postscript/pdf/dvi go to page but not over the a plumb port
|
||||
# the port is here for reference but is unused
|
||||
type is text
|
||||
data matches '[a-zA-Z¡-0-9_\-./@]+'
|
||||
data matches '([a-zA-Z¡-0-9_\-./@]+)\.(ps|PS|eps|EPS|pdf|PDF|dvi|DVI)'
|
||||
arg isfile $0
|
||||
plumb to postscript
|
||||
plumb start 9 page $file
|
||||
|
||||
# open office - s[xt][cdigmw], doc, xls, ppt
|
||||
data matches '[a-zA-Z¡-0-9_\-./@]+'
|
||||
data matches '([a-zA-Z¡-0-9_\-./@]+)\.([Ss][XxTt][CcDdIiGgMmWw]|[Dd][Oo][Cc]|[Xx][Ll][Ss]|[Pp][Pp][Tt])'
|
||||
arg isfile $0
|
||||
plumb to openoffice
|
||||
plumb start openoffice $file
|
||||
|
||||
# existing files tagged by line number:columnumber or linenumber.columnumber, twice, go to editor
|
||||
type is text
|
||||
data matches '([.a-zA-Z¡-0-9_/\-@]*[a-zA-Z¡-0-9_/\-])':$twocolonaddr,$twocolonaddr
|
||||
arg isfile $1
|
||||
data set $file
|
||||
attr add addr=$2-#0+#$3-#1,$4-#0+#$5-#1
|
||||
plumb to edit
|
||||
plumb client $editor
|
||||
|
||||
# existing files tagged by line number:columnumber or linenumber.columnumber, twice, go to editor
|
||||
type is text
|
||||
data matches '([.a-zA-Z¡-0-9_/\-@]*[a-zA-Z¡-0-9_/\-])':$twocolonaddr
|
||||
arg isfile $1
|
||||
data set $file
|
||||
attr add addr=$2-#0+#$3-#1
|
||||
plumb to edit
|
||||
plumb client $editor
|
||||
|
||||
# existing files, possibly tagged by line number, go to editor
|
||||
type is text
|
||||
data matches '([.a-zA-Z¡-0-9_/\-@]*[a-zA-Z¡-0-9_/\-])('$addr')?'
|
||||
arg isfile $1
|
||||
data set $file
|
||||
attr add addr=$3
|
||||
plumb to edit
|
||||
plumb client $editor
|
||||
|
||||
# .h files are looked up in /usr/include and passed to edit
|
||||
type is text
|
||||
data matches '([a-zA-Z¡-0-9/_\-]+\.h)('$addr')?'
|
||||
arg isfile /usr/include/$1
|
||||
data set $file
|
||||
attr add addr=$3
|
||||
plumb to edit
|
||||
plumb client $editor
|
||||
|
||||
# .h files are looked up in /usr/local/include and passed to edit
|
||||
type is text
|
||||
data matches '([a-zA-Z¡-0-9/_\-]+\.h)('$addr')?'
|
||||
arg isfile /usr/local/include/$1
|
||||
data set $file
|
||||
attr add addr=$3
|
||||
plumb to edit
|
||||
plumb client $editor
|
||||
|
||||
# .h files are looked up in $plan9/include and passed to edit
|
||||
type is text
|
||||
data matches '([a-zA-Z¡-0-9/_\-]+\.h)('$addr')?'
|
||||
arg isfile $plan9/include/$1
|
||||
data set $file
|
||||
attr add addr=$3
|
||||
plumb to edit
|
||||
plumb client $editor
|
||||
|
||||
# .m files are looked up in /usr/inferno/module and passed to edit
|
||||
type is text
|
||||
data matches '([a-zA-Z¡-0-9/_\-]+\.m)('$addr')?'
|
||||
arg isfile /usr/inferno/module/$1
|
||||
data set $file
|
||||
attr add addr=$3
|
||||
plumb to edit
|
||||
plumb client window $editor
|
||||
|
||||
# faces -> new mail window for message
|
||||
type is text
|
||||
data matches '[a-zA-Z¡-0-9_\-./]+'
|
||||
data matches '/mail/fs/[a-zA-Z¡-0-9/]+/[0-9]+'
|
||||
plumb to showmail
|
||||
plumb start window -r 4 120 750 600 upas/nedmail -s $0
|
||||
|
||||
# email addresses get a new mail window
|
||||
type is text
|
||||
data matches '[a-zA-Z0-9_+.\-]+@[a-zA-Z0-9_+.\-]*'
|
||||
plumb to sendmail
|
||||
plumb start wmail $0
|
||||
# plumb start window rc -c '''echo % mail '''$0'; mail '$0
|
||||
|
||||
# man index entries are synthesized
|
||||
type is text
|
||||
data matches '([a-zA-Z¡-0-9_\-./]+)\(([1-8])\)'
|
||||
plumb start rc -c 'man '$2' '$1' >[2=1] | nobs | plumb -i -d edit -a ''action=showdata filename=/man/'$1'('$2')'''
|
||||
|
||||
# start rule for images without known suffixes
|
||||
dst is image
|
||||
arg isfile $data
|
||||
plumb to image
|
||||
plumb start 9 page $data
|
||||
|
||||
# start rule for postscript without known suffixes
|
||||
dst is postscript
|
||||
arg isfile $data
|
||||
plumb start 9 page $data
|
140
profile
Normal file
140
profile
Normal file
|
@ -0,0 +1,140 @@
|
|||
# jien's rc configuration file.
|
||||
|
||||
prompt = '% ' # The simplest possible prompt.
|
||||
fn % {
|
||||
switch($#*){
|
||||
case 0
|
||||
case *
|
||||
$*
|
||||
}
|
||||
}
|
||||
txt = $home/shr # Directory for notes, lists etc.
|
||||
tmpl = $home/tmpl # Templates.
|
||||
doc = $home/doc # Documents.
|
||||
lib = $home/lib # Configuration for other applications.
|
||||
txt = $home/txt # Plain text files. Lists, notes etc.
|
||||
load = $home/load # Downloads.
|
||||
vid = $home/vid # Video files.
|
||||
snd = $home/audio # Audio files.
|
||||
img = $home/img # Image files.
|
||||
app = $home/app # Program installation directory.
|
||||
env = $home/env # Environment setting directory.
|
||||
dev = $home/dev # Development.
|
||||
#etc = $local/etc # Configuration files for any system.
|
||||
exe = $home/bin # Executable binaries installation directory.
|
||||
tmp = $home/tmp # Temporary.
|
||||
shr = $home/shr # Share files for programs.
|
||||
man = $shr/man # Directory for manual pages. Are supposed to be written in plain text.
|
||||
pager = nobs # Pager deleting all ESC-sequences. For 9term mostly.
|
||||
manpager = $pager # Pager for man pages.
|
||||
profile = $0 # Profile file.
|
||||
|
||||
inferno = $app/inferno # Inferno.
|
||||
infernoexe = `{ # Inferno executables files.
|
||||
sys = `{uname}
|
||||
machine = `{uname -m}
|
||||
if(test $machine '=' x86_64){
|
||||
machine = 386
|
||||
}
|
||||
echo $inferno/$sys/$machine/bin
|
||||
}
|
||||
|
||||
plan9 = $app/plan9 # Plan9.
|
||||
plan9exe= $plan9/bin # Plan9 bnaries.
|
||||
gopath = $app/go # Golang path.
|
||||
goexe = $gopath/bin # Golang binaries.
|
||||
vpath = $dev/v # VLang binaries and scripts.
|
||||
vexe = $vpath
|
||||
setenv = $lib/setenv/rc # Setting environment script.
|
||||
font = $plan9/font/fixed/unicode.9x15.font # The standard font for Plan9 program.
|
||||
editor = ed
|
||||
shell = rc
|
||||
|
||||
path = ( $exe $path $goexe $plan9exe $infernoexe $vexe)
|
||||
# Pretend path from growing because of running many "rc"s.
|
||||
if(which goblin >/dev/null >[2=1]){
|
||||
path = `{
|
||||
{ for( i in $path) echo $i } | goblin uniq -U
|
||||
}
|
||||
}
|
||||
|
||||
# Xorg.
|
||||
xinitrc = $lib/xinitrc
|
||||
xresources = $lib/xresources
|
||||
xmodmap = $lib/xmodmap
|
||||
|
||||
switch( `{uname} ){
|
||||
case ( Linux NetBSD DragonFly OpenBSD FreeBSD ) # On Unix-like systems.
|
||||
# Default color.
|
||||
LESS_TERMCAP_md = `{ perl -e 'print "\033[1;31m" ;' }
|
||||
LESS_TERMCAP_me = `{ perl -e 'print "\033[0m" ;' }
|
||||
# Underlined.
|
||||
LESS_TERMCAP_us = `{ perl -e 'print "\033[1;32m" ;' }
|
||||
LESS_TERMCAP_ue = `{ perl -e 'print "\033[0m" ;' }
|
||||
# Service info.
|
||||
LESS_TERMCAP_so = `{ perl -e 'print "\033[1;33m ";' }
|
||||
LESS_TERMCAP_se = `{ perl -e 'print "\033[0m" ;' }
|
||||
# Blinking color.
|
||||
LESS_TERMCAP_mb = `{ perl -e 'print "\033[1;32m" ;' }
|
||||
LESS_TERMCAP_me = `{ perl -e 'print "\033[0m" ;' }
|
||||
# Pager.
|
||||
PAGER = $pager
|
||||
MANPAGER = $manpager
|
||||
# Editor.
|
||||
EDITOR = $editor
|
||||
user = $USER
|
||||
case *
|
||||
# Nothing in non-Unix systems.
|
||||
}
|
||||
|
||||
fn .. {
|
||||
# Move in to parent directory $1 times.
|
||||
if(test -z $1)
|
||||
builtin cd ..
|
||||
if not
|
||||
for(i in `{seq $1})
|
||||
builtin cd ..
|
||||
cds = (`{pwd} $cds)
|
||||
}
|
||||
|
||||
fn l {
|
||||
goblin ls $* | goblin quote | fmt
|
||||
}
|
||||
|
||||
fn ll {
|
||||
goblin ls $* | finfo
|
||||
}
|
||||
|
||||
cds = (`{pwd})
|
||||
fn cd {
|
||||
# History implementation.
|
||||
if(builtin cd $1 && test -n $1)
|
||||
cds = (`{pwd} $cds)
|
||||
}
|
||||
|
||||
fn - {
|
||||
# Move back in history for $1 notes.
|
||||
if(test -z $1)
|
||||
1 = 1
|
||||
builtin cd $cds($1)
|
||||
}
|
||||
|
||||
fn cds {
|
||||
# Print history.
|
||||
{for(i in $cds) echo $i } | nl
|
||||
}
|
||||
|
||||
fn ucds {
|
||||
# Let be in history just unique notes.
|
||||
cds = `{ {for(i in $cds) echo $i} | goblin uniq -U}
|
||||
}
|
||||
|
||||
fn p {
|
||||
plumb $*
|
||||
}
|
||||
|
||||
# Setting enviroment.
|
||||
if(test -r $setenv){
|
||||
. $setenv
|
||||
setenv rc
|
||||
}
|
4
rofi/config
Normal file
4
rofi/config
Normal file
|
@ -0,0 +1,4 @@
|
|||
rofi.combi-modi: window,drun,ssh
|
||||
rofi.theme: solarized
|
||||
rofi.font: hack 10
|
||||
rofi.modi: combi
|
18
setenv/rc
Normal file
18
setenv/rc
Normal file
|
@ -0,0 +1,18 @@
|
|||
# Setting environment for rc-like shells.
|
||||
|
||||
# This part lets me to set variables by files and add functionality.
|
||||
|
||||
fn setenv {
|
||||
rc=$1
|
||||
mkdir -p $dirs
|
||||
# Variables.
|
||||
for(file in $env/$rc/var/* ){
|
||||
test -r $file && `{basename $file} = `{cat $file}
|
||||
}
|
||||
# Additional scripts to run on startup.
|
||||
for(file in $env/$rc/rc/*){
|
||||
test -r $file && . $file
|
||||
}
|
||||
dirs=''
|
||||
rc=''
|
||||
}
|
29
setenv/sh
Normal file
29
setenv/sh
Normal file
|
@ -0,0 +1,29 @@
|
|||
# To include in any rc to set up the environment by files.
|
||||
if test -n "$rpath" ; then
|
||||
export SETENV="$rpath/dot/setenv"
|
||||
fi
|
||||
|
||||
setenv(){
|
||||
if [ -d "$ENVDIR" ] ; then
|
||||
# The way to make system more flexible.
|
||||
# Actually I'm really tired of editing one big file.
|
||||
# It is really easier to change specific one with variables
|
||||
# or modules.
|
||||
|
||||
# Set variables from files.
|
||||
sh="$1"
|
||||
|
||||
for i in "$ENVDIR/$sh/var"/* ; do
|
||||
if test -r "$i" ; then
|
||||
export "`basename \"$i\"`"="`cat \"$i\"`"
|
||||
fi
|
||||
done
|
||||
|
||||
# Modules.
|
||||
for i in "$ENVDIR/$sh"/*.sh ; do
|
||||
if test -r "$i" ; then
|
||||
. "$i"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
414
sway/config
Normal file
414
sway/config
Normal file
|
@ -0,0 +1,414 @@
|
|||
# Read `man 5 sway` for a complete reference.
|
||||
|
||||
### Variables
|
||||
#
|
||||
set $resize_speed 25px
|
||||
|
||||
# Logo key. Use Mod1 for Alt.
|
||||
set $mod Mod4
|
||||
|
||||
# Menu.
|
||||
set $menucmd "sway_menu"
|
||||
set $rmenucmd $menucmd"_run"
|
||||
set $runcmd "$rmenucmd"
|
||||
for_window [app_id="launcher"] floating enable, resize set width 1000 px height 250 px
|
||||
# Bar.
|
||||
set $barcmd "i3blocks"
|
||||
# Terminal.
|
||||
set $termcmd "termite"
|
||||
|
||||
# Home row direction keys, like vim.
|
||||
set $left h
|
||||
set $down j
|
||||
set $up k
|
||||
set $right l
|
||||
|
||||
# Default.
|
||||
set $fg_c "#ffffff"
|
||||
set $bg_c "#000000"
|
||||
set $tb_c "#ffffff"
|
||||
set $wb_c $tb_c
|
||||
set $i_c "#00ffff"
|
||||
# Inactive.
|
||||
set $ifg_c $fg_c
|
||||
set $ibg_c "#881111"
|
||||
set $itb_c "#660000"
|
||||
set $iwb_c "$itb_c"
|
||||
set $ii_c $i_c
|
||||
# Focused.
|
||||
set $ffg_c $fg_c
|
||||
set $fbg_c "#CC2222"
|
||||
set $ftb_c "#FF0000"
|
||||
set $fwb_c $ftb_c
|
||||
set $fi_c $i_c
|
||||
# Unfocused.
|
||||
set $ufg_c "#bbbbbb"
|
||||
set $ubg_c "#484848"
|
||||
set $utb_c "#303030"
|
||||
set $uwb_c $utb_c
|
||||
set $ui_c $i_c
|
||||
|
||||
# Indicator color.
|
||||
|
||||
|
||||
|
||||
# Class TBorder Background Text Indicator WBorder
|
||||
client.focused $ftb_c $fbg_c $ffg_c $fi_c $fwb_c
|
||||
client.focused_inactive $itb_c $ibg_c $ifg_c $ii_c $iwb_c
|
||||
client.unfocused $utb_c $ubg_c $ufg_c $ui_c $uwb_c
|
||||
|
||||
font pango:Consolas Mono 10
|
||||
### Output configuration
|
||||
#
|
||||
# Default wallpaper (more resolutions are available in @datadir@/backgrounds/sway/)
|
||||
#output * bg @datadir@/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
|
||||
output * bg #000000 solid_color
|
||||
|
||||
bar {
|
||||
position top
|
||||
|
||||
# When the status_command prints a new line to stdout, swaybar updates.
|
||||
# The default just shows the current date and time.
|
||||
status_command $barcmd
|
||||
font pango:Consolas Mono 10
|
||||
|
||||
colors {
|
||||
statusline #ffffff
|
||||
background $bg_c
|
||||
inactive_workspace $itb_c $ibg_c $ifg_c
|
||||
active_workspace $ftb_c $fbg_c $ffg_c
|
||||
focused_workspace #cc2222 #990000 #ffffff
|
||||
}
|
||||
}
|
||||
#
|
||||
### Output configuration.
|
||||
#
|
||||
# Example configuration:
|
||||
#
|
||||
# output HDMI-A-1 resolution 1920x1080 position 1920,0
|
||||
#
|
||||
# You can get the names of your outputs by running: swaymsg -t get_outputs
|
||||
|
||||
### Idle configuration
|
||||
#
|
||||
# Example configuration:
|
||||
#
|
||||
# exec swayidle -w \
|
||||
# timeout 300 'swaylock -f -c 000000' \
|
||||
# timeout 600 'swaymsg "output * dpms off"' \
|
||||
# resume 'swaymsg "output * dpms on"' \
|
||||
# before-sleep 'swaylock -f -c 000000'
|
||||
#
|
||||
# This will lock your screen after 300 seconds of inactivity, then turn off
|
||||
# your displays after another 300 seconds, and turn your screens back on when
|
||||
# resumed. It will also lock your screen before your computer goes to sleep.
|
||||
|
||||
### Input configuration.
|
||||
#
|
||||
# Example configuration:
|
||||
#
|
||||
# input "2:14:SynPS/2_Synaptics_TouchPad" {
|
||||
# dwt enabled
|
||||
# tap enabled
|
||||
# natural_scroll enabled
|
||||
# middle_emulation enabled
|
||||
# }
|
||||
#
|
||||
input * {
|
||||
repeat_delay "300"
|
||||
repeat_rate "60"
|
||||
xkb_layout "us,ru"
|
||||
xkb_variant "dvorak,"
|
||||
xkb_options "caps:swapescape,grp:alt_space_toggle"
|
||||
}
|
||||
# You can get the names of your inputs by running: swaymsg -t get_inputs
|
||||
# Read `man 5 sway-input` for more information about this section.
|
||||
|
||||
### Key bindings
|
||||
floating_modifier $mod normal
|
||||
mode "default" {
|
||||
# Defaults.
|
||||
#
|
||||
# Start mode for any other mode.
|
||||
# Other modes:
|
||||
|
||||
bindsym $mod+w mode "window"
|
||||
bindsym $mod+t mode "tag"
|
||||
bindsym $mod+e mode "execute"
|
||||
|
||||
# Start a terminal.
|
||||
bindsym $mod+Shift+Return exec $termcmd
|
||||
# Start launcher.
|
||||
bindsym $mod+Shift+p exec $runcmd
|
||||
|
||||
# Drag floating windows by holding down $mod and left mouse button.
|
||||
# Resize them with right mouse button + $mod.
|
||||
# Despite the name, also works for non-floating windows.
|
||||
# Change normal to inverse to use left mouse button for resizing and right
|
||||
# mouse button for dragging.
|
||||
|
||||
# Reload the configuration file.
|
||||
bindsym $mod+Ctrl+Shift+r reload
|
||||
|
||||
# Exit sway (logs you out of your Wayland session).
|
||||
bindsym $mod+Ctrl+Shift+q exec swaymsg exit
|
||||
|
||||
# Lock the screen.
|
||||
bindsym $mod+Ctrl+Shift+l exec swaylock
|
||||
|
||||
# Move focus to the parent container
|
||||
bindsym $mod+p focus parent
|
||||
# Move focus to the child.
|
||||
bindsym $mod+c focus child
|
||||
# Kill focused window.
|
||||
bindsym $mod+x kill
|
||||
|
||||
# The most usable workspace bindings.
|
||||
bindsym $mod+1 workspace 1
|
||||
bindsym $mod+2 workspace 2
|
||||
bindsym $mod+3 workspace 3
|
||||
bindsym $mod+4 workspace 4
|
||||
bindsym $mod+5 workspace 5
|
||||
bindsym $mod+6 workspace 6
|
||||
bindsym $mod+7 workspace 7
|
||||
bindsym $mod+8 workspace 8
|
||||
bindsym $mod+9 workspace 9
|
||||
bindsym $mod+0 workspace 0
|
||||
|
||||
bindsym $mod+Shift+1 move container to workspace 1
|
||||
bindsym $mod+Shift+2 move container to workspace 2
|
||||
bindsym $mod+Shift+3 move container to workspace 3
|
||||
bindsym $mod+Shift+4 move container to workspace 4
|
||||
bindsym $mod+Shift+5 move container to workspace 5
|
||||
bindsym $mod+Shift+6 move container to workspace 6
|
||||
bindsym $mod+Shift+7 move container to workspace 7
|
||||
bindsym $mod+Shift+8 move container to workspace 8
|
||||
bindsym $mod+Shift+9 move container to workspace 9
|
||||
bindsym $mod+Shift+0 move container to workspace 0
|
||||
|
||||
bindsym $mod+comma focus left
|
||||
bindsym $mod+$left focus left
|
||||
bindsym $mod+$down focus down
|
||||
bindsym $mod+$up focus up
|
||||
bindsym $mod+$right focus right
|
||||
bindsym $mod+period focus right
|
||||
|
||||
bindsym $mod+Ctrl+$left resize shrink width $resize_speed
|
||||
bindsym $mod+Ctrl+$down resize grow height $resize_speed
|
||||
bindsym $mod+Ctrl+$up resize shrink height $resize_speed
|
||||
bindsym $mod+Ctrl+$right resize grow width $resize_speed
|
||||
|
||||
bindsym $mod+Shift+$left move left
|
||||
bindsym $mod+Shift+$down move down
|
||||
bindsym $mod+Shift+$up move up
|
||||
bindsym $mod+Shift+$right move right
|
||||
# Toggle the current focus between tiling and floating mode
|
||||
bindsym $mod+space floating toggle
|
||||
# Swap focus between the tiling area and the floating area
|
||||
bindsym $mod+shift+space focus mode_toggle
|
||||
# Toggle dvorak.
|
||||
set $empty_layout 'input * xkb_variant "," ; input * xkb_layout "us" ; '
|
||||
bindsym $mod+Tab exec swaymsg $empty_layout' input * xkb_layout "us,ru" ; input * xkb_variant "dvorak," '
|
||||
bindsym $mod+Return exec swaymsg $empty_layout' input * xkb_layout "us,ru" ; input * xkb_variant "dvp," '
|
||||
bindsym $mod+a exec swaymsg $empty_layout' input * xkb_layout "us,ru" ; input * xkb_variant "," '
|
||||
bindsym $mod+Backspace exec swaymsg $empty_layout' input * xkb_layout "ru,us" ; input * xkb_variant ",dvorak" '
|
||||
|
||||
bindsym $mod+Shift+b splith
|
||||
bindsym $mod+Shift+v splitv
|
||||
bindsym $mod+minus move scratchpad
|
||||
bindsym $mod+Shift+minus scratchpad show
|
||||
bindsym $mod+Shift+s layout stacking
|
||||
bindsym $mod+Shift+t layout tabbed
|
||||
bindsym $mod+Shift+g layout toggle split
|
||||
bindsym $mod+Shift+f fullscreen
|
||||
}
|
||||
|
||||
mode "window" {
|
||||
# You can "split" the current object of your focus with
|
||||
# $mod+b or $mod+v, for horizontal and vertical splits
|
||||
# respectively.
|
||||
bindsym b splith
|
||||
bindsym v splitv
|
||||
#
|
||||
# Scratchpad:
|
||||
#
|
||||
# Sway has a "scratchpad", which is a bag of holding for windows.
|
||||
# You can send windows there and get them back later.
|
||||
|
||||
# Move the currently focused window to the scratchpad
|
||||
bindsym minus move scratchpad
|
||||
|
||||
# Show the next scratchpad window or hide the focused scratchpad window.
|
||||
# If there are multiple scratchpad windows, this command cycles through them.
|
||||
bindsym Shift+minus scratchpad show
|
||||
|
||||
# Switch the current container between different layout styles
|
||||
bindsym s layout stacking
|
||||
bindsym t layout tabbed
|
||||
bindsym g layout toggle split
|
||||
|
||||
# Make the current focus fullscreen
|
||||
bindsym f fullscreen
|
||||
|
||||
|
||||
# Resize.
|
||||
bindsym Ctrl+$left resize shrink width $resize_speed
|
||||
bindsym Ctrl+$down resize grow height $resize_speed
|
||||
bindsym Ctrl+$up resize shrink height $resize_speed
|
||||
bindsym Ctrl+$right resize grow width $resize_speed
|
||||
|
||||
# Move.
|
||||
bindsym Shift+$left move left
|
||||
bindsym Shift+$down move down
|
||||
bindsym Shift+$up move up
|
||||
bindsym Shift+$right move right
|
||||
|
||||
# Kill focused window.
|
||||
bindsym x kill
|
||||
|
||||
# Standard.
|
||||
|
||||
# Move focus to the parent container
|
||||
bindsym p focus parent
|
||||
# Move focus to the child.
|
||||
bindsym c focus child
|
||||
bindsym space floating toggle
|
||||
bindsym shift+space focus mode_toggle
|
||||
bindsym $left focus left
|
||||
bindsym $down focus down
|
||||
bindsym $up focus up
|
||||
bindsym $right focus right
|
||||
#bindsym Space mode "default"
|
||||
bindsym Escape mode "default"
|
||||
bindsym $mod+a exec $XDG_CONFIG_HOME/sway/toggle_dvorak
|
||||
}
|
||||
|
||||
mode "tag" {
|
||||
# Switch to workspace.
|
||||
bindsym 1 workspace 1
|
||||
bindsym 2 workspace 2
|
||||
bindsym 3 workspace 3
|
||||
bindsym 4 workspace 4
|
||||
bindsym 5 workspace 5
|
||||
bindsym 6 workspace 6
|
||||
bindsym 7 workspace 7
|
||||
bindsym 8 workspace 8
|
||||
bindsym 9 workspace 9
|
||||
bindsym 0 workspace 0
|
||||
bindsym q workspace q
|
||||
bindsym w workspace w
|
||||
bindsym e workspace e
|
||||
bindsym r workspace r
|
||||
bindsym t workspace t
|
||||
bindsym y workspace y
|
||||
bindsym minus workspace '-'
|
||||
bindsym u workspace u
|
||||
bindsym i workspace i
|
||||
bindsym o workspace o
|
||||
bindsym a workspace a
|
||||
bindsym s workspace s
|
||||
bindsym d workspace d
|
||||
bindsym f workspace f
|
||||
bindsym g workspace g
|
||||
# Move focused container to workspace.
|
||||
bindsym Shift+1 move container to workspace 1
|
||||
bindsym Shift+2 move container to workspace 2
|
||||
bindsym Shift+3 move container to workspace 3
|
||||
bindsym Shift+4 move container to workspace 4
|
||||
bindsym Shift+5 move container to workspace 5
|
||||
bindsym Shift+6 move container to workspace 6
|
||||
bindsym Shift+7 move container to workspace 7
|
||||
bindsym Shift+8 move container to workspace 8
|
||||
bindsym Shift+9 move container to workspace 9
|
||||
bindsym Shift+0 move container to workspace 0
|
||||
bindsym Shift+q move container to workspace q
|
||||
bindsym Shift+w move container to workspace w
|
||||
bindsym Shift+e move container to workspace e
|
||||
bindsym Shift+r move container to workspace r
|
||||
bindsym Shift+t move container to workspace t
|
||||
bindsym Shift+y move container to workspace y
|
||||
bindsym Shift+minus move container to workspace '-'
|
||||
bindsym Shift+u move container to workspace u
|
||||
bindsym Shift+i move container to workspace i
|
||||
bindsym Shift+o move container to workspace o
|
||||
bindsym Shift+p move container to workspace p
|
||||
bindsym Shift+a move container to workspace a
|
||||
bindsym Shift+s move container to workspace s
|
||||
bindsym Shift+d move container to workspace d
|
||||
bindsym Shift+f move container to workspace f
|
||||
bindsym Shift+g move container to workspace g
|
||||
|
||||
# Any workspace name.
|
||||
bindsym Return exec $XDG_CONFIG_HOME/sway/workspace_by_menu $menucmd
|
||||
bindsym Shift+Return exec $XDG_CONFIG_HOME/sway/move_container_to_workspace_by_menu $menucmd
|
||||
#
|
||||
# Default.
|
||||
|
||||
# Move focus to the parent container
|
||||
bindsym $mod+p focus parent
|
||||
# Move focus to the child.
|
||||
bindsym $mod+c focus child
|
||||
bindsym $mod+space floating toggle
|
||||
bindsym $mod+shift+space focus mode_toggle
|
||||
bindsym $mod+$left focus left
|
||||
bindsym $mod+$down focus down
|
||||
bindsym $mod+$up focus up
|
||||
bindsym $mod+$right focus right
|
||||
bindsym Space mode "default"
|
||||
bindsym Escape mode "default"
|
||||
bindsym $mod+a exec $XDG_CONFIG_HOME/sway/toggle_dvorak
|
||||
}
|
||||
|
||||
mode "execute" {
|
||||
bindsym f exec 'firefox'
|
||||
bindsym Shift+f exec 'falkon'
|
||||
bindsym w exec 'waterfox'
|
||||
bindsym Ctrl+w exec 'wicd-gtk'
|
||||
bindsym Ctrl+Shift+w exec $termcmd' -e wicd-curses'
|
||||
bindsym c exec 'chromium'
|
||||
bindsym Ctrl+c exec 'cadence'
|
||||
bindsym Ctrl+p exec 'pavucontrol'
|
||||
bindsym Shift+c exec 'carla'
|
||||
bindsym o exec 'opera'
|
||||
bindsym g exec 'gimp'
|
||||
bindsym i exec 'inkscape'
|
||||
bindsym t exec $termcmd
|
||||
bindsym Shift+t exec "cool-retro-term"
|
||||
bindsym n exec 'non-session-manager'
|
||||
bindsym a exec "audacity"
|
||||
bindsym Shift+a exec 'ardour5'
|
||||
bindsym $mod+a exec 'amsynth'
|
||||
bindsym Shift+l exec 'lmms'
|
||||
bindsym l exec $termcmd' -e lf'
|
||||
bindsym x exec 'xfe'
|
||||
bindsym Ctrl+h exec $termcmd' -e htop'
|
||||
bindsym Ctrl+t exec $termcmd' -e top'
|
||||
bindsym Ctrl+s exec $termcmd' -e alsamixer'
|
||||
|
||||
# Default.
|
||||
#
|
||||
# Move focus to the parent container
|
||||
bindsym $mod+p focus parent
|
||||
# Move focus to the child.
|
||||
bindsym $mod+c focus child
|
||||
bindsym $mod+space floating toggle
|
||||
bindsym $mod+$left focus left
|
||||
bindsym $mod+$down focus down
|
||||
bindsym $mod+$up focus up
|
||||
bindsym $mod+$right focus right
|
||||
bindsym Space mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
|
||||
mode "empty" {
|
||||
bindsym $mod+Space mode "default"
|
||||
bindsym $mod+a exec $XDG_CONFIG_HOME/sway/toggle_dvorak
|
||||
}
|
||||
|
||||
#
|
||||
# Status Bar:
|
||||
#
|
||||
# Read `man 5 sway-bar` for more information about this section.
|
||||
|
||||
|
||||
include @sysconfdir@/sway/config.d/*
|
5
sway/move_container_to_workspace_by_menu
Executable file
5
sway/move_container_to_workspace_by_menu
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
swaymsg mode "empty"
|
||||
swaymsg move container to workspace "`echo | $1`"
|
||||
swaymsg mode "tag"
|
34
sway/status.toml
Normal file
34
sway/status.toml
Normal file
|
@ -0,0 +1,34 @@
|
|||
theme = "solarized-dark"
|
||||
icons = "awesome"
|
||||
|
||||
[[block]]
|
||||
block = "disk_space"
|
||||
path = "/"
|
||||
alias = "/"
|
||||
info_type = "available"
|
||||
unit = "GB"
|
||||
interval = 20
|
||||
warning = 20.0
|
||||
|
||||
[[block]]
|
||||
block = "memory"
|
||||
display_type = "memory"
|
||||
format_mem = "{Mup}%"
|
||||
format_swap = "{SUp}%"
|
||||
|
||||
[[block]]
|
||||
block = "cpu"
|
||||
interval = 1
|
||||
|
||||
[[block]]
|
||||
block = "load"
|
||||
interval = 1
|
||||
format = "{1m}"
|
||||
|
||||
[[block]]
|
||||
block = "sound"
|
||||
|
||||
[[block]]
|
||||
block = "time"
|
||||
interval = 60
|
||||
format = "%a %d/%m %R"
|
5
sway/workspace_by_menu
Executable file
5
sway/workspace_by_menu
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
swaymsg mode "empty"
|
||||
swaymsg workspace "`echo | $1`"
|
||||
swaymsg mode "tag"
|
2
swaylock/config
Normal file
2
swaylock/config
Normal file
|
@ -0,0 +1,2 @@
|
|||
color=#000000
|
||||
show-keyboard-layout
|
86
termite/config
Normal file
86
termite/config
Normal file
|
@ -0,0 +1,86 @@
|
|||
[options]
|
||||
allow_bold = true
|
||||
#audible_bell = false
|
||||
#bold_is_bright = true
|
||||
#cell_height_scale = 1.0
|
||||
#cell_width_scale = 1.0
|
||||
clickable_url = true
|
||||
dynamic_title = true
|
||||
font = Consolas 10
|
||||
#fullscreen = true
|
||||
icon_name = terminal
|
||||
#mouse_autohide = false
|
||||
#scroll_on_output = false
|
||||
scroll_on_keystroke = true
|
||||
# Length of the scrollback buffer, 0 disabled the scrollback buffer
|
||||
# and setting it to a negative value means "infinite scrollback"
|
||||
scrollback_lines = 10000
|
||||
#search_wrap = true
|
||||
#urgent_on_bell = true
|
||||
hyperlinks = true
|
||||
|
||||
# $BROWSER is used by default if set, with xdg-open as a fallback
|
||||
#browser = xdg-open
|
||||
|
||||
# "system", "on" or "off"
|
||||
#cursor_blink = system
|
||||
|
||||
# "block", "underline" or "ibeam"
|
||||
cursor_shape = block
|
||||
|
||||
# Hide links that are no longer valid in url select overlay mode
|
||||
#filter_unmatched_urls = true
|
||||
|
||||
# Emit escape sequences for extra modified keys
|
||||
#modify_other_keys = false
|
||||
|
||||
# set size hints for the window
|
||||
#size_hints = false
|
||||
|
||||
# "off", "left" or "right"
|
||||
#scrollbar = off
|
||||
|
||||
[colors]
|
||||
# If both of these are unset, cursor falls back to the foreground color,
|
||||
# and cursor_foreground falls back to the background color.
|
||||
#cursor = #dcdccc
|
||||
#cursor_foreground = #dcdccc
|
||||
|
||||
#foreground = #dcdccc
|
||||
#foreground_bold = #ffffff
|
||||
#background = #3f3f3f
|
||||
|
||||
# 20% background transparency (requires a compositor)
|
||||
#background = rgba(63, 63, 63, 0.8)
|
||||
|
||||
# If unset, will reverse foreground and background
|
||||
#highlight = #2f2f2f
|
||||
|
||||
# Colors from color0 to color254 can be set
|
||||
color0 = #000000
|
||||
color1 = #DD2222
|
||||
color2 = #67E300
|
||||
color3 = #F7FF00
|
||||
color4 = #5190D0
|
||||
color5 = #FF6E00
|
||||
color6 = #00FFFF
|
||||
color7 = #DDDDDD
|
||||
color8 = #666666
|
||||
color9 = #FF0000
|
||||
color10 = #A9F16C
|
||||
color11 = #EBF22C
|
||||
color12 = #346AA1
|
||||
color13 = #DE6000
|
||||
color14 = #17FFFF
|
||||
color15 = #FFFFFF
|
||||
|
||||
[hints]
|
||||
#font = DroidSansMono 10
|
||||
#foreground = #dcdccc
|
||||
#background = #3f3f3f
|
||||
#active_foreground = #e68080
|
||||
#active_background = #3f3f3f
|
||||
#padding = 2
|
||||
#border = #3f3f3f
|
||||
#border_width = 0.5
|
||||
#roundness = 2.0
|
9
user-dirs.dirs
Normal file
9
user-dirs.dirs
Normal file
|
@ -0,0 +1,9 @@
|
|||
XDG_DESKTOP_DIR="$HOME"
|
||||
XDG_DOWNLOAD_DIR="$HOME/load"
|
||||
XDG_TEMPLATES_DIR="$HOME/tmpl"
|
||||
XDG_PUBLICSHARE_DIR="$HOME/mnt"
|
||||
XDG_DOCUMENTS_DIR="$HOME/doc"
|
||||
XDG_MUSIC_DIR=$HOME/"snd"
|
||||
XDG_PICTURES_DIR="$HOME/img"
|
||||
XDG_VIDEOS_DIR="$HOME/vid"
|
||||
|
529
uzbl/config
Normal file
529
uzbl/config
Normal file
|
@ -0,0 +1,529 @@
|
|||
# Example uzbl config. All settings are optional. You can use uzbl without
|
||||
# any config at all (but it won't do much).
|
||||
|
||||
# === Core settings ==========================================================
|
||||
|
||||
# common directory locations
|
||||
set prefix @(echo $UZBL_PREFIX)@
|
||||
set data_home @(echo $XDG_DATA_HOME/uzbl)@
|
||||
set data_dirs @(echo $(echo ${XDG_DATA_DIRS}|sed 's%:%/uzbl:%g')/uzbl)@
|
||||
set cache_home @(echo $XDG_CACHE_HOME/uzbl)@
|
||||
set config_home @(echo $XDG_CONFIG_HOME/uzbl)@
|
||||
set local_storage_path @data_home/databases/
|
||||
|
||||
# Interface paths.
|
||||
set comm_dir @([ -n "$XDG_RUNTIME_DIR" ] && echo "$XDG_RUNTIME_DIR/uzbl" || echo "/tmp/uzbl-$USER")@
|
||||
set fifo_dir @comm_dir
|
||||
set socket_dir @comm_dir
|
||||
|
||||
# === General config aliases =================================================
|
||||
|
||||
# Config related events (use the event function):
|
||||
# event MODE_CONFIG <mode> <key> = <value>
|
||||
set mode_config event MODE_CONFIG
|
||||
# event ON_EVENT <EVENT_NAME> <command>
|
||||
set on_event event ON_EVENT
|
||||
# event ON_SET <key/glob> <command>
|
||||
set on_set event ON_SET
|
||||
# event MODMAP <From> <To>
|
||||
set modmap event MODMAP
|
||||
# event IGNORE_KEY <glob>
|
||||
set ignore_key event IGNORE_KEY
|
||||
|
||||
set set_mode set mode
|
||||
set set_status set status_message
|
||||
|
||||
# Spawn path shortcuts. In spawn the first dir+path match is used in "dir1:dir2:dir3:executable"
|
||||
set scripts_dir /usr/share/uzbl/examples/data/scripts
|
||||
|
||||
# Search case-insensitive by default
|
||||
search option case_insensitive
|
||||
|
||||
# === Hardcoded handlers =====================================================
|
||||
|
||||
set navigation_handler spawn_sync @scripts_dir/scheme.py
|
||||
#set request_handler spawn_sync @scripts_dir/request.py
|
||||
set authentication_handler spawn_sync @scripts_dir/auth.py
|
||||
set download_handler spawn_sync @scripts_dir/download.sh
|
||||
|
||||
# === Dynamic event handlers =================================================
|
||||
|
||||
# What to do when a website wants to open a new window:
|
||||
# Open link in new window
|
||||
@on_event NEW_WINDOW spawn_sh 'uzbl-browser ${0:-"$0"}' %r
|
||||
# Open in current window (also see the REQ_NEW_WINDOW event handler below)
|
||||
#@on_event NEW_WINDOW uri %s
|
||||
# Open in new tab. Other options are NEW_TAB_NEXT, NEW_BG_TAB and NEW_BG_TAB_NEXT.
|
||||
#@on_event NEW_WINDOW event NEW_TAB %s
|
||||
|
||||
# What to do when the user requests a new window:
|
||||
# If your the NEW_WINDOW handler opens the uri in the current window, you'll
|
||||
# probably want to change this handler to open a new window or tab.
|
||||
@on_event REQ_NEW_WINDOW event @- if (@embedded) "NEW_TAB"; else "NEW_WINDOW" -@ %s
|
||||
|
||||
# Load start handler
|
||||
@on_event LOAD_START @set_status '<span foreground="#cb4b16">wait</span>'
|
||||
# Reset the keycmd on navigation
|
||||
@on_event LOAD_START @set_mode
|
||||
|
||||
# Load commit handlers
|
||||
@on_event LOAD_COMMIT @set_status '<span foreground="#859900">recv</span>'
|
||||
|
||||
# add some javascript to the page for other 'js' commands to access later.
|
||||
@on_event LOAD_COMMIT js page string 'uzbl = {}'
|
||||
@on_event LOAD_COMMIT js page file @scripts_dir/formfiller.js
|
||||
@on_event LOAD_COMMIT js page file @scripts_dir/follow.js
|
||||
@on_event LOAD_COMMIT js page file @scripts_dir/go_input.js
|
||||
@on_event LOAD_COMMIT js page file @scripts_dir/navigation.js
|
||||
|
||||
# Userscripts/per-site-settings. See the script and the example configuration for details
|
||||
#@on_event LOAD_COMMIT spawn @scripts_dir/per-site-settings.py @data_home/per-site-settings
|
||||
|
||||
# Load finish handlers
|
||||
@on_event LOAD_FINISH @set_status '<span foreground="#d33682">done</span>'
|
||||
@on_event LOAD_FINISH spawn @scripts_dir/history.sh
|
||||
|
||||
# Switch to insert mode if a (editable) html form is clicked
|
||||
@on_event FORM_ACTIVE @set_mode insert
|
||||
# Switch to insert mode if a (editable) html form gains focus
|
||||
@on_event FOCUS_ELEMENT spawn_sh 'if [ "$0" = INPUT -o "$0" = TEXTAREA -o "$0" = SELECT ]; then echo "@set_mode insert" > $UZBL_FIFO; fi' %s
|
||||
# Switch to command mode if anything else is clicked
|
||||
@on_event ROOT_ACTIVE @set_mode command
|
||||
# Clear input when the page or an element gains focus.
|
||||
@on_event ROOT_ACTIVE event KEYCMD_CLEAR
|
||||
@on_event FOCUS_ELEMENT event KEYCMD_CLEAR
|
||||
|
||||
# Example CONFIG_CHANGED event handler
|
||||
#@on_event CONFIG_CHANGED print Config changed: %1 = %2
|
||||
|
||||
# Scroll percentage calculation
|
||||
@on_event VIEWPORT set scroll_message \@<(function(curr, max, size){if(max == size) return '--'; var p=(curr/(max - size)); return Math.round(10000*p)/100;})(%2,%4,%6)>\@%
|
||||
|
||||
# === Behaviour and appearance ===============================================
|
||||
|
||||
# Custom CSS can be defined here, including link follower hint styles
|
||||
css add file://@config_home/style.css
|
||||
|
||||
set forward_keys 0
|
||||
|
||||
set show_status 1
|
||||
set status_top 0
|
||||
set status_background #dc322f
|
||||
|
||||
set modcmd_style weight="bold" foreground="#dc322f"
|
||||
set keycmd_style weight="light" foreground="#dc322f"
|
||||
set prompt_style foreground="grey"
|
||||
set cursor_style underline="single"
|
||||
set completion_style foreground="#eee8d5"
|
||||
set hint_style weight="bold"
|
||||
|
||||
set mode_section <span background="#6c71c4" foreground="#eee8d5">[\@[\@mode_indicator]\@]</span>
|
||||
set keycmd_section <span \@prompt_style>\@[\@keycmd_prompt]\@</span><span \@modcmd_style>\@modcmd</span><span \@keycmd_style>\@keycmd</span><span \@completion_style>\@completion_list</span>
|
||||
set progress_section <span foreground="#d33682">\@[\@progress.output]\@</span>
|
||||
set scroll_section <span foreground="#93a1a1">\@[\@scroll_message]\@</span>
|
||||
set uri_section <span foreground="\@< if(\@frozen) "#268bd2"; else "#859900"; >\@">\@[\@uri]\@</span>
|
||||
|
||||
set name_section <span foreground="#b58900"><\@[\@NAME]\@></span>
|
||||
set status_section <span foreground="#cb4b16">\@status_message</span>
|
||||
set selected_section <span foreground="#839496">\@[\@SELECTED_URI]\@</span>
|
||||
|
||||
set download_section <span foreground="#93a1a1">\@downloads</span>
|
||||
set proxy_section <span foreground="#2aa198">\@[\@proxy_url]\@</span>
|
||||
|
||||
set status_format <span font_family="monospace">@mode_section @indicator_section @keycmd_section @progress_section @status_section @name_section @scroll_section @selected_section @download_section</span>
|
||||
set status_format_right <span font_family="monospace"><span foreground="#586e75">proxy:</span> @proxy_section <span foreground="#586e75">uri:</span> @uri_section</span>
|
||||
|
||||
set title_format_long \@keycmd_prompt \@raw_modcmd \@raw_keycmd \@TITLE - Uzbl browser <\@NAME> \@SELECTED_URI
|
||||
|
||||
# Progress bar config
|
||||
# %d = done, %p = pending %c = percent done, %i = int done, %s = spinner,
|
||||
# %t = percent pending, %o = int pending, %r = sprite scroll
|
||||
set progress.width 8
|
||||
set progress.format [%d>%p]%c
|
||||
set progress.done =
|
||||
set progress.pending
|
||||
|
||||
# === Configure cookie blacklist =============================================
|
||||
|
||||
set cookie_policy always
|
||||
|
||||
# Accept 'session cookies' from uzbl.org (when you have a whitelist all other cookies are dropped)
|
||||
#event WHITELIST_COOKIE domain '(^|\.)uzbl\.org$' expires '^$'
|
||||
|
||||
# Drop google analytics tracking cookies (applied after whitelists, if any)
|
||||
#event BLACKLIST_COOKIE name '^__utm.$'
|
||||
|
||||
# === Javascript configuration ==============================================
|
||||
|
||||
# Turn off javascript support
|
||||
# set enable_scripts 0
|
||||
|
||||
# === Key binding configuration ==============================================
|
||||
# --- Internal modmapping and ignoring ---------------------------------------
|
||||
|
||||
#modmap <From> <To>
|
||||
@modmap <Control> <Ctrl>
|
||||
@modmap <ISO_Left_Tab> <Shift-Tab>
|
||||
@modmap <KP_Enter> <Enter>
|
||||
@modmap " " <Space>
|
||||
|
||||
#ignore_key <glob>
|
||||
@ignore_key <ISO_*>
|
||||
@ignore_key <Shift>
|
||||
@ignore_key <Multi_key>
|
||||
@ignore_key <Mod2>
|
||||
@ignore_key <Mod4>
|
||||
@ignore_key <Mod5>
|
||||
|
||||
# --- Bind aliases -----------------------------------------------------------
|
||||
|
||||
# event MODE_BIND <mode> <bind cmd> = <command>
|
||||
set mode_bind event MODE_BIND
|
||||
|
||||
# event BIND <bind cmd> = <command>
|
||||
set bind @mode_bind global
|
||||
|
||||
# Insert mode binding alias
|
||||
set ibind @mode_bind insert
|
||||
|
||||
# Command mode binding alias
|
||||
set cbind @mode_bind command
|
||||
|
||||
# Non-insert mode bindings alias (ebind for edit-bind).
|
||||
set ebind @mode_bind global,-insert
|
||||
|
||||
# --- Global & keycmd editing binds ------------------------------------------
|
||||
|
||||
# Resets keycmd and returns to default mode.
|
||||
@on_event ESCAPE @set_mode
|
||||
@on_event ESCAPE event KEYCMD_CLEAR
|
||||
@on_event ESCAPE js page string uzbl.follow.clearHints()
|
||||
@on_event ESCAPE search clear
|
||||
@on_event ESCAPE js page string window.getSelection().removeAllRanges()
|
||||
@bind <Escape> = event ESCAPE
|
||||
@bind <Ctrl>[ = event ESCAPE
|
||||
|
||||
# Commands for editing and traversing the keycmd.
|
||||
@ebind <Return> = event KEYCMD_EXEC_CURRENT
|
||||
@ebind <Home> = event SET_CURSOR_POS 0
|
||||
@ebind <End> = event SET_CURSOR_POS -1
|
||||
@ebind <Left> = event SET_CURSOR_POS -
|
||||
@ebind <Right> = event SET_CURSOR_POS +
|
||||
@ebind <BackSpace> = event KEYCMD_BACKSPACE
|
||||
@ebind <Delete> = event KEYCMD_DELETE
|
||||
@ebind <Tab> = event START_COMPLETION
|
||||
# Readline-ish bindings.
|
||||
@ebind <Ctrl>w = event KEYCMD_STRIP_WORD \ -./&?=
|
||||
@ebind <Ctrl>u = event SET_KEYCMD
|
||||
@ebind <Ctrl>a = event SET_CURSOR_POS 0
|
||||
@ebind <Ctrl>e = event SET_CURSOR_POS -1
|
||||
|
||||
@ebind <Up> = event HISTORY_PREV
|
||||
@ebind <Down> = event HISTORY_NEXT
|
||||
@ebind <Ctrl>r<search:>_ = event HISTORY_SEARCH %s
|
||||
set history_disable_easter_egg 1
|
||||
# Keycmd injection/append examples.
|
||||
#@ebind <Ctrl>su = event INJECT_KEYCMD \@uri
|
||||
#@ebind <Ctrl>st = event INJECT_KEYCMD \@title
|
||||
#@ebind <Ctrl>du = event APPEND_KEYCMD \@uri
|
||||
#@ebind <Ctrl>dt = event APPEND_KEYCMD \@title
|
||||
|
||||
# --- Mouse bindings ---------------------------------------------------------
|
||||
|
||||
# Middle click open in new window
|
||||
@bind <Button2> = spawn_sh 'if [ "$0" ]; then echo "event REQ_NEW_WINDOW $0" > "$UZBL_FIFO"; else echo "uri $(xclip -o | sed s/\\\@/%40/g)" > "$UZBL_FIFO"; fi' '\@SELECTED_URI'
|
||||
|
||||
# --- Keyboard bindings ------------------------------------------------------
|
||||
|
||||
# With this command you can enter in any command at runtime when prefixed with
|
||||
# a colon.
|
||||
@cbind :_ = %s
|
||||
|
||||
# open a new window or a new tab (see the on_event NEW_WINDOW settings above)
|
||||
@cbind w = event REQ_NEW_WINDOW
|
||||
|
||||
# Page movement binds
|
||||
@cbind j = scroll vertical 100
|
||||
@cbind k = scroll vertical -100
|
||||
@cbind h = scroll horizontal -100
|
||||
@cbind l = scroll horizontal 100
|
||||
@cbind <Page_Up> = scroll vertical -100%
|
||||
@cbind <Page_Down> = scroll vertical 100%
|
||||
@cbind <Ctrl>f = scroll vertical 100%
|
||||
@cbind <Ctrl>b = scroll vertical -100%
|
||||
@cbind gg = scroll vertical begin
|
||||
@cbind G = scroll vertical end
|
||||
@cbind << = scroll vertical begin
|
||||
@cbind >> = scroll vertical end
|
||||
@cbind <Home> = scroll vertical begin
|
||||
@cbind <End> = scroll vertical end
|
||||
@cbind ^ = scroll horizontal begin
|
||||
@cbind $ = scroll horizontal end
|
||||
@cbind <Shift><Space> = scroll vertical -98%
|
||||
@cbind <Space> = scroll vertical 98%
|
||||
@cbind !G<"Go To":>_ = scroll vertical %r!
|
||||
# The first '_' is literal, so type '_G' to trigger this binding.
|
||||
@cbind _G<"Go To":>_ = scroll horizontal %r!
|
||||
|
||||
# Frozen binding
|
||||
@cbind <Shift><Ctrl>F = toggle frozen
|
||||
|
||||
# Navigation binds
|
||||
@cbind b = back
|
||||
@cbind m = forward
|
||||
@cbind gb = uri \@< encodeURI(uzbl.navigation.prev()) >\@
|
||||
@cbind gf = uri \@< encodeURI(uzbl.navigation.next()) >\@
|
||||
@cbind S = stop
|
||||
@cbind r = reload cached
|
||||
@cbind R = reload full
|
||||
|
||||
# Zoom binds
|
||||
@cbind + = zoom in
|
||||
@cbind - = zoom out
|
||||
@cbind T = toggle zoom_text_only
|
||||
@cbind 1 = set zoom_level 1.0
|
||||
@cbind 2 = set zoom_level 2.0
|
||||
|
||||
# Appearance binds
|
||||
@cbind t = toggle show_status
|
||||
|
||||
# Page searching binds
|
||||
@cbind /* = search find %s
|
||||
@cbind <Ctrl>/<search:>_ = search find %s
|
||||
@cbind ?* = search rfind %s
|
||||
@cbind <Ctrl>?<'reverse search':>_ = search rfind %s
|
||||
# Jump to next and previous items
|
||||
@cbind n = search next
|
||||
@cbind N = search prev
|
||||
|
||||
# Print pages to a printer
|
||||
@cbind <Ctrl>p = hardcopy page
|
||||
|
||||
# Web searching binds
|
||||
# NOTE you may search Google by adding "!g" to your DuckDuckGo search string
|
||||
@cbind ddg<DuckDuckGo:>_ = uri https://duckduckgo.com/?q=\@-encodeURIComponent(%r)-\@
|
||||
# These bindings should be entered as simply \wiki but due to escaping
|
||||
# happening in multiple stages it needs to be written like this
|
||||
@cbind \\\\awiki<Archwiki:>_ = uri https://wiki.archlinux.org/index.php/Special:Search?search=\@-encodeURIComponent(%r)-\@&go=Go
|
||||
@cbind \\\\wiki<Wikipedia:>_ = uri https://secure.wikimedia.org/wikipedia/en/w/index.php?fulltext=Search&title=Special%3ASearch&search=\@-encodeURIComponent(%r)-\@
|
||||
|
||||
# Handy binds
|
||||
# Set function shortcut
|
||||
@cbind s<var:>_<value:>_ = set %1 %2
|
||||
# Exit binding
|
||||
@cbind ZZ = exit
|
||||
# Dump config to stdout
|
||||
@cbind !dump = spawn_sh 'echo dump_config > "$UZBL_FIFO"'
|
||||
# Reload all variables in the config
|
||||
@cbind !reload = spawn_sh "sed '/^# === Post-load misc commands/,$d' \"$UZBL_CONFIG\" | grep '^set ' > \"$UZBL_FIFO\""
|
||||
|
||||
# Use socat to directly inject commands into uzbl-core and view events
|
||||
# raised by uzbl-core:
|
||||
@cbind <Ctrl><Mod1>t = spawn_sh 'xterm -e "socat unix-connect:\"$UZBL_SOCKET\" -"'
|
||||
#@cbind <Ctrl><Mod1>t = spawn_sh 'urxvt -e socat unix-connect:"$UZBL_SOCKET" -'
|
||||
|
||||
# Uri opening prompts
|
||||
@cbind o<uri:>_ = uri %r
|
||||
# Or have it load the current uri into the keycmd for editing
|
||||
@cbind O<uri:\@uri>_ = uri %r
|
||||
|
||||
# Mode setting binds
|
||||
@cbind i = @set_mode insert
|
||||
@bind <Ctrl>i = @set_mode insert
|
||||
|
||||
# Hard-bound bookmarks
|
||||
@cbind gh = uri https://www.uzbl.org
|
||||
|
||||
# New window binds
|
||||
@cbind gw = event REQ_NEW_WINDOW
|
||||
|
||||
# SSL-ify bindings
|
||||
@cbind zs = uri \@(echo "$UZBL_URI" | sed -e 's/^http:/https:/')\@
|
||||
@cbind zS = event REQ_NEW_WINDOW \@(echo "$UZBL_URI" | sed -e 's/^http:/https:/')\@
|
||||
|
||||
# Yanking & pasting binds
|
||||
@cbind yu = spawn_sh 'echo -n "$UZBL_URI" | xclip'
|
||||
@cbind yU = spawn_sh 'echo -n "$0" | xclip' '\@SELECTED_URI'
|
||||
@cbind yy = spawn_sh 'echo -n "$UZBL_TITLE" | xclip'
|
||||
@cbind ys = spawn @scripts_dir/follow.sh \@< uzbl.follow.followSelection('returnuri') >\@ clipboard
|
||||
|
||||
# Selection bindings
|
||||
@cbind <Ctrl>a = js page string '(function () { var r = document.createRange(), s = window.getSelection(); r.selectNodeContents(document); s.removeAllRanges(); s.addRange(r); })();'
|
||||
@cbind <Ctrl>c = spawn_sh 'echo \@< btoa(window.getSelection().toString()) >\@ | base64 -d | xclip -selection clipboard -i'
|
||||
|
||||
# Clone current window
|
||||
@cbind c = event REQ_NEW_WINDOW \@uri
|
||||
# Go the page from primary selection
|
||||
@cbind p = spawn_sh 'echo "uri $(xclip -o | sed s/\\\@/%40/g)" > "$UZBL_FIFO"'
|
||||
# Go to the page in clipboard
|
||||
@cbind P = spawn_sh 'echo "uri $(xclip -selection clipboard -o | sed s/\\\@/%40/g)" > "$UZBL_FIFO"'
|
||||
# Start a new uzbl instance from the page in primary selection
|
||||
@cbind "'p" = spawn_sh 'echo "event REQ_NEW_WINDOW $(xclip -o)" > "$UZBL_FIFO"'
|
||||
# paste primary selection into keycmd at the cursor position
|
||||
@bind <Shift><Insert> = spawn_sh 'echo "event INJECT_KEYCMD $(xclip -o | sed s/\\\@/%40/g)" > "$UZBL_FIFO"'
|
||||
|
||||
# Bookmark inserting binds
|
||||
@cbind <Ctrl>m<tags:>_ = spawn_sh 'echo "$UZBL_URI $0" >> "@data_home/bookmarks"' '%s'
|
||||
# Or use a script to insert a bookmark.
|
||||
@cbind M = spawn @scripts_dir/insert_bookmark.sh
|
||||
|
||||
# Bookmark/history loading
|
||||
@cbind U = spawn @scripts_dir/load_url_from_history.sh
|
||||
@cbind u = spawn @scripts_dir/load_url_from_bookmarks.sh
|
||||
|
||||
# Temporary bookmarks
|
||||
@cbind <Ctrl>d = spawn @scripts_dir/insert_temp.sh
|
||||
@cbind D = spawn @scripts_dir/load_url_from_temps.sh
|
||||
|
||||
# Link following (similar to vimperator and konqueror)
|
||||
# Set custom keys you wish to use for navigation. Some common examples:
|
||||
set follow_hint_keys 0123456789
|
||||
#set follow_hint_keys qwerty
|
||||
#set follow_hint_keys asdfghjkl;
|
||||
#set follow_hint_keys thsnd-rcgmvwb/;789aefijkopquxyz234
|
||||
|
||||
# follow links
|
||||
# The structure for these calls is to call a shell script (follow.sh) with the
|
||||
# output of some JavaScript code (follow.js) which gets a URI from the page to
|
||||
# act on. The first argument to followLinks() is the list of characters to use
|
||||
# for labelling links, the second is the currently entered keys, and the third
|
||||
# is the 'mode' to use. The modes are 'click', 'newwindow', and 'returnuri'.
|
||||
# The 'click' and 'newwindow' modes are handled in follow.js completely. When
|
||||
# using 'returnuri' the second argument to follow.sh is the action to use for
|
||||
# the URI. Currently implemented are 'set' (uses the 'uri' command),
|
||||
# 'newwindow' (uses the REQ_NEW_WINDOW event), and 'clipboard' (copies the URI
|
||||
# to the clipboard).
|
||||
|
||||
# follow hint keys:
|
||||
# fl -> emulate a click on the link
|
||||
# Fl -> open in a new window
|
||||
# fL -> take the url and navigate directly to it
|
||||
# FL -> copy the url to the clipboard
|
||||
@cbind fl* = spawn @scripts_dir/follow.sh \@< uzbl.follow.followLinks("\@follow_hint_keys", "%s", 'click') >\@
|
||||
@cbind Fl* = spawn @scripts_dir/follow.sh \@< uzbl.follow.followLinks("\@follow_hint_keys", "%s", 'newwindow') >\@ newwindow
|
||||
@cbind fL* = spawn @scripts_dir/follow.sh \@< uzbl.follow.followLinks("\@follow_hint_keys", "%s", 'returnuri') >\@ set
|
||||
@cbind FL* = spawn @scripts_dir/follow.sh \@< uzbl.follow.followLinks("\@follow_hint_keys", "%s", 'returnuri') >\@ clipboard
|
||||
@cbind fi = spawn @scripts_dir/go_input.sh
|
||||
|
||||
# follow selected link:
|
||||
# NOTE "selected" refers to marked text (e.g. via mouse or search), not by simply "tabbing" to a certain link.
|
||||
# fs -> emulate a click on the link
|
||||
# Fs -> open in a new window
|
||||
# fS -> take the url and navigate directly to it
|
||||
# FS -> copy the url to the clipboard
|
||||
@cbind fs = spawn @scripts_dir/follow.sh \@< uzbl.follow.followSelection('click') >\@
|
||||
@cbind fS = spawn @scripts_dir/follow.sh \@< uzbl.follow.followSelection('newwindow') >\@ newwindow
|
||||
@cbind Fs = spawn @scripts_dir/follow.sh \@< uzbl.follow.followSelection('returnuri') >\@ set
|
||||
@cbind FS = spawn @scripts_dir/follow.sh \@< uzbl.follow.followSelection('returnuri') >\@ clipboard
|
||||
|
||||
# follow by link text (i.e., <a>foo</a> is selected with "ftfoo" or "'foo")
|
||||
# ft -> emulate a click on the link
|
||||
# Ft -> open in a new window
|
||||
# fT -> take the url and navigate directly to it
|
||||
# FT -> copy the url to the clipboard
|
||||
@cbind ft* = spawn @scripts_dir/follow.sh \@< uzbl.follow.followTextContent("%s", 'click') >\@
|
||||
@cbind fT* = spawn @scripts_dir/follow.sh \@< uzbl.follow.followTextContent("%s", 'newwindow') >\@ newwindow
|
||||
@cbind Ft* = spawn @scripts_dir/follow.sh \@< uzbl.follow.followTextContent("%s", 'returnuri') >\@ set
|
||||
@cbind FT* = spawn @scripts_dir/follow.sh \@< uzbl.follow.followTextContent("%s", 'returnuri') >\@ clipboard
|
||||
|
||||
# Form filler binds
|
||||
# This script allows you to configure (per domain) values to fill in form
|
||||
# fields (eg login information) and to fill in these values automatically.
|
||||
# This implementation allows you to save multiple profiles for each form
|
||||
# (think about multiple accounts on some website).
|
||||
set formfiller spawn @scripts_dir/formfiller.sh
|
||||
@cbind ze = @formfiller edit
|
||||
@cbind zn = @formfiller new
|
||||
@cbind zl = @formfiller load
|
||||
@cbind zo = @formfiller once
|
||||
|
||||
# --- Uzbl tabbed binds ------------------------------------------------------
|
||||
|
||||
# Tab opening
|
||||
@cbind gn = event NEW_TAB
|
||||
@cbind gN = event NEW_TAB_NEXT
|
||||
@cbind go<uri:>_ = event NEW_TAB %s
|
||||
@cbind gO<uri:>_ = event NEW_TAB_NEXT %s
|
||||
|
||||
# Closing / resetting
|
||||
@cbind gC = exit
|
||||
@cbind gQ = event CLEAN_TABS
|
||||
|
||||
# Tab navigating
|
||||
@cbind g< = event FIRST_TAB
|
||||
@cbind g> = event LAST_TAB
|
||||
@cbind gt = event NEXT_TAB
|
||||
@cbind gT = event PREV_TAB
|
||||
@cbind gi<index:>_ = event GOTO_TAB %s
|
||||
@cbind <Ctrl><Left> = event MOVE_CURRENT_TAB_LEFT
|
||||
@cbind <Ctrl><Right> = event MOVE_CURRENT_TAB_RIGHT
|
||||
@cbind gm<index:>_ = event MOVE_CURRENT_TAB %s
|
||||
|
||||
# Preset loading
|
||||
set preset event PRESET_TABS
|
||||
@cbind gs<"preset save":>_ = @preset save %s
|
||||
@cbind glo<"preset load":>_ = @preset load %s
|
||||
@cbind gd<"preset del":>_ = @preset del %s
|
||||
# This doesn't work right now.
|
||||
#@cbind gli = @preset list
|
||||
|
||||
# === Context menu items =====================================================
|
||||
|
||||
# Default context menu
|
||||
menu add link Google "uri https://google.com"
|
||||
menu add link "Go Home" "uri https://uzbl.org"
|
||||
menu add_separator separator_1
|
||||
menu add link "Quit uzbl" exit
|
||||
|
||||
# Link context menu
|
||||
menu add link "Print Link" "print \@SELECTED_URI"
|
||||
|
||||
# === Mode configuration =====================================================
|
||||
|
||||
# Define some mode specific uzbl configurations.
|
||||
set command @mode_config command
|
||||
set insert @mode_config insert
|
||||
set stack @mode_config stack
|
||||
|
||||
# Command mode config.
|
||||
@command keycmd_style foreground="#dc322f"
|
||||
@command status_background #002b36
|
||||
@command mode_indicator Cmd
|
||||
@command keycmd_events 1
|
||||
@command forward_keys 0
|
||||
@command modcmd_updates 1
|
||||
|
||||
# Insert mode config.
|
||||
@insert status_background #eee8d5
|
||||
@insert mode_indicator Ins
|
||||
@insert forward_keys 1
|
||||
@insert keycmd_events 0
|
||||
@insert modcmd_updates 0
|
||||
|
||||
# Multi-stage-binding mode config.
|
||||
@stack keycmd_style foreground="#dc322f"
|
||||
@stack status_background #400040
|
||||
@stack mode_indicator Bnd
|
||||
@stack prompt_style foreground="#888" weight="light"
|
||||
@stack keycmd_events 1
|
||||
@stack modcmd_updates 1
|
||||
@stack forward_keys 0
|
||||
|
||||
set default_mode command
|
||||
|
||||
# === SSL related configuration ==============================================
|
||||
|
||||
set ssl_policy fail
|
||||
# Command to toggle ssl_policy value:
|
||||
@cbind !ssl = chain 'toggle ssl_policy fail ignore' 'reload'
|
||||
# Example SSL error handler:
|
||||
@on_event LOAD_ERROR js page string 'if (/SSL handshake failed/.test("%3")) {alert ("%3");}'
|
||||
|
||||
# === Post-load misc commands ================================================
|
||||
spawn_sync_exec @scripts_dir/load_cookies.sh
|
||||
spawn_sync_exec @scripts_dir/load_cookies.sh @(echo "${UZBL_SESSION_COOKIE_FILE:-@data_home/session-cookies.txt}")@
|
||||
|
||||
# Set the "home" page.
|
||||
uri uzbl.org/doesitwork/@COMMIT
|
||||
|
||||
# vim: set fdm=syntax:
|
0
vimb/bookmark
Normal file
0
vimb/bookmark
Normal file
10
vimb/closed
Normal file
10
vimb/closed
Normal file
|
@ -0,0 +1,10 @@
|
|||
about:blank
|
||||
about:blank
|
||||
about:blank
|
||||
about:blank
|
||||
about:blank
|
||||
about:blank
|
||||
about:blank
|
||||
https://en.wikipedia.org/wiki/Programming_paradigm
|
||||
https://whydoesitsuck.com/cpp-sucks-for-a-reason/
|
||||
https://git.suckless.org/st/log.html
|
66
vimb/command
Normal file
66
vimb/command
Normal file
|
@ -0,0 +1,66 @@
|
|||
tabopen suck
|
||||
open suck
|
||||
tabopen suck
|
||||
sh! xdotool key --window $VIMB_XID ctrl+shift+l
|
||||
sh! xdotool key --window $VIMB_XID ctrl+shift+l
|
||||
sh! xdotool key --window $VIMB_XID ctrl+shift+l
|
||||
sh! xdotool key --window $VIMB_XID ctrl+shift+l
|
||||
sh! xdotool key --window $VIMB_XID ctrl+shift+l
|
||||
tabopen vk.com
|
||||
tabopen d suck
|
||||
tabopen tab
|
||||
sh! xdotool key --window $VIMB_XID ctrl+shift+l
|
||||
sh! xdotool key --window $VIMB_XID ctrl+shift+l
|
||||
sh! xdotool key --window $VIMB_XID ctrl+shift+l
|
||||
sh! xdotool key --window $VIMB_XID ctrl+shift+l
|
||||
tabopen suck
|
||||
sh! xdotool key --window $VIMB_XID ctrl+shift+l
|
||||
sh! xdotool key --window $VIMB_XID ctrl+shift+l
|
||||
sh! xdotool key --window $VIMB_XID ctrl+shift+l
|
||||
sh! xdotool key --window $VIMB_XID ctrl+shift+l
|
||||
sh! xdotool key --window $VIMB_XID ctrl+shift+l
|
||||
sh! xdotool key --window $VIMB_XID ctrl+shift+l
|
||||
sh! xdotool key --window $VIMB_XID ctrl+shift+l
|
||||
sh! xdotool key --window $VIMB_XID ctrl+shift+l
|
||||
exit
|
||||
quit
|
||||
sh! xdotool key --window $VIMB_XID ctrl+shift+l
|
||||
open vk.com
|
||||
tabopen aur aur
|
||||
sh! xdotool key --window $VIMB_XID ctrl+shift+l
|
||||
tabopen pony.town
|
||||
sh! xdotool key --window $VIMB_XID ctrl+shift+l
|
||||
sh! xdotool key --window $VIMB_XID ctrl+shift+l
|
||||
q
|
||||
sh! xdotool key --window $VIMB_XID ctrl+shift+l
|
||||
sh! xdotool key --window $VIMB_XID ctrl+shift+l
|
||||
sh! xdotool key --window $VIMB_XID ctrl+shift+l
|
||||
tabopen tcc
|
||||
tabopen translate.google.com
|
||||
sh! xdotool key --window $VIMB_XID ctrl+shift+l
|
||||
sh! xdotool key --window $VIMB_XID ctrl+shift+l
|
||||
tabopen dwb
|
||||
q
|
||||
sh! xdotool key --window $VIMB_XID ctrl+shift+l
|
||||
sh! xdotool key --window $VIMB_XID ctrl+shift+l
|
||||
sh! xdotool key --window $VIMB_XID ctrl+shift+l
|
||||
sh! xdotool key --window $VIMB_XID ctrl+shift+l
|
||||
sh! xdotool key --window $VIMB_XID ctrl+shift+l
|
||||
open dwb
|
||||
open dvm
|
||||
open vk.com
|
||||
open vk.com
|
||||
tabopen suckless dwm git
|
||||
tabopen why cpp is bad language
|
||||
tabopen translate.google.com
|
||||
tabopen make prograim
|
||||
tabopen dwm config.h
|
||||
sh! xdotool key --window $VIMB_XID ctrl+shift+l
|
||||
sh! xdotool key --window $VIMB_XID ctrl+shift+l
|
||||
tabopen dwm wayland
|
||||
tabopen suckless rt
|
||||
tabopen st configuration
|
||||
tabopen st config.h
|
||||
tabopen software that sucks less
|
||||
tabopen radare2 suckless
|
||||
tabopen zsh suckless
|
90
vimb/config
Normal file
90
vimb/config
Normal file
|
@ -0,0 +1,90 @@
|
|||
# Homepage that vimb opens if started without a URI.
|
||||
set home-page=about:blank
|
||||
|
||||
# Path to the default download directory. If no download directory is set,
|
||||
# download will be written into current directory. The following pattern will
|
||||
# be expanded if the download is started '~/', '~user', '$VAR' and '${VAR}'.
|
||||
set download-path=~/tmp/
|
||||
|
||||
# Command with placeholder '%s' called if form field is opened with $EDITOR to
|
||||
# spawn the editor-like `x-terminal-emulator -e vim %s'. To use Gvim as the
|
||||
# editor, it's necessary to call it with `-f' to run it in the foreground.
|
||||
set editor-command=termite -e "nvim %s"
|
||||
|
||||
# If enabled the inputbox will be hidden whenever it contains no text.
|
||||
set input-autohide=true
|
||||
|
||||
# Enable or disable the spell checking feature.
|
||||
set spell-checking=true
|
||||
|
||||
# Set comma separated list of spell checking languages to be used for
|
||||
# spell checking.
|
||||
set spell-checking-languages=en,de
|
||||
|
||||
# Enable or disable support for WebGL on pages.
|
||||
set webgl=true
|
||||
|
||||
# While typing a search command, show where the pattern typed so far matches.
|
||||
set incsearch=true
|
||||
|
||||
# The font family to use as the default for content that does not specify a
|
||||
# font.
|
||||
set default-font=DejaVu Sans
|
||||
|
||||
# The font family used as the default for content using monospace font.
|
||||
set monospace-font=DejaVu Sans Mono
|
||||
|
||||
# The font family used as the default for content using sans-serif font.
|
||||
set sans-serif-font=DejaVu Sans
|
||||
|
||||
# The font family used as the default for content using serif font.
|
||||
set serif-font=DejaVu Serif
|
||||
|
||||
# The default font size used to display text.
|
||||
set font-size=16
|
||||
|
||||
# Default font size for the monospace font.
|
||||
set monospace-font-size=13
|
||||
|
||||
# Default Full-Content zoom level in percent. Default is 100.
|
||||
set default-zoom=100
|
||||
|
||||
# Shortcuts allow the opening of an URI built up from a named template with
|
||||
# additional parameters.
|
||||
shortcut-add duck=https://duckduckgo.com/?q=$0
|
||||
shortcut-add d=http://dict.cc/?s=$0
|
||||
shortcut-add g=https://encrypted.google.com/search?q=$0
|
||||
shortcut-add y=http://www.youtube.com/results?search_query=$0
|
||||
shortcut-add s=https://www.startpage.com/do/dsearch?query=$0
|
||||
shortcut-add wwr=https://ru.wikipedia.org/wiki/$0
|
||||
shortcut-add wwe=https://en.wikipedia.org/wiki/$0
|
||||
shortcut-add wdr=https://ru.wiktionary.org/wiki/$0
|
||||
shortcut-add wde=https://en.wiktionary.org/wiki/$0
|
||||
shortcut-add aur=https://aur.archlinux.org/packages.php?O=0&K=$0&do_Search=Go
|
||||
shortcut-add aw=https://wiki.archlinux.org/index.php/Special:Search?fulltext=Search&search=$0
|
||||
|
||||
|
||||
# Set the shortcut as the default, that is the shortcut to be used if no
|
||||
# shortcut is given and the string to open is not an URI.
|
||||
shortcut-default duck
|
||||
|
||||
# Map page zoom in normal mode to keys commonly used across applications
|
||||
# + (zoom in), - (zoom out), = (zoom reset)
|
||||
nmap + zI
|
||||
nmap - zO
|
||||
nmap = zz
|
||||
|
||||
# GUI color settings
|
||||
# Color scheme: Base16 Eighties (https://github.com/chriskempson/base16)
|
||||
set completion-css=color:#d3d0c8;background-color:#393939;font:12pt DejaVu Sans Mono;
|
||||
set completion-hover-css=color:#d3d0c8;background-color:#393939;font:12pt DejaVu Sans Mono;
|
||||
set completion-selected-css=color:#d3d0c8;background-color:#515151;font:12pt DejaVu Sans Mono;
|
||||
set input-css=color:#d3d0c8;background-color:#393939;font:12pt DejaVu Sans Mono;
|
||||
set input-error-css=color:#f2777a;background-color:#393939;font:12pt DejaVu Sans Mono;
|
||||
set status-css=color:#ffcc66;background-color:#393939;font:12pt DejaVu Sans Mono;
|
||||
set status-ssl-css=color:#99cc99;background-color:#393939;font:12pt DejaVu Sans Mono;
|
||||
set status-ssl-invalid-css=color:#f2777a;background-color:#393939;font:12pt DejaVu Sans Mono;
|
||||
|
||||
nnoremap gt :sh! xdotool key --window $VIMB_XID ctrl+shift+l<CR><Esc>
|
||||
nnoremap gT :sh! xdotool key --window $VIMB_XID ctrl+shift+h<CR><Esc>
|
||||
nnoremap 1gt :sh! xdotool key --window $VIMB_XID ctrl+1<CR><Esc>
|
BIN
vimb/cookies.db
Normal file
BIN
vimb/cookies.db
Normal file
Binary file not shown.
73
vimb/history
Normal file
73
vimb/history
Normal file
|
@ -0,0 +1,73 @@
|
|||
https://duckduckgo.com/?q=suck&ia=about suck at DuckDuckGo
|
||||
https://duckduckgo.com/?q=suck&ia=about suck at DuckDuckGo
|
||||
https://duckduckgo.com/?q=suck&ia=about suck at DuckDuckGo
|
||||
https://vk.com/ Welcome! | VK
|
||||
https://vk.com/feed Новости
|
||||
https://www.dict.cc/?s=suck suck | Übersetzung Englisch-Deutsch
|
||||
https://duckduckgo.com/?q=tab&ia=about tab at DuckDuckGo
|
||||
https://duckduckgo.com/?q=suck&ia=about suck at DuckDuckGo
|
||||
https://aur.archlinux.org/packages.php?O=0&K=aur&do_Search=Go AUR (en) - Search Criteria: aur
|
||||
https://vk.com/feed Новости
|
||||
https://pony.town/ Pony Town
|
||||
https://accounts.google.com/o/oauth2/v2/auth?response_type=code&redirect_uri=https%3A%2F%2Fpony.town%2Fauth%2Fgoogle%2Fcallback&scope=email&client_id=200390553857-2c0ekd77errt7urt9302oqa3nknbs7fm.apps.googleusercontent.com Forwarding ...
|
||||
https://accounts.google.com/signin/oauth/identifier?client_id=200390553857-2c0ekd77errt7urt9302oqa3nknbs7fm.apps.googleusercontent.com&as=KOXcvBgKOvBZGwYqVi6zpw&destination=https%3A%2F%2Fpony.town&approval_state=!ChRISG1CdVp3VU5nQXZNQmFjNFNPZBIfWTJRVmRoRDAtR1VVOERFdWhZOThQY19sb1MtTHNSWQ∙AJDr988AAAAAXPU1l9sXdWVcgYrZz64lHfDF59Purw0i&oauthgdpr=1&xsrfsig=ChkAeAh8T9SB40Oz4lDL2T2ypIeZPd_FKurJEg5hcHByb3ZhbF9zdGF0ZRILZGVzdGluYXRpb24SBXNvYWN1Eg9vYXV0aHJpc2t5c2NvcGU&flowName=GeneralOAuthFlow Вход – Google Аккаунты
|
||||
https://vk.com/im Диалоги
|
||||
https://accounts.google.ru/accounts/SetSID Переадресация…
|
||||
https://pony.town/ Pony Town
|
||||
https://duckduckgo.com/?q=tcc&ia=about tcc at DuckDuckGo
|
||||
https://translate.google.com/ Google Переводчик
|
||||
https://duckduckgo.com/?q=dwb&ia=about dwb at DuckDuckGo
|
||||
https://duckduckgo.com/l/?kh=-1&uddg=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FDriving_While_Black
|
||||
https://en.wikipedia.org/wiki/Driving_While_Black Driving while black - Wikipedia
|
||||
https://duckduckgo.com/?q=dwb&ia=about dwb at DuckDuckGo
|
||||
https://duckduckgo.com/?q=dvm&ia=web dvm at DuckDuckGo
|
||||
https://duckduckgo.com/?q=dwm&ia=about dwm at DuckDuckGo
|
||||
https://duckduckgo.com/l/?kh=-1&uddg=https%3A%2F%2Fdwm.suckless.org%2F
|
||||
https://dwm.suckless.org/ dwm - dynamic window manager | suckless.org software that sucks less
|
||||
https://en.wikipedia.org/wiki/American_English American English - Wikipedia
|
||||
https://vk.com/feed Новости
|
||||
https://vk.com/im Новости
|
||||
https://duckduckgo.com/?q=suckless+dwm+git&ia=software suckless dwm git at DuckDuckGo
|
||||
https://duckduckgo.com/l/?kh=-1&uddg=https%3A%2F%2Fgit.suckless.org%2Fdwm%2F
|
||||
https://git.suckless.org/dwm/ Log - dwm - dynamic window manager
|
||||
https://duckduckgo.com/?q=why+cpp+is+bad+language&ia=web why cpp is bad language at DuckDuckGo
|
||||
https://duckduckgo.com/l/?kh=-1&uddg=https%3A%2F%2Fwhydoesitsuck.com%2Fcpp-sucks-for-a-reason%2F
|
||||
https://whydoesitsuck.com/cpp-sucks-for-a-reason/ The C++ Programming Language Sucks for a Very Good Reason | Why Does It Suck?
|
||||
https://translate.google.com/ Google Переводчик
|
||||
https://duckduckgo.com/?q=make+prograim&ia=web make prograim at DuckDuckGo
|
||||
https://duckduckgo.com/l/?kh=-1&uddg=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FMake_(software)
|
||||
https://en.wikipedia.org/wiki/Make_(software) Make (software) - Wikipedia
|
||||
https://en.wikipedia.org/wiki/Programming_paradigm Programming paradigm - Wikipedia
|
||||
https://duckduckgo.com/?q=dwm+config.h&ia=web dwm config.h at DuckDuckGo
|
||||
https://duckduckgo.com/l/?kh=-1&uddg=https%3A%2F%2Fdwm.suckless.org%2Fcustomisation%2F
|
||||
https://dwm.suckless.org/customisation/ dwm - dynamic window manager | suckless.org software that sucks less
|
||||
https://dwm.suckless.org/multi-pointer/ dwm - dynamic window manager | suckless.org software that sucks less
|
||||
https://duckduckgo.com/?q=dwm+wayland&ia=web dwm wayland at DuckDuckGo
|
||||
https://duckduckgo.com/?q=suckless+rt&ia=shopping suckless rt at DuckDuckGo
|
||||
https://duckduckgo.com/?q=suckless+st+git&ia=web suckless st git at DuckDuckGo
|
||||
https://duckduckgo.com/l/?kh=-1&uddg=https%3A%2F%2Fgit.suckless.org%2Fst%2F
|
||||
https://git.suckless.org/st/ Log - st - simple terminal
|
||||
https://duckduckgo.com/?q=st+configuration&ia=web st configuration at DuckDuckGo
|
||||
https://duckduckgo.com/?q=suckless+st+config.h&ia=web suckless st config.h at DuckDuckGo
|
||||
https://duckduckgo.com/l/?kh=-1&uddg=https%3A%2F%2Fst.suckless.org%2F
|
||||
https://st.suckless.org/ st - simple terminal | suckless.org software that sucks less
|
||||
https://ub.fnwi.uva.nl/computermuseum//tek4014.html Tektronix 4014 graphics terminal
|
||||
https://git.suckless.org/st/files.html Files - st - simple terminal
|
||||
https://git.suckless.org/st/file/README.html README - st - simple terminal
|
||||
https://git.suckless.org/st/file/LICENSE.html LICENSE - st - simple terminal
|
||||
https://git.suckless.org/st/log.html Log - st - simple terminal
|
||||
https://duckduckgo.com/?q=st+config.h&ia=web st config.h at DuckDuckGo
|
||||
https://duckduckgo.com/l/?kh=-1&uddg=https%3A%2F%2Fgithub.com%2FLukeSmithxyz%2Fst%2Fblob%2Fmaster%2Fconfig.h
|
||||
https://github.com/LukeSmithxyz/st/blob/master/config.h st/config.h at master · LukeSmithxyz/st · GitHub
|
||||
https://duckduckgo.com/?q=tiny+c+compiler&ia=web tiny c compiler at DuckDuckGo
|
||||
https://duckduckgo.com/?q=suckless+surf&ia=web suckless surf at DuckDuckGo
|
||||
https://duckduckgo.com/l/?kh=-1&uddg=https%3A%2F%2Fsurf.suckless.org%2F
|
||||
https://surf.suckless.org/ surf | suckless.org software that sucks less
|
||||
https://duckduckgo.com/?q=software+that+sucks+less&ia=web software that sucks less at DuckDuckGo
|
||||
https://duckduckgo.com/l/?kh=-1&uddg=https%3A%2F%2Fsuckless.org%2F
|
||||
https://suckless.org/ software that sucks less | suckless.org software that sucks less
|
||||
https://suckless.org/coding_style/ software that sucks less | suckless.org software that sucks less
|
||||
https://duckduckgo.com/?q=radare2+suckless&ia=web radare2 suckless at DuckDuckGo
|
||||
https://duckduckgo.com/?q=zsh+suckless&ia=web zsh suckless at DuckDuckGo
|
||||
https://duckduckgo.com/l/?kh=-1&uddg=https%3A%2F%2Fgithub.com%2Ftopics%2Fsuckless
|
||||
https://github.com/topics/suckless Topic: suckless · GitHub
|
0
vimb/queue
Normal file
0
vimb/queue
Normal file
0
vimb/search
Normal file
0
vimb/search
Normal file
94
weston.ini
Normal file
94
weston.ini
Normal file
|
@ -0,0 +1,94 @@
|
|||
#~/.config/weston.ini
|
||||
|
||||
[core]
|
||||
# xwayland support
|
||||
modules=xwayland.so
|
||||
xwayland=true
|
||||
|
||||
[libinput]
|
||||
enable-tap=true
|
||||
|
||||
[shell]
|
||||
#background-image=/black/screen/is/enough
|
||||
background-type=scale-crop
|
||||
background-color=0xff000000
|
||||
#background-color=0xff002244
|
||||
#panel-color=0x90ff0000
|
||||
panel-color=0x00ffffff
|
||||
panel-position=top
|
||||
#clock-format=none
|
||||
#animation=zoom
|
||||
#startup-animation=none
|
||||
close-animation=none
|
||||
focus-animation=non
|
||||
#binding-modifier=ctrl
|
||||
num-workspaces=6
|
||||
locking=false
|
||||
cursor-theme=Adwaita
|
||||
cursor-size=24
|
||||
|
||||
# tablet options
|
||||
#lockscreen-icon=/usr/share/icons/gnome/256x256/actions/lock.png
|
||||
#lockscreen=/usr/share/backgrounds/gnome/Garden.jpg
|
||||
#homescreen=/usr/share/backgrounds/gnome/Blinds.jpg
|
||||
#animation=fade
|
||||
|
||||
# for Laptop displays
|
||||
[output]
|
||||
name=LVDS1
|
||||
mode=preferred
|
||||
#mode=1680x1050
|
||||
#transform=90
|
||||
|
||||
#[output]
|
||||
#name=VGA1
|
||||
# The following sets the mode with a modeline, you can get modelines for your preffered resolutions using the cvt utility
|
||||
#mode=173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
|
||||
#transform=flipped
|
||||
|
||||
#[output]
|
||||
#name=X1
|
||||
#mode=1024x768
|
||||
#transform=flipped-270
|
||||
|
||||
# on screen keyboard input method
|
||||
#[input-method]
|
||||
#path=/usr/lib/weston/weston-keyboard
|
||||
|
||||
[keyboard]
|
||||
keymap_rules=evdev
|
||||
keymap_layout=us,ru
|
||||
keymap_variant=dvorak,
|
||||
keymap_options=grp:alt_space_toggle
|
||||
#keymap_options=caps:ctrl_modifier,shift:both_capslock_cancel
|
||||
repeat-rate=60
|
||||
repeat-delay=300
|
||||
|
||||
# keymap_options from /usr/share/X11/xkb/rules/base.lst
|
||||
#numlock-on=true
|
||||
|
||||
[terminal]
|
||||
font=Consolas
|
||||
font-size=12
|
||||
|
||||
#[launcher]
|
||||
#icon=/usr/share/weston/icon_flower.png
|
||||
#path=/usr/bin/weston-flower
|
||||
|
||||
[launcher]
|
||||
icon=/usr/share/icons/gnome/32x32/apps/utilities-terminal.png
|
||||
path=/usr/bin/weston-terminal --shell=/usr/bin/bash
|
||||
|
||||
#[launcher]
|
||||
#icon=/usr/share/icons/gnome/32x32/apps/utilities-terminal.png
|
||||
#path=/usr/bin/gnome-terminal
|
||||
|
||||
[launcher]
|
||||
icon=/usr/share/icons/hicolor/32x32/apps/firefox.png
|
||||
path=MOZ_GTK_TITLEBAR_DECORATION=client /usr/bin/firefox
|
||||
|
||||
#[launcher]
|
||||
#icon=/usr/share/icons/Adwaita/32x32/apps/multimedia-volume-control.png
|
||||
#path=/usr/bin/st alsamixer -c0
|
||||
|
||||
|
1
xinitrc
Normal file
1
xinitrc
Normal file
|
@ -0,0 +1 @@
|
|||
exec $@
|
5
xmodmap
Normal file
5
xmodmap
Normal file
|
@ -0,0 +1,5 @@
|
|||
remove Lock = Caps_Lock
|
||||
keysym Escape = Caps_Lock
|
||||
keysym Escape = Caps_Lock
|
||||
keysym Caps_Lock = Escape
|
||||
add Lock = Caps_Lock
|
69
xresources
Normal file
69
xresources
Normal file
|
@ -0,0 +1,69 @@
|
|||
*utf8Title : true
|
||||
*utf8 : 2
|
||||
*locale : true
|
||||
*faceName : Consolas
|
||||
*.font: Consolas:pixelsize=12:antialias=true:autohint=true
|
||||
*.boldFont : Consolas:pixelsize=12:antialias=true:autohint=true:weight=bold
|
||||
*.italicFont : Consolas:pixelsize=12:antialias=true:autohint=true:slant=italic
|
||||
*faceSize : 10
|
||||
*fontSize : 10
|
||||
*.alternateScroll: false
|
||||
*.vt100.geometry: 80x30
|
||||
*eightBitInput: true
|
||||
*metaSendsEscape: true
|
||||
xterm*boldMode: true
|
||||
*dynamicColors: on
|
||||
*colorMode: on
|
||||
*saveLines: 10000
|
||||
*visualBell: false
|
||||
*.bellIsUrgent: false
|
||||
*cursorBlink: false
|
||||
*.metaSendsEscape: true
|
||||
|
||||
*background : rgb:00/00/00
|
||||
*foreground : rgb:FF/FF/FF
|
||||
*cursorColor : rgb:FF/FF/FF
|
||||
! Black.
|
||||
*color0 : rgb:00/00/00
|
||||
*color8 : rgb:66/66/66
|
||||
! Red.
|
||||
*color1 : rgb:DD/22/22
|
||||
*color9 : rgb:FF/00/00
|
||||
|
||||
! Green.
|
||||
*color2 : rgb:67/E3/00
|
||||
*color10 : rgb:A9/F1/6C
|
||||
! Yellow.
|
||||
*color3 : rgb:F7/FF/00
|
||||
*color11 : rgb:EB/F2/2C
|
||||
! Blue.
|
||||
*color4 : rgb:51/90/D0
|
||||
*color12 : rgb:34/6A/A1
|
||||
! Madgenta.
|
||||
*color5 : rgb:FF/6E/00
|
||||
*color13 : rgb:DE/60/00
|
||||
! Cyan.
|
||||
*color6 : rgb:00/FF/FF
|
||||
*color14 : rgb:17/FF/FF
|
||||
! White.
|
||||
*color7 : rgb:DD/DD/DD
|
||||
*color15 : rgb:FF/FF/FF
|
||||
|
||||
|
||||
! }}} # xterm, urxvt and other terminals that use Xresources.
|
||||
|
||||
! prog yeahconsole {{{
|
||||
yeahconsole*term : st
|
||||
yeahconsole*transparent : false
|
||||
!yeahconsole*shading : 70
|
||||
yeahconsole*consoleHeight : 25
|
||||
!yeahconsole*screenWidth : default(display width)
|
||||
!yeahconsole*xOffset : defalt(0)
|
||||
yeahconsole*toggleKey : None+F12
|
||||
yeahconsole*restart : 1
|
||||
yeahconsole*keyFull : None+F11
|
||||
yeahconsole*keySmaller : None+F10
|
||||
yeahconsole*keyBigger: None+F9
|
||||
yeahconsole*aniDelay : 5
|
||||
yeahconsole*externalBorder : 1
|
||||
! }}} # yeahconsole
|
0
xsrf/script.js
Normal file
0
xsrf/script.js
Normal file
1
xsrf/styles/default.css
Normal file
1
xsrf/styles/default.css
Normal file
|
@ -0,0 +1 @@
|
|||
|
Loading…
Reference in a new issue