moving all dots
3
dot_config/awesome/btheme/README
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
Background images:
|
||||
Mikael Eriksson <mikael_eriksson@miffe.org>
|
||||
Licensed under CC-BY-SA-3.0
|
||||
BIN
dot_config/awesome/btheme/background.png
Normal file
|
After Width: | Height: | Size: 218 KiB |
BIN
dot_config/awesome/btheme/background_white.png
Normal file
|
After Width: | Height: | Size: 262 KiB |
BIN
dot_config/awesome/btheme/layouts/dwindle.png
Normal file
|
After Width: | Height: | Size: 967 B |
BIN
dot_config/awesome/btheme/layouts/dwindlew.png
Normal file
|
After Width: | Height: | Size: 997 B |
BIN
dot_config/awesome/btheme/layouts/fairh.png
Normal file
|
After Width: | Height: | Size: 150 B |
BIN
dot_config/awesome/btheme/layouts/fairhw.png
Normal file
|
After Width: | Height: | Size: 150 B |
BIN
dot_config/awesome/btheme/layouts/fairv.png
Normal file
|
After Width: | Height: | Size: 158 B |
BIN
dot_config/awesome/btheme/layouts/fairvw.png
Normal file
|
After Width: | Height: | Size: 158 B |
BIN
dot_config/awesome/btheme/layouts/floating.png
Normal file
|
After Width: | Height: | Size: 395 B |
BIN
dot_config/awesome/btheme/layouts/floatingw.png
Normal file
|
After Width: | Height: | Size: 388 B |
BIN
dot_config/awesome/btheme/layouts/fullscreen.png
Normal file
|
After Width: | Height: | Size: 153 B |
BIN
dot_config/awesome/btheme/layouts/fullscreenw.png
Normal file
|
After Width: | Height: | Size: 153 B |
BIN
dot_config/awesome/btheme/layouts/magnifier.png
Normal file
|
After Width: | Height: | Size: 160 B |
BIN
dot_config/awesome/btheme/layouts/magnifierw.png
Normal file
|
After Width: | Height: | Size: 160 B |
BIN
dot_config/awesome/btheme/layouts/max.png
Normal file
|
After Width: | Height: | Size: 254 B |
BIN
dot_config/awesome/btheme/layouts/maxw.png
Normal file
|
After Width: | Height: | Size: 254 B |
BIN
dot_config/awesome/btheme/layouts/spiral.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
dot_config/awesome/btheme/layouts/spiralw.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
dot_config/awesome/btheme/layouts/tile.png
Normal file
|
After Width: | Height: | Size: 174 B |
BIN
dot_config/awesome/btheme/layouts/tilebottom.png
Normal file
|
After Width: | Height: | Size: 150 B |
BIN
dot_config/awesome/btheme/layouts/tilebottomw.png
Normal file
|
After Width: | Height: | Size: 165 B |
BIN
dot_config/awesome/btheme/layouts/tileleft.png
Normal file
|
After Width: | Height: | Size: 172 B |
BIN
dot_config/awesome/btheme/layouts/tileleftw.png
Normal file
|
After Width: | Height: | Size: 170 B |
BIN
dot_config/awesome/btheme/layouts/tiletop.png
Normal file
|
After Width: | Height: | Size: 152 B |
BIN
dot_config/awesome/btheme/layouts/tiletopw.png
Normal file
|
After Width: | Height: | Size: 164 B |
BIN
dot_config/awesome/btheme/layouts/tilew.png
Normal file
|
After Width: | Height: | Size: 168 B |
BIN
dot_config/awesome/btheme/submenu.png
Normal file
|
After Width: | Height: | Size: 370 B |
BIN
dot_config/awesome/btheme/taglist/squarefw.png
Normal file
|
After Width: | Height: | Size: 86 B |
BIN
dot_config/awesome/btheme/taglist/squarew.png
Normal file
|
After Width: | Height: | Size: 92 B |
BIN
dot_config/awesome/btheme/tasklist/floating.png
Normal file
|
After Width: | Height: | Size: 345 B |
BIN
dot_config/awesome/btheme/tasklist/floatingw.png
Normal file
|
After Width: | Height: | Size: 334 B |
99
dot_config/awesome/btheme/theme.lua
Normal file
|
|
@ -0,0 +1,99 @@
|
|||
------------------------------------------
|
||||
-- Barak's Almost-Default awesome theme --
|
||||
------------------------------------------
|
||||
home = os.getenv("HOME")
|
||||
confdir = home .. "/.config/awesome"
|
||||
themedir = confdir .. "/btheme"
|
||||
|
||||
theme = {}
|
||||
|
||||
theme.font = "Ubuntu 11"
|
||||
|
||||
theme.bg_normal = "#222222c0"
|
||||
theme.bg_focus = "#535d6ca0"
|
||||
theme.bg_urgent = "#ff0000"
|
||||
theme.bg_minimize = "#444444"
|
||||
|
||||
theme.fg_normal = "#aaaaaa"
|
||||
theme.fg_focus = "#ffffff"
|
||||
theme.fg_urgent = "#ffffff"
|
||||
theme.fg_minimize = "#ffffff"
|
||||
|
||||
theme.border_width = "2"
|
||||
theme.border_normal = "#222222"
|
||||
theme.border_focus = "#00bfff"
|
||||
theme.border_marked = "#91231c"
|
||||
|
||||
-- There are other variable sets
|
||||
-- overriding the default one when
|
||||
-- defined, the sets are:
|
||||
-- [taglist|tasklist]_[bg|fg]_[focus|urgent]
|
||||
-- titlebar_[bg|fg]_[normal|focus]
|
||||
-- tooltip_[font|opacity|fg_color|bg_color|border_width|border_color]
|
||||
-- mouse_finder_[color|timeout|animate_timeout|radius|factor]
|
||||
-- Example:
|
||||
--theme.taglist_bg_focus = "#ff0000"
|
||||
|
||||
-- Display the taglist squares
|
||||
theme.taglist_squares_sel = themedir .. "/taglist/squarefw.png"
|
||||
theme.taglist_squares_unsel = themedir .. "/taglist/squarew.png"
|
||||
|
||||
theme.tasklist_floating_icon = themedir .. "/tasklist/floatingw.png"
|
||||
|
||||
-- Variables set for theming the menu:
|
||||
-- menu_[bg|fg]_[normal|focus]
|
||||
-- menu_[border_color|border_width]
|
||||
theme.menu_submenu_icon = confdir .. "/submenu.png"
|
||||
theme.menu_height = "24"
|
||||
theme.menu_width = "100"
|
||||
|
||||
-- You can add as many variables as
|
||||
-- you wish and access them by using
|
||||
-- beautiful.variable in your rc.lua
|
||||
--theme.bg_widget = "#cc0000"
|
||||
|
||||
-- Define the image to load
|
||||
theme.titlebar_close_button_normal = themedir .. "/titlebar/close_normal.png"
|
||||
theme.titlebar_close_button_focus = themedir .. "/titlebar/close_focus.png"
|
||||
|
||||
theme.titlebar_ontop_button_normal_inactive = themedir .. "/titlebar/ontop_normal_inactive.png"
|
||||
theme.titlebar_ontop_button_focus_inactive = themedir .. "/titlebar/ontop_focus_inactive.png"
|
||||
theme.titlebar_ontop_button_normal_active = themedir .. "/titlebar/ontop_normal_active.png"
|
||||
theme.titlebar_ontop_button_focus_active = themedir .. "/titlebar/ontop_focus_active.png"
|
||||
|
||||
theme.titlebar_sticky_button_normal_inactive = themedir .. "/titlebar/sticky_normal_inactive.png"
|
||||
theme.titlebar_sticky_button_focus_inactive = themedir .. "/titlebar/sticky_focus_inactive.png"
|
||||
theme.titlebar_sticky_button_normal_active = themedir .. "/titlebar/sticky_normal_active.png"
|
||||
theme.titlebar_sticky_button_focus_active = themedir .. "/titlebar/sticky_focus_active.png"
|
||||
|
||||
theme.titlebar_floating_button_normal_inactive = themedir .. "/titlebar/floating_normal_inactive.png"
|
||||
theme.titlebar_floating_button_focus_inactive = themedir .. "/titlebar/floating_focus_inactive.png"
|
||||
theme.titlebar_floating_button_normal_active = themedir .. "/titlebar/floating_normal_active.png"
|
||||
theme.titlebar_floating_button_focus_active = themedir .. "/titlebar/floating_focus_active.png"
|
||||
|
||||
theme.titlebar_maximized_button_normal_inactive = themedir .. "/titlebar/maximized_normal_inactive.png"
|
||||
theme.titlebar_maximized_button_focus_inactive = themedir .. "/titlebar/maximized_focus_inactive.png"
|
||||
theme.titlebar_maximized_button_normal_active = themedir .. "/titlebar/maximized_normal_active.png"
|
||||
theme.titlebar_maximized_button_focus_active = themedir .. "/titlebar/maximized_focus_active.png"
|
||||
|
||||
-- You can use your own command to set your wallpaper
|
||||
theme.wallpaper_cmd = { }
|
||||
|
||||
-- You can use your own layout icons like this:
|
||||
theme.layout_fairh = themedir .. "/layouts/fairhw.png"
|
||||
theme.layout_fairv = themedir .. "/layouts/fairvw.png"
|
||||
theme.layout_floating = themedir .. "/layouts/floatingw.png"
|
||||
theme.layout_magnifier = themedir .. "/layouts/magnifierw.png"
|
||||
theme.layout_max = themedir .. "/layouts/maxw.png"
|
||||
theme.layout_fullscreen = themedir .. "/layouts/fullscreenw.png"
|
||||
theme.layout_tilebottom = themedir .. "/layouts/tilebottomw.png"
|
||||
theme.layout_tileleft = themedir .. "/layouts/tileleftw.png"
|
||||
theme.layout_tile = themedir .. "/layouts/tilew.png"
|
||||
theme.layout_tiletop = themedir .. "/layouts/tiletopw.png"
|
||||
theme.layout_spiral = themedir .. "/layouts/spiralw.png"
|
||||
theme.layout_dwindle = themedir .. "/layouts/dwindlew.png"
|
||||
|
||||
theme.awesome_icon = "/usr/share/awesome/icons/awesome16.png"
|
||||
|
||||
return theme
|
||||
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=80
|
||||
BIN
dot_config/awesome/btheme/titlebar/close_focus.png
Normal file
|
After Width: | Height: | Size: 619 B |
BIN
dot_config/awesome/btheme/titlebar/close_normal.png
Normal file
|
After Width: | Height: | Size: 658 B |
BIN
dot_config/awesome/btheme/titlebar/floating_focus_active.png
Normal file
|
After Width: | Height: | Size: 521 B |
BIN
dot_config/awesome/btheme/titlebar/floating_focus_inactive.png
Normal file
|
After Width: | Height: | Size: 550 B |
BIN
dot_config/awesome/btheme/titlebar/floating_normal_active.png
Normal file
|
After Width: | Height: | Size: 667 B |
BIN
dot_config/awesome/btheme/titlebar/floating_normal_inactive.png
Normal file
|
After Width: | Height: | Size: 541 B |
BIN
dot_config/awesome/btheme/titlebar/maximized_focus_active.png
Normal file
|
After Width: | Height: | Size: 953 B |
BIN
dot_config/awesome/btheme/titlebar/maximized_focus_inactive.png
Normal file
|
After Width: | Height: | Size: 720 B |
BIN
dot_config/awesome/btheme/titlebar/maximized_normal_active.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
dot_config/awesome/btheme/titlebar/maximized_normal_inactive.png
Normal file
|
After Width: | Height: | Size: 722 B |
BIN
dot_config/awesome/btheme/titlebar/ontop_focus_active.png
Normal file
|
After Width: | Height: | Size: 715 B |
BIN
dot_config/awesome/btheme/titlebar/ontop_focus_inactive.png
Normal file
|
After Width: | Height: | Size: 657 B |
BIN
dot_config/awesome/btheme/titlebar/ontop_normal_active.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
dot_config/awesome/btheme/titlebar/ontop_normal_inactive.png
Normal file
|
After Width: | Height: | Size: 655 B |
BIN
dot_config/awesome/btheme/titlebar/sticky_focus_active.png
Normal file
|
After Width: | Height: | Size: 833 B |
BIN
dot_config/awesome/btheme/titlebar/sticky_focus_inactive.png
Normal file
|
After Width: | Height: | Size: 590 B |
BIN
dot_config/awesome/btheme/titlebar/sticky_normal_active.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
dot_config/awesome/btheme/titlebar/sticky_normal_inactive.png
Normal file
|
After Width: | Height: | Size: 603 B |
497
dot_config/awesome/rc.lua
Normal file
|
|
@ -0,0 +1,497 @@
|
|||
-- Standard awesome library
|
||||
require("awful")
|
||||
require("awful.autofocus")
|
||||
require("awful.rules")
|
||||
require("awful.util")
|
||||
-- Theme handling library
|
||||
require("beautiful")
|
||||
-- Notification library
|
||||
require("naughty")
|
||||
vicious = require("vicious")
|
||||
|
||||
-- {{{ 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.add_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 = err })
|
||||
in_error = false
|
||||
end)
|
||||
end
|
||||
-- }}}
|
||||
--
|
||||
-- Paths
|
||||
--
|
||||
home = os.getenv("HOME")
|
||||
confdir = home .. "/.config/awesome"
|
||||
|
||||
--
|
||||
-- {{{ Variable definitions
|
||||
-- Themes define colours, icons, and wallpapers
|
||||
--beautiful.init("/usr/share/awesome/themes/default/theme.lua")
|
||||
beautiful.init(confdir .. "/btheme/theme.lua")
|
||||
--beautiful.border_width = "2"
|
||||
--beautiful.border_normal = "#222222"
|
||||
--beautiful.border_focus = "#00bfff"
|
||||
--beautiful.font = "sans 12"
|
||||
naughty.config.default_preset.font = "Inconsolata 22"
|
||||
|
||||
-- This is used later as the default terminal and editor to run.
|
||||
terminal = home .. "/bin/run_terminal"
|
||||
editor = os.getenv("EDITOR") or "vim"
|
||||
editor_cmd = terminal .. " -e " .. editor
|
||||
browser = home .. "/bin/run_browser"
|
||||
|
||||
-- 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 = "Mod1"
|
||||
|
||||
bar_height = 24
|
||||
|
||||
-- Table of layouts to cover with awful.layout.inc, order matters.
|
||||
layouts =
|
||||
{
|
||||
awful.layout.suit.tile,
|
||||
awful.layout.suit.tile.left,
|
||||
awful.layout.suit.tile.bottom,
|
||||
awful.layout.suit.tile.top,
|
||||
awful.layout.suit.floating,
|
||||
--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
|
||||
}
|
||||
-- }}}
|
||||
|
||||
-- {{{ Tags
|
||||
-- Define a tag table which hold all screen tags.
|
||||
tags = {}
|
||||
for s = 1, screen.count() do
|
||||
-- Each screen has its own tag table.
|
||||
tags[s] = awful.tag({ 1, 2, 3, 4, 5, 6, 7, 8, 9 }, s, layouts[1])
|
||||
end
|
||||
-- }}}
|
||||
|
||||
spacer = widget({type = "textbox"})
|
||||
separator = widget({type = "textbox"})
|
||||
spacer.text = " "
|
||||
separator.text = "|"
|
||||
-- Execute command and return its output. You probably won't only execute commands with one
|
||||
-- line of output
|
||||
function execute_command(command)
|
||||
local fh = io.popen(command)
|
||||
local str = ""
|
||||
for i in fh:lines() do
|
||||
str = str .. i
|
||||
end
|
||||
io.close(fh)
|
||||
return str
|
||||
end
|
||||
|
||||
pom = widget({type = "textbox"})
|
||||
pom.text = " " .. execute_command("~/src/tpom/tpom") .. " "
|
||||
pomtimer = timer({ timeout = 1})
|
||||
pomtimer:add_signal("timeout", function()
|
||||
pom.text = " " .. execute_command("~/src/tpom/tpom") .. " "
|
||||
end)
|
||||
pomtimer:start()
|
||||
|
||||
-- {{{ Menu
|
||||
-- Create a laucher widget and a main menu
|
||||
myawesomemenu = {
|
||||
{ "manual", terminal .. " -e man awesome" },
|
||||
{ "edit config", editor_cmd .. " " .. awesome.conffile },
|
||||
{ "restart", awesome.restart },
|
||||
{ "quit", awesome.quit }
|
||||
}
|
||||
|
||||
mymainmenu = awful.menu({ items = { { "awesome", myawesomemenu, beautiful.awesome_icon },
|
||||
{ "open terminal", terminal }
|
||||
}
|
||||
})
|
||||
|
||||
mylauncher = awful.widget.launcher({ image = image(beautiful.awesome_icon),
|
||||
menu = mymainmenu })
|
||||
-- }}}
|
||||
|
||||
-- {{{ Wibox
|
||||
-- Create a textclock widget
|
||||
mytextclock = awful.widget.textclock({ align = "right" })
|
||||
|
||||
-- Create a systray
|
||||
mysystray = widget({ type = "systray" })
|
||||
|
||||
-- CPU usage widget
|
||||
cpuwidget = awful.widget.graph()
|
||||
cpuwidget:set_width(50)
|
||||
cpuwidget:set_height(bar_height)
|
||||
cpuwidget:set_background_color("#494B4F")
|
||||
cpuwidget:set_color("#FF5656")
|
||||
cpuwidget:set_gradient_colors({ "#FF5656", "#88A175", "#AECF96" })
|
||||
|
||||
cpuwidget_t = awful.tooltip({ objects = { cpuwidget.widget },})
|
||||
|
||||
-- {{{ Battery state
|
||||
-- Initialize widget
|
||||
batwidget = awful.widget.progressbar()
|
||||
batwidget:set_width(8)
|
||||
batwidget:set_height(bar_height)
|
||||
batwidget:set_vertical(true)
|
||||
batwidget:set_background_color("#494B4F")
|
||||
batwidget:set_border_color(nil)
|
||||
batwidget:set_color("#FF5656")
|
||||
batwidget:set_gradient_colors({'#FF5656' , '#88A175', '#AECF96' })
|
||||
|
||||
batwidget_t = awful.tooltip({ objects = { batwidget.widget },})
|
||||
|
||||
-- {{{ Battery state
|
||||
-- Initialize widget
|
||||
vicious.register(batwidget, vicious.widgets.bat,
|
||||
function (widget, args)
|
||||
if args[1] == '-' then
|
||||
batwidget_t:set_text("Battery: " .. args[2] .. "%")
|
||||
elseif args[1] == "+" then
|
||||
batwidget_t:set_text("Charging: " .. args[2] .. "%")
|
||||
else
|
||||
batwidget_t:set_text("Unknown ".. args[1] .. " " .. args[2] .. "%")
|
||||
end
|
||||
return args[2]
|
||||
end , 120, "BAT0")
|
||||
|
||||
-- Register CPU widget
|
||||
vicious.register(cpuwidget, vicious.widgets.cpu,
|
||||
function (widget, args)
|
||||
cpuwidget_t:set_text("CPU Usage: " .. args[1] .. "%")
|
||||
return args[1]
|
||||
end)
|
||||
|
||||
-- RAM usage widget
|
||||
memwidget = awful.widget.progressbar()
|
||||
memwidget:set_width(15)
|
||||
memwidget:set_height(bar_height)
|
||||
memwidget:set_vertical(true)
|
||||
memwidget:set_background_color('#494B4F')
|
||||
memwidget:set_color('#AECF96')
|
||||
memwidget:set_gradient_colors({ '#AECF96', '#88A175', '#FF5656' })
|
||||
|
||||
-- RAM usage tooltip
|
||||
memwidget_t = awful.tooltip({ objects = { memwidget.widget },})
|
||||
|
||||
vicious.cache(vicious.widgets.mem)
|
||||
vicious.register(memwidget, vicious.widgets.mem,
|
||||
function (widget, args)
|
||||
memwidget_t:set_text(" RAM: " .. args[2] .. "MB / " .. args[3] .. "MB ")
|
||||
return args[1]
|
||||
end, 13)
|
||||
--update every 13 seconds
|
||||
|
||||
-- Create a wibox for each screen and add it
|
||||
mywibox = {}
|
||||
mypromptbox = {}
|
||||
mylayoutbox = {}
|
||||
mytaglist = {}
|
||||
mytaglist.buttons = awful.util.table.join(
|
||||
awful.button({ }, 1, awful.tag.viewonly),
|
||||
awful.button({ modkey }, 1, awful.client.movetotag),
|
||||
awful.button({ }, 3, awful.tag.viewtoggle),
|
||||
awful.button({ modkey }, 3, awful.client.toggletag),
|
||||
awful.button({ }, 4, awful.tag.viewnext),
|
||||
awful.button({ }, 5, awful.tag.viewprev)
|
||||
)
|
||||
mytasklist = {}
|
||||
mytasklist.buttons = awful.util.table.join(
|
||||
awful.button({ }, 1, function (c)
|
||||
if c == client.focus then
|
||||
c.minimized = true
|
||||
else
|
||||
if not c:isvisible() then
|
||||
awful.tag.viewonly(c:tags()[1])
|
||||
end
|
||||
-- This will also un-minimize
|
||||
-- the client, if needed
|
||||
client.focus = c
|
||||
c:raise()
|
||||
end
|
||||
end),
|
||||
awful.button({ }, 3, function ()
|
||||
if instance then
|
||||
instance:hide()
|
||||
instance = nil
|
||||
else
|
||||
instance = awful.menu.clients({ width=250 })
|
||||
end
|
||||
end),
|
||||
awful.button({ }, 4, function ()
|
||||
awful.client.focus.byidx(1)
|
||||
if client.focus then client.focus:raise() end
|
||||
end),
|
||||
awful.button({ }, 5, function ()
|
||||
awful.client.focus.byidx(-1)
|
||||
if client.focus then client.focus:raise() end
|
||||
end))
|
||||
|
||||
for s = 1, screen.count() do
|
||||
-- Create a promptbox for each screen
|
||||
mypromptbox[s] = awful.widget.prompt({ layout = awful.widget.layout.horizontal.leftright })
|
||||
-- Create an imagebox widget which will contains an icon indicating which layout we're using.
|
||||
-- We need one layoutbox per screen.
|
||||
mylayoutbox[s] = awful.widget.layoutbox(s)
|
||||
mylayoutbox[s]:buttons(awful.util.table.join(
|
||||
awful.button({ }, 1, function () awful.layout.inc(layouts, 1) end),
|
||||
awful.button({ }, 3, function () awful.layout.inc(layouts, -1) end),
|
||||
awful.button({ }, 4, function () awful.layout.inc(layouts, 1) end),
|
||||
awful.button({ }, 5, function () awful.layout.inc(layouts, -1) end)))
|
||||
-- Create a taglist widget
|
||||
mytaglist[s] = awful.widget.taglist(s, awful.widget.taglist.label.all, mytaglist.buttons)
|
||||
|
||||
-- Create a tasklist widget
|
||||
mytasklist[s] = awful.widget.tasklist(function(c)
|
||||
return awful.widget.tasklist.label.currenttags(c, s)
|
||||
end, mytasklist.buttons)
|
||||
|
||||
-- Create the wibox
|
||||
mywibox[s] = awful.wibox({ position = "top", height=""..bar_height, screen = s })
|
||||
-- Add widgets to the wibox - order matters
|
||||
mywibox[s].widgets = {
|
||||
{
|
||||
mylauncher,
|
||||
mytaglist[s],
|
||||
mypromptbox[s],
|
||||
layout = awful.widget.layout.horizontal.leftright
|
||||
},
|
||||
mylayoutbox[s],
|
||||
mytextclock,
|
||||
s == 1 and mysystray or nil,
|
||||
spacer,
|
||||
separator,
|
||||
spacer,
|
||||
batwidget.widget,
|
||||
spacer,
|
||||
separator,
|
||||
spacer,
|
||||
cpuwidget.widget,
|
||||
spacer,
|
||||
separator,
|
||||
spacer,
|
||||
memwidget.widget,
|
||||
spacer,
|
||||
separator,
|
||||
spacer,
|
||||
pom,
|
||||
mytasklist[s],
|
||||
layout = awful.widget.layout.horizontal.rightleft
|
||||
}
|
||||
end
|
||||
-- }}}
|
||||
|
||||
-- {{{ Mouse bindings
|
||||
root.buttons(awful.util.table.join(
|
||||
awful.button({ }, 3, function () mymainmenu:toggle() end),
|
||||
awful.button({ }, 4, awful.tag.viewnext),
|
||||
awful.button({ }, 5, awful.tag.viewprev)
|
||||
))
|
||||
-- }}}
|
||||
|
||||
-- {{{ Key bindings
|
||||
globalkeys = awful.util.table.join(
|
||||
awful.key({ modkey }, "F12", function () awful.util.spawn("xscreensaver-command -lock") end),
|
||||
awful.key({ modkey, "Control" }, "p", function () awful.util.spawn(home .. "/src/tpom/tpom start -m 15") end),
|
||||
awful.key({ modkey, }, "Left", awful.tag.viewprev ),
|
||||
awful.key({ modkey, }, "Right", awful.tag.viewnext ),
|
||||
awful.key({ modkey, }, "Escape", awful.tag.history.restore),
|
||||
|
||||
awful.key({ modkey, }, "j",
|
||||
function ()
|
||||
awful.client.focus.byidx( 1)
|
||||
if client.focus then client.focus:raise() end
|
||||
end),
|
||||
awful.key({ modkey, }, "k",
|
||||
function ()
|
||||
awful.client.focus.byidx(-1)
|
||||
if client.focus then client.focus:raise() end
|
||||
end),
|
||||
awful.key({ modkey, }, "w", function () mymainmenu:show({keygrabber=true}) end),
|
||||
|
||||
-- Layout manipulation
|
||||
awful.key({ modkey, "Shift" }, "j", function () awful.client.swap.byidx( 1) end),
|
||||
awful.key({ modkey, "Shift" }, "k", function () awful.client.swap.byidx( -1) end),
|
||||
awful.key({ modkey, "Control" }, "j", function () awful.screen.focus_relative( 1) end),
|
||||
awful.key({ modkey, "Control" }, "k", function () awful.screen.focus_relative(-1) end),
|
||||
awful.key({ modkey, }, "u", awful.client.urgent.jumpto),
|
||||
awful.key({ modkey, }, "Tab",
|
||||
function ()
|
||||
awful.client.focus.history.previous()
|
||||
if client.focus then
|
||||
client.focus:raise()
|
||||
end
|
||||
end),
|
||||
|
||||
-- Standard program
|
||||
awful.key({ modkey, "Shift" }, "Return", function () awful.util.spawn(terminal) end),
|
||||
awful.key({ modkey, "Shift" }, ",", function () awful.util.spawn(browser) end),
|
||||
awful.key({ modkey, "Control" }, "r", awesome.restart),
|
||||
awful.key({ modkey, "Shift" }, "q", awesome.quit),
|
||||
|
||||
awful.key({ modkey, }, "l", function () awful.tag.incmwfact( 0.05) end),
|
||||
awful.key({ modkey, }, "h", function () awful.tag.incmwfact(-0.05) end),
|
||||
awful.key({ modkey, "Shift" }, "h", function () awful.tag.incnmaster( 1) end),
|
||||
awful.key({ modkey, "Shift" }, "l", function () awful.tag.incnmaster(-1) end),
|
||||
awful.key({ modkey, "Control" }, "h", function () awful.tag.incncol( 1) end),
|
||||
awful.key({ modkey, "Control" }, "l", function () awful.tag.incncol(-1) end),
|
||||
awful.key({ modkey, }, "space", function () awful.layout.inc(layouts, 1) end),
|
||||
awful.key({ modkey, "Shift" }, "space", function () awful.layout.inc(layouts, -1) end),
|
||||
|
||||
awful.key({ modkey, "Control" }, "n", awful.client.restore),
|
||||
|
||||
-- Prompt
|
||||
awful.key({ modkey }, "r", function () mypromptbox[mouse.screen]:run() end),
|
||||
|
||||
awful.key({ modkey, "Shift" }, "x",
|
||||
function ()
|
||||
awful.prompt.run({ prompt = "Run Lua code: " },
|
||||
mypromptbox[mouse.screen].widget,
|
||||
awful.util.eval, nil,
|
||||
awful.util.getdir("cache") .. "/history_eval")
|
||||
end)
|
||||
)
|
||||
|
||||
clientkeys = awful.util.table.join(
|
||||
awful.key({ modkey, }, "f", function (c) c.fullscreen = not c.fullscreen end),
|
||||
awful.key({ modkey, "Shift" }, "c", function (c) c:kill() end),
|
||||
awful.key({ modkey, "Control" }, "space", awful.client.floating.toggle ),
|
||||
awful.key({ modkey, }, "Return", function (c) c:swap(awful.client.getmaster()) end),
|
||||
awful.key({ modkey, }, "o", awful.client.movetoscreen ),
|
||||
awful.key({ modkey, "Shift" }, "r", function (c) c:redraw() end),
|
||||
awful.key({ modkey, }, "t", function (c) c.ontop = not c.ontop end),
|
||||
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),
|
||||
awful.key({ modkey, }, "m",
|
||||
function (c)
|
||||
c.maximized_horizontal = not c.maximized_horizontal
|
||||
c.maximized_vertical = not c.maximized_vertical
|
||||
end)
|
||||
)
|
||||
|
||||
-- Compute the maximum number of digit we need, limited to 9
|
||||
keynumber = 0
|
||||
for s = 1, screen.count() do
|
||||
keynumber = math.min(9, math.max(#tags[s], keynumber));
|
||||
end
|
||||
|
||||
-- Bind all key numbers to tags.
|
||||
-- Be careful: we use keycodes to make it works on any keyboard layout.
|
||||
-- This should map on the top row of your keyboard, usually 1 to 9.
|
||||
for i = 1, keynumber do
|
||||
globalkeys = awful.util.table.join(globalkeys,
|
||||
awful.key({ modkey }, "#" .. i + 9,
|
||||
function ()
|
||||
local screen = mouse.screen
|
||||
if tags[screen][i] then
|
||||
awful.tag.viewonly(tags[screen][i])
|
||||
end
|
||||
end),
|
||||
awful.key({ modkey, "Control" }, "#" .. i + 9,
|
||||
function ()
|
||||
local screen = mouse.screen
|
||||
if tags[screen][i] then
|
||||
awful.tag.viewtoggle(tags[screen][i])
|
||||
end
|
||||
end),
|
||||
awful.key({ modkey, "Shift" }, "#" .. i + 9,
|
||||
function ()
|
||||
if client.focus and tags[client.focus.screen][i] then
|
||||
awful.client.movetotag(tags[client.focus.screen][i])
|
||||
end
|
||||
end),
|
||||
awful.key({ modkey, "Control", "Shift" }, "#" .. i + 9,
|
||||
function ()
|
||||
if client.focus and tags[client.focus.screen][i] then
|
||||
awful.client.toggletag(tags[client.focus.screen][i])
|
||||
end
|
||||
end))
|
||||
end
|
||||
|
||||
clientbuttons = awful.util.table.join(
|
||||
awful.button({ }, 1, function (c) client.focus = c; c:raise() end),
|
||||
awful.button({ modkey }, 1, awful.mouse.client.move),
|
||||
awful.button({ modkey }, 3, awful.mouse.client.resize))
|
||||
|
||||
-- Set keys
|
||||
root.keys(globalkeys)
|
||||
-- }}}
|
||||
|
||||
-- {{{ Rules
|
||||
awful.rules.rules = {
|
||||
-- All clients will match this rule.
|
||||
{ rule = { },
|
||||
properties = { border_width = beautiful.border_width,
|
||||
border_color = beautiful.border_normal,
|
||||
focus = true,
|
||||
keys = clientkeys,
|
||||
buttons = clientbuttons } },
|
||||
{ rule = { class = "MPlayer" },
|
||||
properties = { floating = true } },
|
||||
{ rule = { class = "pinentry" },
|
||||
properties = { floating = true } },
|
||||
{ rule = { class = "gimp" },
|
||||
properties = { floating = true } },
|
||||
-- Set Firefox to always map on tags number 2 of screen 1.
|
||||
-- { rule = { class = "Firefox" },
|
||||
-- properties = { tag = tags[1][2] } },
|
||||
}
|
||||
-- }}}
|
||||
|
||||
-- {{{ Signals
|
||||
-- Signal function to execute when a new client appears.
|
||||
client.add_signal("manage", function (c, startup)
|
||||
-- Add a titlebar
|
||||
-- awful.titlebar.add(c, { modkey = modkey })
|
||||
|
||||
-- Enable sloppy focus
|
||||
c:add_signal("mouse::enter", function(c)
|
||||
if awful.layout.get(c.screen) ~= awful.layout.suit.magnifier
|
||||
and awful.client.focus.filter(c) then
|
||||
client.focus = c
|
||||
end
|
||||
end)
|
||||
|
||||
if not startup then
|
||||
-- Set the windows at the slave,
|
||||
-- i.e. put it at the end of others instead of setting it master.
|
||||
-- awful.client.setslave(c)
|
||||
|
||||
-- Put windows in a smart way, only if they does not set an initial position.
|
||||
if not c.size_hints.user_position and not c.size_hints.program_position then
|
||||
awful.placement.no_overlap(c)
|
||||
awful.placement.no_offscreen(c)
|
||||
end
|
||||
end
|
||||
end)
|
||||
|
||||
client.add_signal("focus", function(c) c.border_color = beautiful.border_focus end)
|
||||
client.add_signal("unfocus", function(c) c.border_color = beautiful.border_normal end)
|
||||
-- }}}
|
||||
11
dot_config/coc/extensions/package.json
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"dependencies": {
|
||||
"coc-json": ">=1.3.4",
|
||||
"coc-pyright": ">=1.1.129",
|
||||
"coc-rust-analyzer": ">=0.32.0",
|
||||
"coc-snippets": ">=2.4.1",
|
||||
"coc-svelte": ">=0.2.2",
|
||||
"coc-tsserver": ">=1.7.0",
|
||||
"coc-ultisnips": ">=1.2.3"
|
||||
}
|
||||
}
|
||||
1
dot_config/fish/.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
work.fish
|
||||
802
dot_config/fish/completions/cargo.fish
Normal file
2162
dot_config/fish/completions/git.fish
Normal file
174
dot_config/fish/completions/go.fish
Normal file
|
|
@ -0,0 +1,174 @@
|
|||
# go is a tool for managing Go source code.
|
||||
# See: https://golang.org
|
||||
|
||||
# Completions for go build commands
|
||||
set -l __go_cmds_w_buildflags build get install run test generate
|
||||
complete -c go -n "__fish_seen_subcommand_from $__go_cmds_w_buildflags" -s a -d 'force rebuild'
|
||||
complete -c go -n "__fish_seen_subcommand_from $__go_cmds_w_buildflags" -s n -d 'print the commands but do not run them'
|
||||
complete -c go -n "__fish_seen_subcommand_from $__go_cmds_w_buildflags" -s p -r -d 'number parallel builds (default=#cpus)'
|
||||
complete -c go -n "__fish_seen_subcommand_from $__go_cmds_w_buildflags" -o race -d 'enable data race detection'
|
||||
complete -c go -n "__fish_seen_subcommand_from $__go_cmds_w_buildflags" -o msan -d 'enable interoperation with memory sanitizer'
|
||||
complete -c go -n "__fish_seen_subcommand_from $__go_cmds_w_buildflags" -s v -d 'print packages being built'
|
||||
complete -c go -n "__fish_seen_subcommand_from $__go_cmds_w_buildflags" -o work -d 'print and preserve work directory'
|
||||
complete -c go -n "__fish_seen_subcommand_from $__go_cmds_w_buildflags" -s x -d 'print the commands'
|
||||
complete -c go -n "__fish_seen_subcommand_from $__go_cmds_w_buildflags" -o asmflags -d 'arguments to pass on each go tool asm invocation'
|
||||
complete -c go -n "__fish_seen_subcommand_from $__go_cmds_w_buildflags" -o buildmode -x -d 'build mode to use' -a 'archive c-archive c-shared default shared exe pie plugin'
|
||||
complete -c go -n "__fish_seen_subcommand_from $__go_cmds_w_buildflags" -o compiler -x -d 'name of compiler to use, as in runtime' -a 'gccgo gc'
|
||||
complete -c go -n "__fish_seen_subcommand_from $__go_cmds_w_buildflags" -o gccgoflags -r -d 'gccgo compiler/linker flags'
|
||||
complete -c go -n "__fish_seen_subcommand_from $__go_cmds_w_buildflags" -o gcflags -r -d 'go compiler flags'
|
||||
complete -c go -n "__fish_seen_subcommand_from $__go_cmds_w_buildflags" -o installsuffix -r -d 'suffix for installation directory'
|
||||
complete -c go -n "__fish_seen_subcommand_from $__go_cmds_w_buildflags" -o ldflags -r -d 'linker flags'
|
||||
complete -c go -n "__fish_seen_subcommand_from $__go_cmds_w_buildflags" -o linkshared -r -d 'link against shared libraries previously created with -buildmode=shared'
|
||||
complete -c go -n "__fish_seen_subcommand_from $__go_cmds_w_buildflags" -o mod -x -d 'module download mode to use' -a 'readonly vendor mod'
|
||||
complete -c go -n "__fish_seen_subcommand_from $__go_cmds_w_buildflags" -o modcacherw -d 'leave newly-created directories in the module cache writable'
|
||||
complete -c go -n "__fish_seen_subcommand_from $__go_cmds_w_buildflags" -o modfile -r -d 'read (and possibly write) an alternate go.mod'
|
||||
complete -c go -n "__fish_seen_subcommand_from $__go_cmds_w_buildflags" -o pkgdir -r -d 'install and load all packages from dir instead of the usual locations'
|
||||
complete -c go -n "__fish_seen_subcommand_from $__go_cmds_w_buildflags" -o tags -r -d 'build tags'
|
||||
complete -c go -n "__fish_seen_subcommand_from $__go_cmds_w_buildflags" -o trimpath -d 'remove all file system paths from the resulting executable'
|
||||
complete -c go -n "__fish_seen_subcommand_from $__go_cmds_w_buildflags" -o toolexec -r -d 'a program to use to invoke toolchain programs'
|
||||
complete -c go -n "__fish_seen_subcommand_from $__go_cmds_w_buildflags" -o mod -x -d 'module download mode to use' -a 'readonly vendor'
|
||||
|
||||
|
||||
# Completions for go cmds that takes file arguments
|
||||
complete -c go -n "__fish_seen_subcommand_from build compile fix fmt install test vet" -k -x -a "(
|
||||
__fish_complete_suffix .go
|
||||
)" --description File
|
||||
|
||||
# Completions for go cmds that takes pkg arguments
|
||||
complete -c go -n "__fish_seen_subcommand_from build doc fix fmt install test vet" -x -a "(
|
||||
go list -e -f '{{.ImportPath}} {{or .Doc \"Go package\"}}' (commandline -ct)... 2>/dev/null
|
||||
)" --description Package
|
||||
|
||||
|
||||
# build
|
||||
complete -c go -n __fish_use_subcommand -a build -d 'compile packages and dependencies'
|
||||
|
||||
# clean
|
||||
complete -c go -n __fish_use_subcommand -a clean -d 'remove object files'
|
||||
complete -c go -n '__fish_seen_subcommand_from clean' -s i -d "remove the corresponding installed archive or binary"
|
||||
complete -c go -n '__fish_seen_subcommand_from clean' -s n -d "print the command that would be executed without running"
|
||||
complete -c go -n '__fish_seen_subcommand_from clean' -s r -d "recursively clean all the dependencies of package named by the import paths"
|
||||
complete -c go -n '__fish_seen_subcommand_from clean' -s x -d "clean to print remove commands as it executes them"
|
||||
complete -c go -n '__fish_seen_subcommand_from clean' -o cache -d 'remove the entire go build cache'
|
||||
complete -c go -n '__fish_seen_subcommand_from clean' -o testcache -d 'expire all test results in the go build cache'
|
||||
complete -c go -n '__fish_seen_subcommand_from clean' -o modcache -d 'remove the entire module download cache'
|
||||
|
||||
# doc
|
||||
complete -c go -n __fish_use_subcommand -a doc -d 'run godoc on package sources'
|
||||
complete -c go -n '__fish_seen_subcommand_from doc' -o all -d "show all the documentation for the package"
|
||||
complete -c go -n '__fish_seen_subcommand_from doc' -s c -d 'respect case when matching symbols'
|
||||
complete -c go -n '__fish_seen_subcommand_from doc' -o cmd -d 'treat a command (package main) like a regular package'
|
||||
complete -c go -n '__fish_seen_subcommand_from doc' -o short -d 'one-line representation for each symbol'
|
||||
complete -c go -n '__fish_seen_subcommand_from doc' -o src -d 'show the full source code for the symbol'
|
||||
complete -c go -n '__fish_seen_subcommand_from doc' -s u -d 'show documentation for unexported as well as exported symbols'
|
||||
|
||||
# env
|
||||
complete -c go -n __fish_use_subcommand -a env -d 'print Go environment information'
|
||||
complete -c go -n '__fish_seen_subcommand_from env' -o json -d 'print the environment in JSON format'
|
||||
complete -c go -n '__fish_seen_subcommand_from env' -s u -r -d 'set NAME to default values'
|
||||
complete -c go -n '__fish_seen_subcommand_from env' -s w -r -d 'set default values for config variables'
|
||||
|
||||
# fix
|
||||
complete -c go -n __fish_use_subcommand -a fix -d 'run go tool fix on packages'
|
||||
|
||||
# fmt
|
||||
complete -c go -n __fish_use_subcommand -a fmt -d 'run gofmt on package sources'
|
||||
complete -c go -n '__fish_seen_subcommand_from fmt' -s n -d "prints commands that would be executed"
|
||||
complete -c go -n '__fish_seen_subcommand_from fmt' -s x -d "prints commands as they are executed"
|
||||
|
||||
# get
|
||||
complete -c go -n __fish_use_subcommand -a get -d 'download and install packages and dependencies'
|
||||
complete -c go -n '__fish_seen_subcommand_from get' -s d -d "stop after downloading the packages; don't install"
|
||||
complete -c go -n '__fish_seen_subcommand_from get' -o fix -d "run fix tool on packages before resolving dependencies or building"
|
||||
complete -c go -n '__fish_seen_subcommand_from get' -s u -d "update remote packages"
|
||||
complete -c go -n '__fish_seen_subcommand_from get' -s v -d "verbose progress and debug output"
|
||||
complete -c go -n '__fish_seen_subcommand_from get' -s t -d "also download the packages required to build the tests"
|
||||
complete -c go -n '__fish_seen_subcommand_from get' -o insecure -d "flag permits fetching & resolving domains using insecure schemes"
|
||||
|
||||
# generate
|
||||
complete -c go -n __fish_use_subcommand -a generate -d 'Generate runs commands described by directives within existing files.'
|
||||
complete -c go -n '__fish_seen_subcommand_from get' -s n -d "prints commands that would be executed"
|
||||
complete -c go -n '__fish_seen_subcommand_from get' -s x -d "prints commands as they are executed"
|
||||
complete -c go -n '__fish_seen_subcommand_from get' -s v -d "prints the names of packages and files as they are processed"
|
||||
complete -c go -n '__fish_seen_subcommand_from get' -o run -d "prints the names of packages and files as they are processed"
|
||||
|
||||
# help
|
||||
complete -c go -n __fish_use_subcommand -a help -d 'get help on topic'
|
||||
complete -c go -n '__fish_seen_subcommand_from help' -xa bug -d "start a bug report"
|
||||
complete -c go -n '__fish_seen_subcommand_from help' -xa build -d "compile packages and dependencies"
|
||||
complete -c go -n '__fish_seen_subcommand_from help' -xa clean -d "remove object files and cached files"
|
||||
complete -c go -n '__fish_seen_subcommand_from help' -xa doc -d "show documentation for package or symbol"
|
||||
complete -c go -n '__fish_seen_subcommand_from help' -xa env -d "print Go environment information"
|
||||
complete -c go -n '__fish_seen_subcommand_from help' -xa fix -d "update packages to use new APIs"
|
||||
complete -c go -n '__fish_seen_subcommand_from help' -xa fmt -d "gofmt (reformat) package sources"
|
||||
complete -c go -n '__fish_seen_subcommand_from help' -xa generate -d "generate Go files by processing source"
|
||||
complete -c go -n '__fish_seen_subcommand_from help' -xa get -d "download and install packages and dependencies"
|
||||
complete -c go -n '__fish_seen_subcommand_from help' -xa install -d "compile and install packages and dependencies"
|
||||
complete -c go -n '__fish_seen_subcommand_from help' -xa list -d "list packages or modules"
|
||||
complete -c go -n '__fish_seen_subcommand_from help' -xa mod -d "module maintenance"
|
||||
complete -c go -n '__fish_seen_subcommand_from help' -xa run -d "compile and run Go program"
|
||||
complete -c go -n '__fish_seen_subcommand_from help' -xa test -d "test packages"
|
||||
complete -c go -n '__fish_seen_subcommand_from help' -xa tool -d "run specified go tool"
|
||||
complete -c go -n '__fish_seen_subcommand_from help' -xa version -d "print Go version"
|
||||
complete -c go -n '__fish_seen_subcommand_from help' -xa vet -d "report likely mistakes in packages"
|
||||
complete -c go -n '__fish_seen_subcommand_from help' -xa buildmode -d "build modes"
|
||||
complete -c go -n '__fish_seen_subcommand_from help' -xa c -d "calling between Go and C"
|
||||
complete -c go -n '__fish_seen_subcommand_from help' -xa cache -d "build and test caching"
|
||||
complete -c go -n '__fish_seen_subcommand_from help' -xa environment -d "environment variables"
|
||||
complete -c go -n '__fish_seen_subcommand_from help' -xa filetype -d "file types"
|
||||
complete -c go -n '__fish_seen_subcommand_from help' -xa go.mod -d "the go.mod file"
|
||||
complete -c go -n '__fish_seen_subcommand_from help' -xa gopath -d "GOPATH environment variable"
|
||||
complete -c go -n '__fish_seen_subcommand_from help' -xa gopath-get -d "legacy GOPATH go get"
|
||||
complete -c go -n '__fish_seen_subcommand_from help' -xa goproxy -d "module proxy protocol"
|
||||
complete -c go -n '__fish_seen_subcommand_from help' -xa importpath -d "import path syntax"
|
||||
complete -c go -n '__fish_seen_subcommand_from help' -xa modules -d "modules, module versions, and more"
|
||||
complete -c go -n '__fish_seen_subcommand_from help' -xa module-get -d "module-aware go get"
|
||||
complete -c go -n '__fish_seen_subcommand_from help' -xa module-auth -d "module authentication using go.sum"
|
||||
complete -c go -n '__fish_seen_subcommand_from help' -xa module-private -d "module configuration for non-public modules"
|
||||
complete -c go -n '__fish_seen_subcommand_from help' -xa packages -d "package lists and patterns"
|
||||
complete -c go -n '__fish_seen_subcommand_from help' -xa testflag -d "testing flags"
|
||||
complete -c go -n '__fish_seen_subcommand_from help' -xa testfunc -d "testing functions"
|
||||
|
||||
# install
|
||||
complete -c go -n __fish_use_subcommand -a install -d 'compile and install packages and dependencies'
|
||||
|
||||
# list
|
||||
complete -c go -n __fish_use_subcommand -a list -d 'list packages'
|
||||
complete -c go -n '__fish_seen_subcommand_from list' -s e -d "tolerate erroneous packages"
|
||||
complete -c go -n '__fish_seen_subcommand_from list' -s f -r -d "pass in template for formatting"
|
||||
complete -c go -n '__fish_seen_subcommand_from list' -o json -d "print in JSON format"
|
||||
complete -c go -n '__fish_seen_subcommand_from list' -o tags -r -d 'list of build tags'
|
||||
complete -c go -n '__fish_seen_subcommand_from list' -s m -d 'list modules instead of packages'
|
||||
|
||||
# run
|
||||
complete -c go -n __fish_use_subcommand -a run -d 'compile and run Go program'
|
||||
|
||||
# test
|
||||
complete -c go -n __fish_use_subcommand -a test -d 'test packages'
|
||||
complete -c go -n '__fish_seen_subcommand_from test' -s c -r -d "compile the test binary to pkg.test but do not run it"
|
||||
complete -c go -n '__fish_seen_subcommand_from test' -s i -d "install dependent packages, but don't run tests"
|
||||
|
||||
# tool
|
||||
complete -c go -n __fish_use_subcommand -a tool -d 'run specified go tool'
|
||||
complete -c go -n '__fish_seen_subcommand_from tool' -a 'addr2line api asm cgo compile dist fix link nm objdump pack pprof prof vet yacc' -d "target tool"
|
||||
complete -c go -n '__fish_seen_subcommand_from tool' -s n -d "print the command that would be executed but not execute it"
|
||||
|
||||
# version
|
||||
complete -c go -f -n __fish_use_subcommand -a version -d 'print Go version'
|
||||
complete -c go -f -n '__fish_seen_subcommand_from version'
|
||||
|
||||
# vet
|
||||
complete -c go -n __fish_use_subcommand -a vet -d 'vet packages'
|
||||
complete -c go -n '__fish_seen_subcommand_from vet' -s n -d "print the command that would be executed"
|
||||
complete -c go -n '__fish_seen_subcommand_from vet' -s x -d "prints commands as they are executed"
|
||||
|
||||
# mod
|
||||
complete -c go -n __fish_use_subcommand -a mod -d 'module maintenance'
|
||||
complete -c go -f -n '__fish_seen_subcommand_from mod' -a download -d "download modules to local cache"
|
||||
complete -c go -f -n '__fish_seen_subcommand_from mod' -a edit -d "edit go.mod from tools or scripts"
|
||||
complete -c go -f -n '__fish_seen_subcommand_from mod' -a graph -d "print module requirement graph"
|
||||
complete -c go -f -n '__fish_seen_subcommand_from mod' -a init -d "initialize new module in current directory"
|
||||
complete -c go -f -n '__fish_seen_subcommand_from mod' -a tidy -d "add missing and remove unused modules"
|
||||
complete -c go -f -n '__fish_seen_subcommand_from mod' -a vendor -d "make vendored copy of dependencies"
|
||||
complete -c go -f -n '__fish_seen_subcommand_from mod' -a verify -d "verify dependencies have expected content"
|
||||
complete -c go -f -n '__fish_seen_subcommand_from mod' -a why -d "explain why packages or modules are needed"
|
||||
1762
dot_config/fish/completions/kubectl.fish
Normal file
12
dot_config/fish/completions/nc.fish
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# There a several different implementations of netcat.
|
||||
# Try to figure out which is the current used one
|
||||
# and load the right set of completions.
|
||||
|
||||
set -l flavor
|
||||
if string match -rq -- '^OpenBSD netcat' (nc -h 2>&1)[1]
|
||||
set flavor nc.openbsd
|
||||
else
|
||||
set flavor (basename (realpath (command -v nc)))
|
||||
end
|
||||
|
||||
__fish_complete_netcat nc $flavor
|
||||
1
dot_config/fish/completions/nc.openbsd.fish
Normal file
|
|
@ -0,0 +1 @@
|
|||
__fish_complete_netcat nc.openbsd
|
||||
1
dot_config/fish/completions/nc.traditional.fish
Normal file
|
|
@ -0,0 +1 @@
|
|||
__fish_complete_netcat nc.traditional
|
||||
74
dot_config/fish/completions/ncat.fish
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
# Completions for ncat (https://www.nmap.org)
|
||||
|
||||
complete -c ncat -f -a "(__fish_print_hostnames)"
|
||||
|
||||
# PROTOCOL OPTIONS
|
||||
complete -c ncat -s 4 -d "IPv4 only"
|
||||
complete -c ncat -s 6 -d "IPv6 only"
|
||||
complete -c ncat -s U -l unixsock -d "Use Unix domain sockets"
|
||||
complete -c ncat -s u -l udp -d "Use UDP"
|
||||
complete -c ncat -l sctp -d "Use SCTP"
|
||||
|
||||
# CONNECT MODE OPTIONS
|
||||
complete -c ncat -s g -x -d "Loose source routing"
|
||||
complete -c ncat -s G -x -d "Set source routing pointer"
|
||||
complete -c ncat -s p -l source-port -x -d "Specify source port"
|
||||
complete -c ncat -s s -l source -x -d "Specify source address"
|
||||
|
||||
# LISTEN MODE OPTIONS
|
||||
complete -c ncat -s l -l listen -d "Listen for connections"
|
||||
complete -c ncat -s m -l max-conns -x -d "Specify maximum number of connections"
|
||||
complete -c ncat -s k -l keep-open -d "Accept multiple connections"
|
||||
complete -c ncat -l broker -d "Connection brokering"
|
||||
complete -c ncat -l chat -d "Ad-hoc \"chat server\""
|
||||
|
||||
# SSL OPTIONS
|
||||
complete -c ncat -l ssl -d "Use SSL"
|
||||
complete -c ncat -l ssl-verify -d "Verify server certificates"
|
||||
complete -c ncat -l ssl-cert -r -d "Specify SSL certificate"
|
||||
complete -c ncat -l ssl-key -r -d "Specify SSL private key"
|
||||
complete -c ncat -l ssl-trustfile -r -d "List trusted certificates"
|
||||
function __fish_complete_openssl_ciphers
|
||||
openssl ciphers -s -stdname | string replace -r '^([^ ]*) - ([^ ]*).*$' '$2\t$1'
|
||||
for cs in COMPLEMENTOFDEFAULT ALL COMPLEMENTOFALL HIGH MEDIUM LOW eNULL NULL aNULL kRSA aRSA RSA kDHr kDHd kDH kDHE kEDH DH DHE EDH ADH kEECDH kECDHE ECDH ECDHE EECDH AECDH aDSS DSS aDH aECDSA ECDSA TLSv1.2 TLSv1.0 SSLv3 AES128 AES256 AES AESGCM AESCCM AESCCM8 ARIA128 ARIA256 ARIA CAMELLIA128 CAMELLIA256 CAMELLIA CHACHA20 3DES DES RC4 RC2 IDEA SEED MD5 SHA1 SHA SHA256 SHA384 aGOST aGOST01 kGOST GOST94 GOST89MAC PSK kPSK kECDHEPSK kDHEPSK kRSAPSK aPSK SUITEB128 SUITEB128ONLY SUITEB192
|
||||
printf "%s\tCipher String\n" $cs
|
||||
end
|
||||
end
|
||||
complete -c ncat -l ssl-ciphers -x -a "(__fish_complete_list : __fish_complete_openssl_ciphers)" -d "Specify SSL ciphersuites"
|
||||
complete -c ncat -l ssl-alpn -x -d "Specify ALPN protocol list"
|
||||
|
||||
# PROXY OPTIONS
|
||||
complete -c ncat -l proxy -x -d "Specify proxy address"
|
||||
complete -c ncat -l proxy-type -x -d "Specify proxy protocol"
|
||||
complete -c ncat -l proxy-auth -x -d "Specify proxy credentials"
|
||||
|
||||
# COMMAND EXECUTION OPTIONS
|
||||
complete -c ncat -s e -l exec -r -d "Execute command"
|
||||
complete -c ncat -s c -l sh-exec -r -d "Execute command via sh"
|
||||
complete -c ncat -l lua-exec -r -d "Execute a .lua script"
|
||||
|
||||
# ACCESS CONTROL OPTIONS
|
||||
complete -c ncat -l allow -x -a "(__fish_print_hostnames)" -d "Allow connections"
|
||||
complete -c ncat -l allowfile -r -d "Allow connections from file"
|
||||
complete -c ncat -l deny -x -a "(__fish_print_hostnames)" -d "Deny connections"
|
||||
complete -c ncat -l denyfile -r -d "Deny connections from file"
|
||||
|
||||
# TIMING OPTIONS
|
||||
complete -c ncat -s d -l delay -x -d "Specify line delay"
|
||||
complete -c ncat -s i -l idle-timeout -x -d "Specify idle timeout"
|
||||
complete -c ncat -s w -l wait -x -d "Specify connect timeout"
|
||||
|
||||
# OUTPUT OPTIONS
|
||||
complete -c ncat -s o -l output -r -d "Save session data"
|
||||
complete -c ncat -s x -l hex-dump -r -d "Save session data in hex"
|
||||
complete -c ncat -l append-output -d "Append output"
|
||||
complete -c ncat -s v -l verbose -d "Be verbose"
|
||||
|
||||
# MISC OPTIONS
|
||||
complete -c ncat -s C -l crlf -d "Use CRLF as EOL"
|
||||
complete -c ncat -s h -l help -d "Help screen"
|
||||
complete -c ncat -l -recv-only -d "Only receive data"
|
||||
complete -c ncat -l send-only -d "Only send data"
|
||||
complete -c ncat -l no-shutdown -d "Do not shutdown into half-duplex mode"
|
||||
complete -c ncat -s t -l telnet -d "Answer Telnet negotiations"
|
||||
complete -c ncat -l version -d "Display version"
|
||||
12
dot_config/fish/completions/netcat.fish
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# There a several different implementations of netcat.
|
||||
# Try to figure out which is the current used one
|
||||
# and load the right set of completions.
|
||||
|
||||
set -l flavor
|
||||
if string match -rq -- '^OpenBSD netcat' (netcat -h 2>&1)[1]
|
||||
set flavor nc.openbsd
|
||||
else
|
||||
set flavor (basename (realpath (command -v netcat)))
|
||||
end
|
||||
|
||||
__fish_complete_netcat netcat $flavor
|
||||
172
dot_config/fish/conf.d/key-bindings.fish
Normal file
|
|
@ -0,0 +1,172 @@
|
|||
# ____ ____
|
||||
# / __/___ / __/
|
||||
# / /_/_ / / /_
|
||||
# / __/ / /_/ __/
|
||||
# /_/ /___/_/ key-bindings.fish
|
||||
#
|
||||
# - $FZF_TMUX_OPTS
|
||||
# - $FZF_CTRL_T_COMMAND
|
||||
# - $FZF_CTRL_T_OPTS
|
||||
# - $FZF_CTRL_R_OPTS
|
||||
# - $FZF_ALT_C_COMMAND
|
||||
# - $FZF_ALT_C_OPTS
|
||||
|
||||
# Key bindings
|
||||
# ------------
|
||||
function fzf_key_bindings
|
||||
|
||||
# Store current token in $dir as root for the 'find' command
|
||||
function fzf-file-widget -d "List files and folders"
|
||||
set -l commandline (__fzf_parse_commandline)
|
||||
set -l dir $commandline[1]
|
||||
set -l fzf_query $commandline[2]
|
||||
set -l prefix $commandline[3]
|
||||
|
||||
# "-path \$dir'*/\\.*'" matches hidden files/folders inside $dir but not
|
||||
# $dir itself, even if hidden.
|
||||
test -n "$FZF_CTRL_T_COMMAND"; or set -l FZF_CTRL_T_COMMAND "
|
||||
command find -L \$dir -mindepth 1 \\( -path \$dir'*/\\.*' -o -fstype 'sysfs' -o -fstype 'devfs' -o -fstype 'devtmpfs' \\) -prune \
|
||||
-o -type f -print \
|
||||
-o -type d -print \
|
||||
-o -type l -print 2> /dev/null | sed 's@^\./@@'"
|
||||
|
||||
test -n "$FZF_TMUX_HEIGHT"; or set FZF_TMUX_HEIGHT 40%
|
||||
begin
|
||||
set -lx FZF_DEFAULT_OPTS "--height $FZF_TMUX_HEIGHT --reverse --bind=ctrl-z:ignore $FZF_DEFAULT_OPTS $FZF_CTRL_T_OPTS"
|
||||
eval "$FZF_CTRL_T_COMMAND | "(__fzfcmd)' -m --query "'$fzf_query'"' | while read -l r; set result $result $r; end
|
||||
end
|
||||
if [ -z "$result" ]
|
||||
commandline -f repaint
|
||||
return
|
||||
else
|
||||
# Remove last token from commandline.
|
||||
commandline -t ""
|
||||
end
|
||||
for i in $result
|
||||
commandline -it -- $prefix
|
||||
commandline -it -- (string escape $i)
|
||||
commandline -it -- ' '
|
||||
end
|
||||
commandline -f repaint
|
||||
end
|
||||
|
||||
function fzf-history-widget -d "Show command history"
|
||||
test -n "$FZF_TMUX_HEIGHT"; or set FZF_TMUX_HEIGHT 40%
|
||||
begin
|
||||
set -lx FZF_DEFAULT_OPTS "--height $FZF_TMUX_HEIGHT $FZF_DEFAULT_OPTS --tiebreak=index --bind=ctrl-r:toggle-sort,ctrl-z:ignore $FZF_CTRL_R_OPTS +m"
|
||||
|
||||
set -l FISH_MAJOR (echo $version | cut -f1 -d.)
|
||||
set -l FISH_MINOR (echo $version | cut -f2 -d.)
|
||||
|
||||
# history's -z flag is needed for multi-line support.
|
||||
# history's -z flag was added in fish 2.4.0, so don't use it for versions
|
||||
# before 2.4.0.
|
||||
if [ "$FISH_MAJOR" -gt 2 -o \( "$FISH_MAJOR" -eq 2 -a "$FISH_MINOR" -ge 4 \) ];
|
||||
history -z | eval (__fzfcmd) --read0 --print0 -q '(commandline)' | read -lz result
|
||||
and commandline -- $result
|
||||
else
|
||||
history | eval (__fzfcmd) -q '(commandline)' | read -l result
|
||||
and commandline -- $result
|
||||
end
|
||||
end
|
||||
commandline -f repaint
|
||||
end
|
||||
|
||||
function fzf-cd-widget -d "Change directory"
|
||||
set -l commandline (__fzf_parse_commandline)
|
||||
set -l dir $commandline[1]
|
||||
set -l fzf_query $commandline[2]
|
||||
set -l prefix $commandline[3]
|
||||
|
||||
test -n "$FZF_ALT_C_COMMAND"; or set -l FZF_ALT_C_COMMAND "
|
||||
command find -L \$dir -mindepth 1 \\( -path \$dir'*/\\.*' -o -fstype 'sysfs' -o -fstype 'devfs' -o -fstype 'devtmpfs' \\) -prune \
|
||||
-o -type d -print 2> /dev/null | sed 's@^\./@@'"
|
||||
test -n "$FZF_TMUX_HEIGHT"; or set FZF_TMUX_HEIGHT 40%
|
||||
begin
|
||||
set -lx FZF_DEFAULT_OPTS "--height $FZF_TMUX_HEIGHT --reverse --bind=ctrl-z:ignore $FZF_DEFAULT_OPTS $FZF_ALT_C_OPTS"
|
||||
eval "$FZF_ALT_C_COMMAND | "(__fzfcmd)' +m --query "'$fzf_query'"' | read -l result
|
||||
|
||||
if [ -n "$result" ]
|
||||
builtin cd -- $result
|
||||
|
||||
# Remove last token from commandline.
|
||||
commandline -t ""
|
||||
commandline -it -- $prefix
|
||||
end
|
||||
end
|
||||
|
||||
commandline -f repaint
|
||||
end
|
||||
|
||||
function __fzfcmd
|
||||
test -n "$FZF_TMUX"; or set FZF_TMUX 0
|
||||
test -n "$FZF_TMUX_HEIGHT"; or set FZF_TMUX_HEIGHT 40%
|
||||
if [ -n "$FZF_TMUX_OPTS" ]
|
||||
echo "fzf-tmux $FZF_TMUX_OPTS -- "
|
||||
else if [ $FZF_TMUX -eq 1 ]
|
||||
echo "fzf-tmux -d$FZF_TMUX_HEIGHT -- "
|
||||
else
|
||||
echo "fzf"
|
||||
end
|
||||
end
|
||||
|
||||
bind \ct fzf-file-widget
|
||||
bind \cr fzf-history-widget
|
||||
bind \ec fzf-cd-widget
|
||||
|
||||
if bind -M insert > /dev/null 2>&1
|
||||
bind -M insert \ct fzf-file-widget
|
||||
bind -M insert \cr fzf-history-widget
|
||||
bind -M insert \ec fzf-cd-widget
|
||||
end
|
||||
|
||||
function __fzf_parse_commandline -d 'Parse the current command line token and return split of existing filepath, fzf query, and optional -option= prefix'
|
||||
set -l commandline (commandline -t)
|
||||
|
||||
# strip -option= from token if present
|
||||
set -l prefix (string match -r -- '^-[^\s=]+=' $commandline)
|
||||
set commandline (string replace -- "$prefix" '' $commandline)
|
||||
|
||||
# eval is used to do shell expansion on paths
|
||||
eval set commandline $commandline
|
||||
|
||||
if [ -z $commandline ]
|
||||
# Default to current directory with no --query
|
||||
set dir '.'
|
||||
set fzf_query ''
|
||||
else
|
||||
set dir (__fzf_get_dir $commandline)
|
||||
|
||||
if [ "$dir" = "." -a (string sub -l 1 -- $commandline) != '.' ]
|
||||
# if $dir is "." but commandline is not a relative path, this means no file path found
|
||||
set fzf_query $commandline
|
||||
else
|
||||
# Also remove trailing slash after dir, to "split" input properly
|
||||
set fzf_query (string replace -r "^$dir/?" -- '' "$commandline")
|
||||
end
|
||||
end
|
||||
|
||||
echo $dir
|
||||
echo $fzf_query
|
||||
echo $prefix
|
||||
end
|
||||
|
||||
function __fzf_get_dir -d 'Find the longest existing filepath from input string'
|
||||
set dir $argv
|
||||
|
||||
# Strip all trailing slashes. Ignore if $dir is root dir (/)
|
||||
if [ (string length -- $dir) -gt 1 ]
|
||||
set dir (string replace -r '/*$' -- '' $dir)
|
||||
end
|
||||
|
||||
# Iteratively check if dir exists and strip tail end of path
|
||||
while [ ! -d "$dir" ]
|
||||
# If path is absolute, this can keep going until ends up at /
|
||||
# If path is relative, this can keep going until entire input is consumed, dirname returns "."
|
||||
set dir (dirname -- "$dir")
|
||||
end
|
||||
|
||||
echo $dir
|
||||
end
|
||||
|
||||
end
|
||||
28
dot_config/fish/config.fish
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
set PATH ~/bin ~/.local/bin ~/.go/bin ~/.cargo/bin /bin /sbin /usr/local/bin /usr/local/sbin /usr/bin /usr/sbin ~/.cabal/bin ~/.ghcup/bin /usr/lib/go/bin ~/.gem/ruby/1.9.1/bin ~/.rye/shims $PATH
|
||||
|
||||
if command -vq flatpak
|
||||
set -ga fish_user_paths ~/.local/share/flatpak/exports/bin /var/lib/flatpak/exports/bin
|
||||
set -gx --path XDG_DATA_DIRS /usr/local/share/ /usr/share/ ~/.local/share/flatpak/exports/share
|
||||
for install_dir in (flatpak --installations)
|
||||
set -gxa XDG_DATA_DIRS $install_dir/exports/share
|
||||
end
|
||||
end
|
||||
|
||||
set fish_greeting ""
|
||||
set EDITOR vi
|
||||
set -x GOPATH ~/.go
|
||||
|
||||
if test -e $HOME/.asdf/asdf.fish
|
||||
. ~/.asdf/asdf.fish
|
||||
end
|
||||
|
||||
if test -e $HOME/.config/fish/work.fish
|
||||
. ~/.config/fish/work.fish
|
||||
end
|
||||
|
||||
. ~/.config/fish/fish_aliases.fish
|
||||
|
||||
# The next line updates PATH for the Google Cloud SDK.
|
||||
if [ -f '/home/barak/local/google-cloud-sdk/path.fish.inc' ]; . '/home/barak/local/google-cloud-sdk/path.fish.inc'; end
|
||||
|
||||
set GOOGLE_APPLICATION_CREDENTIALS "/home/barak/.memtoken.json"
|
||||
55
dot_config/fish/fish_aliases.fish
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
alias :e='vi'
|
||||
alias t='task'
|
||||
alias em='emacs'
|
||||
alias grep="grep --color=auto"
|
||||
#alias screen="screen -R"
|
||||
alias dvtm="dvtm -m \"^w\""
|
||||
alias tm="tmux -2 attach"
|
||||
alias ppjson="python -mjson.tool"
|
||||
#alias tmux-pwn='tmux list-clients | sed "s|^\(/dev/ttys[0-9]\+\).*\[\([0-9]\+x[0-9]\+\).*$|\2 \1|" | sort -r -n | tail -n +2 | cut -d " " -f 2 | xargs -n 1 tmux detach-client -t'
|
||||
|
||||
# I can never remember the xclip options, so:
|
||||
alias setclip='xclip -selection c'
|
||||
alias getclip='xclip -selection clipboard -o'
|
||||
|
||||
#machines
|
||||
alias puck="ssh -D 7777 -Y barak@puck.barakmich.com"
|
||||
alias hero="ssh -D 7777 -Y barak@hero.barakmich.com"
|
||||
alias hermia="ssh -Y barak@hermia.home.0b100.net"
|
||||
|
||||
#Cosmetic/useful
|
||||
#alias naim="naim --noscreen"
|
||||
alias wallall="wallall -p"
|
||||
#alias cal="cal -3"
|
||||
#alias google='surfraw google'
|
||||
alias hd='od -Ax -tx1z -v'
|
||||
alias gcal='gcalcli'
|
||||
|
||||
#Sysdadmin
|
||||
alias aptsearch="aptitude search"
|
||||
alias pki="pk i"
|
||||
alias pks="pk s"
|
||||
alias openports="lsof -i 4 -n"
|
||||
alias saupdate="sa-learn --mbox --spam ~/mail/spam"
|
||||
alias pshosers="ps axeo pcpu,pid,user,command | sort -k 1 -r | head -11 "
|
||||
alias memhosers="ps axeo size,pcpu,pid,user,command | sort -n -r | head -11 "
|
||||
alias psx="ps auxwww | grep $1"
|
||||
alias blaze="bazel"
|
||||
alias pb='curl -F c=@- https://busb.us/'
|
||||
alias pburl='curl -F c=@- https://busb.us/u'
|
||||
|
||||
#work
|
||||
alias totemp="cd `pwd | sed 's/controllers/templates/'`"
|
||||
alias tocont="cd `pwd | sed 's/templates/controllers/'`"
|
||||
|
||||
alias kubecat="awk 'FNR==1 && NR!=1 {print \"---\"}{print}'"
|
||||
|
||||
#Some orly aliases
|
||||
alias yarly="orly -y"
|
||||
alias nowai="orly -n"
|
||||
alias srsly="orly -s"
|
||||
|
||||
#Funnies
|
||||
alias whothefuckis='finger'
|
||||
alias whoami="echo 24601"
|
||||
alias yeet="rm -rf"
|
||||
31
dot_config/fish/fish_variables
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
# This file contains fish universal variable definitions.
|
||||
# VERSION: 3.0
|
||||
SETUVAR __fish_initialized:3400
|
||||
SETUVAR fish_color_autosuggestion:555\x1ebrblack
|
||||
SETUVAR fish_color_cancel:\x2dr
|
||||
SETUVAR fish_color_command:005fd7
|
||||
SETUVAR fish_color_comment:990000
|
||||
SETUVAR fish_color_cwd:green
|
||||
SETUVAR fish_color_cwd_root:red
|
||||
SETUVAR fish_color_end:009900
|
||||
SETUVAR fish_color_error:ff0000
|
||||
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_normal:normal
|
||||
SETUVAR fish_color_operator:00a6b2
|
||||
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_key_bindings:fish_default_key_bindings
|
||||
SETUVAR fish_pager_color_completion:\x1d
|
||||
SETUVAR fish_pager_color_description:B3A06D\x1eyellow
|
||||
SETUVAR fish_pager_color_prefix:normal\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
|
||||
SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
|
||||
SETUVAR fish_pager_color_selected_background:\x2dr
|
||||
44
dot_config/fish/functions/fish_prompt.fish
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
function fish_prompt --description 'Write out the prompt'
|
||||
|
||||
# Just calculate these once, to save a few cycles when displaying the prompt
|
||||
if not set -q __fish_prompt_hostname
|
||||
set -g __fish_prompt_hostname (hostname|cut -d . -f 1)
|
||||
end
|
||||
|
||||
if not set -q __fish_prompt_normal
|
||||
set -g __fish_prompt_normal (set_color normal)
|
||||
end
|
||||
|
||||
switch $USER
|
||||
|
||||
case root
|
||||
|
||||
if not set -q __fish_prompt_cwd
|
||||
if set -q fish_color_cwd_root
|
||||
set -g __fish_prompt_cwd (set_color $fish_color_cwd_root)
|
||||
else
|
||||
set -g __fish_prompt_cwd (set_color $fish_color_cwd)
|
||||
end
|
||||
end
|
||||
|
||||
echo -n -s (set_color red) "$USER" (set_color normal) @ (set_color green) "$__fish_prompt_hostname" (set_color normal) ':[' "$__fish_prompt_cwd" (prompt_pwd) "$__fish_prompt_normal" ']'
|
||||
echo
|
||||
echo -n '# '
|
||||
|
||||
case '*'
|
||||
|
||||
if not set -q __fish_prompt_cwd
|
||||
set -g __fish_prompt_cwd (set_color $fish_color_cwd)
|
||||
end
|
||||
|
||||
|
||||
if set -q VIRTUAL_ENV
|
||||
echo -n -s (set_color -b blue white) "(" (basename "$VIRTUAL_ENV") ")" (set_color normal) " "
|
||||
end
|
||||
|
||||
echo -n -s (set_color blue) "(" (set_color yellow) (date "+%H:%M") (set_color blue) ")[" (set_color green) "$USER@$__fish_prompt_hostname " (set_color cyan) "$__fish_prompt_cwd" (prompt_pwd) "$__fish_prompt_normal" (set_color blue) ']'
|
||||
echo
|
||||
echo -n '$ '
|
||||
|
||||
end
|
||||
end
|
||||
1
dot_config/fish/functions/fish_right_prompt.fish
Normal file
|
|
@ -0,0 +1 @@
|
|||
function fish_right_prompt; end
|
||||
7
dot_config/fish/functions/fish_user_key_bindings.fish
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
function fish_user_key_bindings
|
||||
fzf_key_bindings
|
||||
end
|
||||
|
||||
function fsize
|
||||
sed -i "s/size:.*/size: $argv/" $HOME/.config/alacritty/alacritty.yml
|
||||
end
|
||||
37
dot_config/hexchat/addons/mymsg.py
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
import hexchat
|
||||
|
||||
__module_name__ = 'MyMessages'
|
||||
__module_author__ = 'TingPing'
|
||||
__module_version__ = '3'
|
||||
__module_description__ = 'Properly show your messages in ZNC'
|
||||
|
||||
def privmsg_cb(word, word_eol, userdata, attrs):
|
||||
# We only care about private messages, HexChat handles the rest now.
|
||||
if word[2][0] == '#':
|
||||
return
|
||||
|
||||
mynick = hexchat.get_info('nick')
|
||||
sender = word[0].split('!')[0][1:]
|
||||
recipient = word[2]
|
||||
network = hexchat.get_info('network')
|
||||
msg = word_eol[3][1:]
|
||||
|
||||
if hexchat.nickcmp(sender, mynick) == 0 and hexchat.nickcmp(recipient, mynick) != 0:
|
||||
hexchat.command('query -nofocus {}'.format(recipient))
|
||||
ctx = hexchat.find_context(network, recipient)
|
||||
|
||||
if '\001ACTION' in msg:
|
||||
for repl in ('\001ACTION', '\001'):
|
||||
msg = msg.replace(repl, '')
|
||||
ctx.emit_print('Your Action', mynick, msg.strip(), time=attrs.time)
|
||||
else:
|
||||
ctx.emit_print('Your Message', mynick, msg, time=attrs.time)
|
||||
|
||||
return hexchat.EAT_ALL
|
||||
|
||||
def caps_cb(word, word_eol, userdata):
|
||||
if "znc.in/self-message" in word[1]:
|
||||
hexchat.command("cap req znc.in/self-message")
|
||||
|
||||
hexchat.hook_server_attrs('PRIVMSG', privmsg_cb)
|
||||
hexchat.hook_print('Capability List', caps_cb)
|
||||
41
dot_config/hexchat/addons/notify.py
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
__module_name__ = 'Notify'
|
||||
__module_description__ = 'Sends a notification on highlight/notice/pm'
|
||||
__module_version__ = '1.0'
|
||||
|
||||
import os
|
||||
import hexchat
|
||||
|
||||
|
||||
def notice_callback(word, word_eol, userdata):
|
||||
if hexchat.get_info("win_status") == 'active':
|
||||
return
|
||||
os.system(
|
||||
hexchat.strip('notify-send \"Notice from %s\" \"%s\"' %
|
||||
(word[0], word[1])))
|
||||
return hexchat.EAT_NONE
|
||||
|
||||
|
||||
def pm_callback(word, word_eol, userdata):
|
||||
if hexchat.get_info("win_status") == 'active':
|
||||
return
|
||||
os.system(
|
||||
hexchat.strip('notify-send \"PM from %s\" \"%s\"' %
|
||||
(word[0], word[1])))
|
||||
return hexchat.EAT_NONE
|
||||
|
||||
|
||||
def highlight_callback(word, word_eol, userdata):
|
||||
if hexchat.get_info("win_status") == 'active':
|
||||
return
|
||||
os.system(
|
||||
hexchat.strip('notify-send \"Highlight from %s\" \"%s\"' %
|
||||
(word[0], word[1])))
|
||||
return hexchat.EAT_NONE
|
||||
|
||||
hexchat.hook_print("Channel Msg Hilight", highlight_callback)
|
||||
hexchat.hook_print("Channel Action Hilight", highlight_callback)
|
||||
hexchat.hook_print("Notice", notice_callback)
|
||||
hexchat.hook_print("Private Action", pm_callback)
|
||||
hexchat.hook_print("Private Message", pm_callback)
|
||||
hexchat.hook_print("Private Action to Dialog", pm_callback)
|
||||
hexchat.hook_print("Private Message to Dialog", pm_callback)
|
||||
1
dot_config/iosevka-build/.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
dist/
|
||||
121
dot_config/iosevka-build/private-build-plans.toml
Normal file
|
|
@ -0,0 +1,121 @@
|
|||
[buildPlans.IosevkaBerkeley]
|
||||
family = "Iosevka Berkeley"
|
||||
spacing = "fixed"
|
||||
serifs = "sans"
|
||||
noCvSs = true
|
||||
exportGlyphNames = false
|
||||
|
||||
[buildPlans.IosevkaBerkeley.variants.design]
|
||||
capital-g = "toothless-rounded-serifless-hooked"
|
||||
g = "double-storey"
|
||||
t = "flat-hook"
|
||||
y = "straight-turn-serifless"
|
||||
eszet = "sulzbacher-descending-serifless"
|
||||
capital-lambda = "curly-top-serifed"
|
||||
lower-lambda = "tailed-turn"
|
||||
lower-chi = "semi-chancery-straight"
|
||||
zero = "dotted"
|
||||
one = "no-base"
|
||||
four = "closed-serifless"
|
||||
six = "open-contour"
|
||||
eight = "two-circles"
|
||||
asterisk = "hex-high"
|
||||
paren = "large-contour"
|
||||
brace = "straight"
|
||||
at = "fourfold"
|
||||
percent = "rings-continuous-slash"
|
||||
bar = "force-upright"
|
||||
question = "corner"
|
||||
|
||||
[buildPlans.IosevkaBerkeley.variants.italic]
|
||||
capital-a = "curly-serifless"
|
||||
capital-b = "standard-unilateral-serifed"
|
||||
capital-d = "standard-unilateral-serifed"
|
||||
capital-f = "top-left-serifed"
|
||||
capital-g = "toothed-serifless-hooked"
|
||||
capital-i = "short-serifed"
|
||||
capital-j = "serifed-both-sides"
|
||||
capital-m = "flat-bottom-serifless"
|
||||
capital-p = "closed-motion-serifed"
|
||||
capital-q = "crossing-curly-tailed"
|
||||
capital-r = "curly-serifless"
|
||||
capital-u = "tailed-motion-serifed"
|
||||
capital-v = "curly-serifless"
|
||||
capital-w = "curly-serifless"
|
||||
capital-x = "curly-serifless"
|
||||
capital-y = "curly-serifless"
|
||||
capital-z = "curly-serifless-with-horizontal-crossbar"
|
||||
a = "double-storey-tailed"
|
||||
d = "toothed-serifed"
|
||||
f = "flat-hook-serifless"
|
||||
g = "single-storey-serifed"
|
||||
h = "straight-top-left-serifed"
|
||||
k = "curly-serifless"
|
||||
m = "top-left-serifed"
|
||||
n = "straight-top-left-serifed"
|
||||
p = "eared-serifless"
|
||||
q = "straight-serifless"
|
||||
u = "tailed-motion-serifed"
|
||||
v = "curly-serifless"
|
||||
w = "curly-serifless"
|
||||
x = "curly-serifless"
|
||||
y = "cursive-serifless"
|
||||
z = "curly-serifless-with-horizontal-crossbar"
|
||||
one = "no-base-long-top-serif"
|
||||
two = "straight-neck-serifless"
|
||||
seven = "straight-serifless-crossbar"
|
||||
nine = "open-contour"
|
||||
paren = "normal"
|
||||
|
||||
[buildPlans.IosevkaBerkeley.variants.oblique]
|
||||
paren = "normal"
|
||||
|
||||
[buildPlans.IosevkaBerkeley.weights.ExtraLight]
|
||||
shape = 200
|
||||
menu = 200
|
||||
css = 200
|
||||
|
||||
[buildPlans.IosevkaBerkeley.weights.Light]
|
||||
shape = 300
|
||||
menu = 300
|
||||
css = 300
|
||||
|
||||
[buildPlans.IosevkaBerkeley.weights.Regular]
|
||||
shape = 400
|
||||
menu = 400
|
||||
css = 400
|
||||
|
||||
[buildPlans.IosevkaBerkeley.weights.Medium]
|
||||
shape = 500
|
||||
menu = 500
|
||||
css = 500
|
||||
|
||||
[buildPlans.IosevkaBerkeley.weights.SemiBold]
|
||||
shape = 600
|
||||
menu = 600
|
||||
css = 600
|
||||
|
||||
[buildPlans.IosevkaBerkeley.weights.Bold]
|
||||
shape = 700
|
||||
menu = 700
|
||||
css = 700
|
||||
|
||||
[buildPlans.IosevkaBerkeley.widths.Normal]
|
||||
shape = 500
|
||||
menu = 5
|
||||
css = "normal"
|
||||
|
||||
[buildPlans.IosevkaBerkeley.widths.Extended]
|
||||
shape = 600
|
||||
menu = 7
|
||||
css = "expanded"
|
||||
|
||||
[buildPlans.IosevkaBerkeley.widths.Condensed]
|
||||
shape = 416
|
||||
menu = 3
|
||||
css = "condensed"
|
||||
|
||||
[buildPlans.IosevkaBerkeley.widths.SemiCondensed]
|
||||
shape = 456
|
||||
menu = 4
|
||||
css = "semi-condensed"
|
||||
46
dot_config/k9s/.k9s/config.yml
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
k9s:
|
||||
refreshRate: 2
|
||||
maxConnRetry: 5
|
||||
enableMouse: true
|
||||
headless: true
|
||||
logoless: true
|
||||
crumbsless: false
|
||||
readOnly: false
|
||||
noIcons: true
|
||||
logger:
|
||||
tail: 100
|
||||
buffer: 5000
|
||||
sinceSeconds: 300
|
||||
fullScreenLogs: false
|
||||
textWrap: false
|
||||
showTime: false
|
||||
currentContext: kubernetes-admin@kubernetes
|
||||
currentCluster: kubernetes
|
||||
clusters:
|
||||
kubernetes:
|
||||
namespace:
|
||||
active: ""
|
||||
favorites:
|
||||
- sccache
|
||||
- all
|
||||
- default
|
||||
view:
|
||||
active: pod
|
||||
featureGates:
|
||||
nodeShell: false
|
||||
shellPod:
|
||||
image: busybox:1.31
|
||||
command: []
|
||||
args: []
|
||||
namespace: default
|
||||
limits:
|
||||
cpu: 100m
|
||||
memory: 100Mi
|
||||
portForwardAddress: localhost
|
||||
thresholds:
|
||||
cpu:
|
||||
critical: 90
|
||||
warn: 70
|
||||
memory:
|
||||
critical: 90
|
||||
warn: 70
|
||||
51
dot_config/k9s/config.yml
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
k9s:
|
||||
refreshRate: 2
|
||||
maxConnRetry: 5
|
||||
enableMouse: true
|
||||
headless: false
|
||||
logoless: true
|
||||
crumbsless: false
|
||||
readOnly: false
|
||||
noExitOnCtrlC: false
|
||||
noIcons: true
|
||||
skipLatestRevCheck: false
|
||||
logger:
|
||||
tail: 100
|
||||
buffer: 5000
|
||||
sinceSeconds: 300
|
||||
fullScreenLogs: false
|
||||
textWrap: false
|
||||
showTime: false
|
||||
currentContext: gke_memvp-25499_us-central1-c_ke-cluster-1
|
||||
currentCluster: gke_memvp-25499_us-central1-c_ke-cluster-1
|
||||
clusters:
|
||||
gke_memvp-25499_us-central1-c_ke-cluster-1:
|
||||
namespace:
|
||||
active: all
|
||||
lockFavorites: false
|
||||
favorites:
|
||||
- backfill
|
||||
- all
|
||||
- default
|
||||
view:
|
||||
active: job
|
||||
featureGates:
|
||||
nodeShell: false
|
||||
shellPod:
|
||||
image: busybox:1.35.0
|
||||
command: []
|
||||
args: []
|
||||
namespace: default
|
||||
limits:
|
||||
cpu: 100m
|
||||
memory: 100Mi
|
||||
labels: {}
|
||||
portForwardAddress: localhost
|
||||
thresholds:
|
||||
cpu:
|
||||
critical: 90
|
||||
warn: 70
|
||||
memory:
|
||||
critical: 90
|
||||
warn: 70
|
||||
screenDumpDir: /tmp/k9s-screens-barak
|
||||
13
dot_config/k9s/hotkey.yml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
hotKey:
|
||||
shift-1:
|
||||
shortCut: Shift-1
|
||||
description: pods
|
||||
command: pods
|
||||
shift-2:
|
||||
shortCut: Shift-2
|
||||
description: deps
|
||||
command: dp
|
||||
shift-3:
|
||||
shortCut: Shift-3
|
||||
description: nodes
|
||||
command: nodes
|
||||
2853
dot_config/karabiner/assets/complex_modifications/1701202333.json
Normal file
3006
dot_config/karabiner/automatic_backups/karabiner_20231128.json
Normal file
3126
dot_config/karabiner/automatic_backups/karabiner_20231129.json
Normal file
3126
dot_config/karabiner/automatic_backups/karabiner_20231130.json
Normal file
3214
dot_config/karabiner/automatic_backups/karabiner_20240108.json
Normal file
3461
dot_config/karabiner/automatic_backups/karabiner_20240109.json
Normal file
3557
dot_config/karabiner/karabiner.json
Normal file
16
dot_config/ncspot/config.toml
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
[keybindings]
|
||||
"Esc" = "back"
|
||||
"Q" = "quit"
|
||||
"q" = "back"
|
||||
"1" = "focus queue"
|
||||
"2" = "focus search"
|
||||
"3" = "focus library"
|
||||
"i" = "insert"
|
||||
"b" = "goto album"
|
||||
"a" = "goto artist"
|
||||
"Space" = "playpause"
|
||||
"Enter" = "play"
|
||||
"p" = "play"
|
||||
"o" = "open selected"
|
||||
"Ctrl+f" = "seek +10000"
|
||||
"Ctrl+b" = "seek -10000"
|
||||
3
dot_config/rofi/config.rasi
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
//@theme "/home/barak/.local/share/rofi/themes/spotlight-dark.rasi"
|
||||
//@theme "/home/barak/.local/share/rofi/themes/rounded-blue-dark.rasi"
|
||||
@theme "/home/barak/.local/share/rofi/themes/spotlight-dark.rasi"
|
||||
1
dot_config/systemd/user/default.target.wants/ssh-agent.service
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
/home/barak/.config/systemd/user/ssh-agent.service
|
||||
10
dot_config/systemd/user/ssh-agent.service
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
[Unit]
|
||||
Description=SSH key agent
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket
|
||||
ExecStart=/usr/bin/ssh-agent -a $SSH_AUTH_SOCK
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
64
dot_config/terminator/config
Normal file
|
|
@ -0,0 +1,64 @@
|
|||
[global_config]
|
||||
focus = mouse
|
||||
tab_position = bottom
|
||||
title_transmit_bg_color = "#535d6c"
|
||||
title_inactive_fg_color = "#b8b8b8"
|
||||
title_inactive_bg_color = "#222222"
|
||||
enabled_plugins = LaunchpadCodeURLHandler, APTURLHandler, LaunchpadBugURLHandler
|
||||
[keybindings]
|
||||
cycle_next = <Primary>j
|
||||
cycle_prev = <Primary>k
|
||||
split_vert = ""
|
||||
close_term = <Primary><Shift>w
|
||||
paste = <Primary><Shift>v
|
||||
help = ""
|
||||
[profiles]
|
||||
[[default]]
|
||||
allow_bold = False
|
||||
background_darkness = 0.8
|
||||
background_type = transparent
|
||||
cursor_color = "#ffffff"
|
||||
font = Iosevka Berkeley Light 18
|
||||
foreground_color = "#ffffff"
|
||||
show_titlebar = False
|
||||
scrollbar_position = hidden
|
||||
scrollback_infinite = True
|
||||
use_system_font = False
|
||||
bold_is_bright = True
|
||||
[[4k]]
|
||||
background_darkness = 0.8
|
||||
background_type = transparent
|
||||
font = Inconsolata Medium 18
|
||||
foreground_color = "#ffffff"
|
||||
show_titlebar = False
|
||||
scrollbar_position = hidden
|
||||
scrollback_infinite = True
|
||||
use_system_font = False
|
||||
[[Large]]
|
||||
background_darkness = 0.8
|
||||
background_type = transparent
|
||||
font = Inconsolata Medium 32
|
||||
foreground_color = "#ffffff"
|
||||
show_titlebar = False
|
||||
scrollbar_position = hidden
|
||||
scrollback_infinite = True
|
||||
use_system_font = False
|
||||
[[Medium]]
|
||||
background_darkness = 0.8
|
||||
background_type = transparent
|
||||
font = Droid Sans Mono Dotted 14
|
||||
foreground_color = "#ffffff"
|
||||
show_titlebar = False
|
||||
scrollbar_position = hidden
|
||||
scrollback_infinite = True
|
||||
use_system_font = False
|
||||
[layouts]
|
||||
[[default]]
|
||||
[[[child1]]]
|
||||
parent = window0
|
||||
profile = default
|
||||
type = Terminal
|
||||
[[[window0]]]
|
||||
parent = ""
|
||||
type = Window
|
||||
[plugins]
|
||||
76
dot_config/tig/config
Normal file
|
|
@ -0,0 +1,76 @@
|
|||
# Vim-style keybindings for Tig
|
||||
#
|
||||
# To use these keybindings copy the file to your HOME directory and include
|
||||
# it from your ~/.tigrc file:
|
||||
#
|
||||
# $ cp contrib/vim.tigrc ~/.tigrc.vim
|
||||
# $ echo "source ~/.tigrc.vim" >> ~/.tigrc
|
||||
|
||||
bind generic h scroll-left
|
||||
bind generic j move-down
|
||||
bind generic k move-up
|
||||
bind generic l scroll-right
|
||||
|
||||
bind generic g none
|
||||
bind generic gg move-first-line
|
||||
bind generic gj next
|
||||
bind generic gk previous
|
||||
bind generic gp parent
|
||||
bind generic gP back
|
||||
bind generic gn view-next
|
||||
|
||||
bind main G move-last-line
|
||||
bind generic G move-last-line
|
||||
|
||||
bind generic <C-f> move-page-down
|
||||
bind generic <C-b> move-page-up
|
||||
|
||||
bind generic v none
|
||||
bind generic vm view-main
|
||||
bind generic vd view-diff
|
||||
bind generic vl view-log
|
||||
bind generic vt view-tree
|
||||
bind generic vb view-blob
|
||||
bind generic vx view-blame
|
||||
bind generic vr view-refs
|
||||
bind generic vs view-status
|
||||
bind generic vu view-stage
|
||||
bind generic vy view-stash
|
||||
bind generic vg view-grep
|
||||
bind generic vp view-pager
|
||||
bind generic vh view-help
|
||||
|
||||
bind generic o none
|
||||
bind generic oo :toggle sort-order
|
||||
bind generic os :toggle sort-field
|
||||
bind generic on :toggle line-number
|
||||
bind generic od :toggle date
|
||||
bind generic oa :toggle author
|
||||
bind generic og :toggle line-graphics
|
||||
bind generic of :toggle file-name
|
||||
bind generic op :toggle ignore-space
|
||||
bind generic oi :toggle id
|
||||
bind generic ot :toggle commit-title-overflow
|
||||
bind generic oF :toggle file-filter
|
||||
bind generic or :toggle commit-title-refs
|
||||
|
||||
bind generic @ none
|
||||
bind generic @j :/^@@
|
||||
bind generic @k :?^@@
|
||||
bind generic @- :toggle diff-context -1
|
||||
bind generic @+ :toggle diff-context +1
|
||||
|
||||
bind status u none
|
||||
bind stage u none
|
||||
bind generic uu status-update
|
||||
bind generic ur status-revert
|
||||
bind generic um status-merge
|
||||
bind generic ul stage-update-line
|
||||
bind generic us stage-split-chunk
|
||||
|
||||
bind generic c none
|
||||
bind generic cc !git commit
|
||||
bind generic ca !?@git commit --amend --no-edit
|
||||
|
||||
bind generic K view-help
|
||||
bind generic <C-w><C-w> view-next
|
||||
15
dot_config/xfce4/desktop/icons.screen0-2544x1399.rc
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
[xfdesktop-version-4.10.3+-rcfile_format]
|
||||
4.10.3+=true
|
||||
|
||||
[Trash]
|
||||
row=0
|
||||
col=0
|
||||
|
||||
[/]
|
||||
row=1
|
||||
col=0
|
||||
|
||||
[/home/barak]
|
||||
row=2
|
||||
col=0
|
||||
|
||||
6
dot_config/xfce4/panel/genmon-13.rc
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
Command=hostname -s
|
||||
UseLabel=0
|
||||
Text=hostname
|
||||
UpdatePeriod=60000
|
||||
Font=Sans Bold 16
|
||||
|
||||
68
dot_config/xfce4/panel/whiskermenu-1.rc
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
favorites=exo-web-browser.desktop,exo-mail-reader.desktop,exo-file-manager.desktop,pidgin.desktop,exo-terminal-emulator.desktop
|
||||
recent=xfce-mouse-settings.desktop,xfce-ui-settings.desktop,firefox.desktop,exo-terminal-emulator.desktop
|
||||
button-title=Applications Menu
|
||||
button-icon=xfce4-whiskermenu
|
||||
button-single-row=false
|
||||
show-button-title=false
|
||||
show-button-icon=true
|
||||
launcher-show-name=true
|
||||
launcher-show-description=false
|
||||
launcher-show-tooltip=true
|
||||
item-icon-size=1
|
||||
hover-switch-category=false
|
||||
category-show-name=true
|
||||
category-icon-size=0
|
||||
load-hierarchy=true
|
||||
recent-items-max=10
|
||||
favorites-in-recent=true
|
||||
display-recent-default=false
|
||||
position-search-alternate=true
|
||||
position-commands-alternate=false
|
||||
position-categories-alternate=false
|
||||
menu-width=400
|
||||
menu-height=500
|
||||
menu-opacity=100
|
||||
command-settings=xfce4-settings-manager
|
||||
show-command-settings=true
|
||||
command-lockscreen=xflock4
|
||||
show-command-lockscreen=true
|
||||
command-switchuser=dm-tool switch-to-greeter
|
||||
show-command-switchuser=false
|
||||
command-logout=xfce4-session-logout
|
||||
show-command-logout=true
|
||||
command-menueditor=menulibre
|
||||
show-command-menueditor=true
|
||||
command-profile=mugshot
|
||||
show-command-profile=true
|
||||
search-actions=5
|
||||
|
||||
[action0]
|
||||
name=Man Pages
|
||||
pattern=#
|
||||
command=exo-open --launch TerminalEmulator man %s
|
||||
regex=false
|
||||
|
||||
[action1]
|
||||
name=Web Search
|
||||
pattern=?
|
||||
command=exo-open --launch WebBrowser https://duckduckgo.com/?q=%u
|
||||
regex=false
|
||||
|
||||
[action2]
|
||||
name=Wikipedia
|
||||
pattern=!w
|
||||
command=exo-open --launch WebBrowser https://en.wikipedia.org/wiki/%u
|
||||
regex=false
|
||||
|
||||
[action3]
|
||||
name=Run in Terminal
|
||||
pattern=!
|
||||
command=exo-open --launch TerminalEmulator %s
|
||||
regex=false
|
||||
|
||||
[action4]
|
||||
name=Open URI
|
||||
pattern=^(file|http|https):\\/\\/(.*)$
|
||||
command=exo-open \\0
|
||||
regex=true
|
||||
|
||||
58
dot_config/xfce4/terminal/accels.scm
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
; xfce4-terminal GtkAccelMap rc-file -*- scheme -*-
|
||||
; this file is an automated accelerator map dump
|
||||
;
|
||||
(gtk_accel_path "<Actions>/terminal-window/goto-tab-2" "<Alt>2")
|
||||
(gtk_accel_path "<Actions>/terminal-window/goto-tab-6" "<Alt>6")
|
||||
; (gtk_accel_path "<Actions>/terminal-window/copy-input" "")
|
||||
; (gtk_accel_path "<Actions>/terminal-window/close-other-tabs" "")
|
||||
; (gtk_accel_path "<Actions>/terminal-window/move-tab-right" "<Primary><Shift>Page_Down")
|
||||
(gtk_accel_path "<Actions>/terminal-window/goto-tab-7" "<Alt>7")
|
||||
; (gtk_accel_path "<Actions>/terminal-window/set-title-color" "")
|
||||
; (gtk_accel_path "<Actions>/terminal-window/edit-menu" "")
|
||||
; (gtk_accel_path "<Actions>/terminal-window/zoom-menu" "")
|
||||
(gtk_accel_path "<Actions>/terminal-window/goto-tab-1" "<Alt>1")
|
||||
; (gtk_accel_path "<Actions>/terminal-window/fullscreen" "F11")
|
||||
; (gtk_accel_path "<Actions>/terminal-window/read-only" "")
|
||||
; (gtk_accel_path "<Actions>/terminal-window/preferences" "")
|
||||
; (gtk_accel_path "<Actions>/terminal-window/reset-and-clear" "")
|
||||
; (gtk_accel_path "<Actions>/terminal-window/about" "")
|
||||
(gtk_accel_path "<Actions>/terminal-window/goto-tab-5" "<Alt>5")
|
||||
; (gtk_accel_path "<Actions>/terminal-window/close-window" "<Primary><Shift>q")
|
||||
; (gtk_accel_path "<Actions>/terminal-window/reset" "")
|
||||
; (gtk_accel_path "<Actions>/terminal-window/save-contents" "")
|
||||
(gtk_accel_path "<Actions>/terminal-window/toggle-menubar" "F10")
|
||||
; (gtk_accel_path "<Actions>/terminal-window/copy" "<Primary><Shift>c")
|
||||
; (gtk_accel_path "<Actions>/terminal-window/copy-html" "")
|
||||
; (gtk_accel_path "<Actions>/terminal-window/last-active-tab" "")
|
||||
; (gtk_accel_path "<Actions>/terminal-window/show-borders" "")
|
||||
; (gtk_accel_path "<Actions>/terminal-window/view-menu" "")
|
||||
; (gtk_accel_path "<Actions>/terminal-window/detach-tab" "<Primary><Shift>d")
|
||||
; (gtk_accel_path "<Actions>/terminal-window/scroll-on-output" "")
|
||||
; (gtk_accel_path "<Actions>/terminal-window/show-toolbar" "")
|
||||
; (gtk_accel_path "<Actions>/terminal-window/next-tab" "<Primary>Page_Down")
|
||||
; (gtk_accel_path "<Actions>/terminal-window/tabs-menu" "")
|
||||
; (gtk_accel_path "<Actions>/terminal-window/search-next" "")
|
||||
; (gtk_accel_path "<Actions>/terminal-window/search-prev" "")
|
||||
; (gtk_accel_path "<Actions>/terminal-window/undo-close-tab" "")
|
||||
; (gtk_accel_path "<Actions>/terminal-window/set-title" "<Primary><Shift>s")
|
||||
(gtk_accel_path "<Actions>/terminal-window/contents" "")
|
||||
; (gtk_accel_path "<Actions>/terminal-window/zoom-reset" "<Primary>0")
|
||||
; (gtk_accel_path "<Actions>/terminal-window/close-tab" "<Primary><Shift>w")
|
||||
; (gtk_accel_path "<Actions>/terminal-window/new-tab" "<Primary><Shift>t")
|
||||
; (gtk_accel_path "<Actions>/terminal-window/new-window" "<Primary><Shift>n")
|
||||
; (gtk_accel_path "<Actions>/terminal-window/terminal-menu" "")
|
||||
; (gtk_accel_path "<Actions>/terminal-window/show-menubar" "")
|
||||
; (gtk_accel_path "<Actions>/terminal-window/select-all" "<Primary><Shift>a")
|
||||
; (gtk_accel_path "<Actions>/terminal-window/paste" "<Primary><Shift>v")
|
||||
(gtk_accel_path "<Actions>/terminal-window/goto-tab-9" "<Alt>9")
|
||||
; (gtk_accel_path "<Actions>/terminal-window/move-tab-left" "<Primary><Shift>Page_Up")
|
||||
; (gtk_accel_path "<Actions>/terminal-window/search" "<Primary><Shift>f")
|
||||
; (gtk_accel_path "<Actions>/terminal-window/file-menu" "")
|
||||
; (gtk_accel_path "<Actions>/terminal-window/prev-tab" "<Primary>Page_Up")
|
||||
; (gtk_accel_path "<Actions>/terminal-window/paste-selection" "")
|
||||
; (gtk_accel_path "<Actions>/terminal-window/zoom-in" "<Primary>plus")
|
||||
; (gtk_accel_path "<Actions>/terminal-window/zoom-out" "<Primary>minus")
|
||||
(gtk_accel_path "<Actions>/terminal-window/goto-tab-8" "<Alt>8")
|
||||
; (gtk_accel_path "<Actions>/terminal-window/help-menu" "")
|
||||
(gtk_accel_path "<Actions>/terminal-window/goto-tab-4" "<Alt>4")
|
||||
(gtk_accel_path "<Actions>/terminal-window/goto-tab-3" "<Alt>3")
|
||||
101
dot_config/xfce4/xfconf/xfce-perchannel-xml/displays.xml
Normal file
|
|
@ -0,0 +1,101 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<channel name="displays" version="1.0">
|
||||
<property name="Default" type="empty">
|
||||
<property name="eDP1" type="string" value="1. LGD 14"">
|
||||
<property name="Active" type="bool" value="false"/>
|
||||
<property name="Resolution" type="string" value="2560x1440"/>
|
||||
<property name="RefreshRate" type="double" value="59.997716"/>
|
||||
<property name="Rotation" type="int" value="0"/>
|
||||
<property name="Reflection" type="string" value="0"/>
|
||||
<property name="Primary" type="bool" value="true"/>
|
||||
<property name="Position" type="empty">
|
||||
<property name="X" type="int" value="0"/>
|
||||
<property name="Y" type="int" value="0"/>
|
||||
</property>
|
||||
</property>
|
||||
<property name="DP2" type="string" value="2. Hewlett Packard 27"">
|
||||
<property name="Active" type="bool" value="true"/>
|
||||
<property name="Resolution" type="string" value="3840x2160"/>
|
||||
<property name="RefreshRate" type="double" value="59.996625"/>
|
||||
<property name="Rotation" type="int" value="0"/>
|
||||
<property name="Reflection" type="string" value="0"/>
|
||||
<property name="Primary" type="bool" value="false"/>
|
||||
<property name="Position" type="empty">
|
||||
<property name="X" type="int" value="0"/>
|
||||
<property name="Y" type="int" value="0"/>
|
||||
</property>
|
||||
</property>
|
||||
<property name="HDMI-1" type="string" value="Goldstar Company Ltd 27"">
|
||||
<property name="Active" type="bool" value="true"/>
|
||||
<property name="EDID" type="string" value="8b6223e9c3908f0c17cb0487baafb4b7dae247a4"/>
|
||||
<property name="Resolution" type="string" value="3840x2160"/>
|
||||
<property name="RefreshRate" type="double" value="60.000000"/>
|
||||
<property name="Rotation" type="int" value="0"/>
|
||||
<property name="Reflection" type="string" value="0"/>
|
||||
<property name="Primary" type="bool" value="true"/>
|
||||
<property name="Position" type="empty">
|
||||
<property name="X" type="int" value="0"/>
|
||||
<property name="Y" type="int" value="0"/>
|
||||
</property>
|
||||
<property name="Scale" type="empty">
|
||||
<property name="X" type="double" value="1.000000"/>
|
||||
<property name="Y" type="double" value="1.000000"/>
|
||||
</property>
|
||||
</property>
|
||||
<property name="DP-3" type="string" value="DO NOT USE - RTK 27"">
|
||||
<property name="Active" type="bool" value="true"/>
|
||||
<property name="EDID" type="string" value="f396435bdc58149bc1f56157ea28cd14af2aaf3d"/>
|
||||
<property name="Resolution" type="string" value="3840x2160"/>
|
||||
<property name="RefreshRate" type="double" value="59.981998"/>
|
||||
<property name="Rotation" type="int" value="0"/>
|
||||
<property name="Reflection" type="string" value="0"/>
|
||||
<property name="Primary" type="bool" value="false"/>
|
||||
<property name="Position" type="empty">
|
||||
<property name="X" type="int" value="0"/>
|
||||
<property name="Y" type="int" value="0"/>
|
||||
</property>
|
||||
<property name="Scale" type="empty">
|
||||
<property name="X" type="double" value="1.000000"/>
|
||||
<property name="Y" type="double" value="1.000000"/>
|
||||
</property>
|
||||
</property>
|
||||
</property>
|
||||
<property name="ActiveProfile" type="string" value="Default"/>
|
||||
<property name="Fallback" type="empty">
|
||||
<property name="HDMI-1" type="string" value="Goldstar Company Ltd 27"">
|
||||
<property name="Active" type="bool" value="true"/>
|
||||
<property name="EDID" type="string" value="8b6223e9c3908f0c17cb0487baafb4b7dae247a4"/>
|
||||
<property name="Resolution" type="string" value="3840x2160"/>
|
||||
<property name="RefreshRate" type="double" value="60.000000"/>
|
||||
<property name="Rotation" type="int" value="0"/>
|
||||
<property name="Reflection" type="string" value="0"/>
|
||||
<property name="Primary" type="bool" value="true"/>
|
||||
<property name="Position" type="empty">
|
||||
<property name="X" type="int" value="0"/>
|
||||
<property name="Y" type="int" value="0"/>
|
||||
</property>
|
||||
<property name="Scale" type="empty">
|
||||
<property name="X" type="double" value="1.000000"/>
|
||||
<property name="Y" type="double" value="1.000000"/>
|
||||
</property>
|
||||
</property>
|
||||
<property name="DP-3" type="string" value="DO NOT USE - RTK 27"">
|
||||
<property name="Active" type="bool" value="true"/>
|
||||
<property name="EDID" type="string" value="f396435bdc58149bc1f56157ea28cd14af2aaf3d"/>
|
||||
<property name="Resolution" type="string" value="3840x2160"/>
|
||||
<property name="RefreshRate" type="double" value="59.981998"/>
|
||||
<property name="Rotation" type="int" value="0"/>
|
||||
<property name="Reflection" type="string" value="0"/>
|
||||
<property name="Primary" type="bool" value="false"/>
|
||||
<property name="Position" type="empty">
|
||||
<property name="X" type="int" value="0"/>
|
||||
<property name="Y" type="int" value="0"/>
|
||||
</property>
|
||||
<property name="Scale" type="empty">
|
||||
<property name="X" type="double" value="1.000000"/>
|
||||
<property name="Y" type="double" value="1.000000"/>
|
||||
</property>
|
||||
</property>
|
||||
</property>
|
||||
</channel>
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<channel name="keyboards" version="1.0">
|
||||
<property name="Default" type="empty">
|
||||
<property name="Numlock" type="bool" value="false"/>
|
||||
</property>
|
||||
</channel>
|
||||
11
dot_config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<channel name="thunar" version="1.0">
|
||||
<property name="misc-volume-management" type="empty"/>
|
||||
<property name="shortcuts-icon-size" type="empty"/>
|
||||
<property name="last-view" type="string" value="ThunarIconView"/>
|
||||
<property name="last-icon-view-zoom-level" type="string" value="THUNAR_ZOOM_LEVEL_75_PERCENT"/>
|
||||
<property name="last-window-width" type="int" value="1274"/>
|
||||
<property name="last-window-height" type="int" value="2121"/>
|
||||
<property name="last-window-maximized" type="bool" value="false"/>
|
||||
</channel>
|
||||
|
|
@ -0,0 +1,56 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<channel name="xfce4-desktop" version="1.0">
|
||||
<property name="desktop-icons" type="empty">
|
||||
<property name="style" type="empty"/>
|
||||
<property name="file-icons" type="empty">
|
||||
<property name="show-home" type="empty"/>
|
||||
<property name="show-filesystem" type="empty"/>
|
||||
<property name="show-removable" type="empty"/>
|
||||
<property name="show-trash" type="empty"/>
|
||||
</property>
|
||||
<property name="icon-size" type="empty"/>
|
||||
<property name="tooltip-size" type="empty"/>
|
||||
</property>
|
||||
<property name="backdrop" type="empty">
|
||||
<property name="screen0" type="empty">
|
||||
<property name="monitor0" type="empty">
|
||||
<property name="image-path" type="empty"/>
|
||||
<property name="image-style" type="empty"/>
|
||||
<property name="image-show" type="empty"/>
|
||||
<property name="workspace0" type="empty">
|
||||
<property name="color-style" type="int" value="0"/>
|
||||
<property name="image-style" type="int" value="5"/>
|
||||
<property name="last-image" type="string" value="/usr/share/xfce4/backdrops/xubuntu-wallpaper.png"/>
|
||||
</property>
|
||||
</property>
|
||||
<property name="monitor1" type="empty">
|
||||
<property name="image-path" type="empty"/>
|
||||
<property name="image-style" type="empty"/>
|
||||
<property name="image-show" type="empty"/>
|
||||
</property>
|
||||
<property name="monitorHDMI-1" type="empty">
|
||||
<property name="workspace0" type="empty">
|
||||
<property name="color-style" type="int" value="0"/>
|
||||
<property name="image-style" type="int" value="5"/>
|
||||
<property name="last-image" type="string" value="/usr/share/backgrounds/xfce/xfce-verticals.png"/>
|
||||
</property>
|
||||
<property name="workspace1" type="empty">
|
||||
<property name="color-style" type="int" value="0"/>
|
||||
<property name="image-style" type="int" value="5"/>
|
||||
<property name="last-image" type="string" value="/usr/share/backgrounds/xfce/xfce-verticals.png"/>
|
||||
</property>
|
||||
<property name="workspace2" type="empty">
|
||||
<property name="color-style" type="int" value="0"/>
|
||||
<property name="image-style" type="int" value="5"/>
|
||||
<property name="last-image" type="string" value="/usr/share/backgrounds/xfce/xfce-verticals.png"/>
|
||||
</property>
|
||||
<property name="workspace3" type="empty">
|
||||
<property name="color-style" type="int" value="0"/>
|
||||
<property name="image-style" type="int" value="5"/>
|
||||
<property name="last-image" type="string" value="/usr/share/backgrounds/xfce/xfce-verticals.png"/>
|
||||
</property>
|
||||
</property>
|
||||
</property>
|
||||
</property>
|
||||
</channel>
|
||||
|
|
@ -0,0 +1,211 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<channel name="xfce4-keyboard-shortcuts" version="1.0">
|
||||
<property name="commands" type="empty">
|
||||
<property name="default" type="empty">
|
||||
<property name="<Alt>F1" type="empty"/>
|
||||
<property name="<Alt>F2" type="empty">
|
||||
<property name="startup-notify" type="empty"/>
|
||||
</property>
|
||||
<property name="<Alt>F3" type="empty">
|
||||
<property name="startup-notify" type="empty"/>
|
||||
</property>
|
||||
<property name="<Primary><Alt>Delete" type="empty"/>
|
||||
<property name="<Primary><Alt>l" type="empty"/>
|
||||
<property name="XF86Display" type="empty"/>
|
||||
<property name="<Super>p" type="empty"/>
|
||||
<property name="<Primary>Escape" type="empty"/>
|
||||
<property name="XF86WWW" type="empty"/>
|
||||
<property name="XF86Mail" type="empty"/>
|
||||
<property name="<Primary><Alt>Escape" type="empty"/>
|
||||
<property name="Print" type="empty"/>
|
||||
<property name="<Alt>Print" type="empty"/>
|
||||
<property name="XF86HomePage" type="empty"/>
|
||||
<property name="<Super>w" type="empty"/>
|
||||
<property name="<Super>m" type="empty"/>
|
||||
<property name="XF86Explorer" type="empty"/>
|
||||
<property name="<Super>f" type="empty"/>
|
||||
<property name="<Super>F1" type="empty"/>
|
||||
<property name="<Primary><Alt>t" type="empty"/>
|
||||
<property name="<Super>t" type="empty"/>
|
||||
<property name="<Super>r" type="empty"/>
|
||||
<property name="<Super>e" type="empty"/>
|
||||
<property name="XF86Calculator" type="empty"/>
|
||||
<property name="XF86Music" type="empty"/>
|
||||
<property name="<Super>1" type="empty"/>
|
||||
<property name="XF86Messenger" type="empty"/>
|
||||
<property name="<Super>2" type="empty"/>
|
||||
<property name="<Super>3" type="empty"/>
|
||||
<property name="<Super>4" type="empty"/>
|
||||
</property>
|
||||
<property name="custom" type="empty">
|
||||
<property name="Print" type="string" value="xfce4-screenshooter -f"/>
|
||||
<property name="<Alt>Print" type="string" value="xfce4-screenshooter -w"/>
|
||||
<property name="<Primary><Alt>Delete" type="string" value="xflock4"/>
|
||||
<property name="XF86Explorer" type="string" value="exo-open --launch FileManager"/>
|
||||
<property name="<Super>e" type="string" value="mousepad"/>
|
||||
<property name="<Super>f" type="string" value="exo-open --launch FileManager"/>
|
||||
<property name="<Alt>F3" type="string" value="xfce4-appfinder">
|
||||
<property name="startup-notify" type="bool" value="true"/>
|
||||
</property>
|
||||
<property name="<Alt>F2" type="string" value="xfrun4">
|
||||
<property name="startup-notify" type="bool" value="true"/>
|
||||
</property>
|
||||
<property name="<Primary><Alt>l" type="string" value="xflock4"/>
|
||||
<property name="<Super>m" type="string" value="exo-open --launch MailReader"/>
|
||||
<property name="<Super>1" type="string" value="parole"/>
|
||||
<property name="<Super>2" type="string" value="pidgin"/>
|
||||
<property name="<Super>3" type="string" value="libreoffice --writer"/>
|
||||
<property name="<Super>4" type="string" value="libreoffice --calc"/>
|
||||
<property name="<Primary><Alt>t" type="string" value="exo-open --launch TerminalEmulator"/>
|
||||
<property name="<Super>r" type="string" value="xfce4-appfinder"/>
|
||||
<property name="<Super>t" type="string" value="exo-open --launch TerminalEmulator"/>
|
||||
<property name="<Super>p" type="string" value="xfce4-display-settings --minimal"/>
|
||||
<property name="<Super>w" type="string" value="exo-open --launch WebBrowser"/>
|
||||
<property name="<Primary>Escape" type="string" value="xfce4-popup-whiskermenu"/>
|
||||
<property name="XF86Display" type="string" value="xfce4-display-settings --minimal"/>
|
||||
<property name="<Alt>F1" type="string" value="xfce4-popup-applicationsmenu"/>
|
||||
<property name="XF86WWW" type="string" value="exo-open --launch WebBrowser"/>
|
||||
<property name="XF86Mail" type="string" value="exo-open --launch MailReader"/>
|
||||
<property name="<Primary><Alt>Escape" type="string" value="xkill"/>
|
||||
<property name="XF86Messenger" type="string" value="pidgin"/>
|
||||
<property name="XF86Calculator" type="string" value="mate-calc"/>
|
||||
<property name="XF86Music" type="string" value="parole"/>
|
||||
<property name="XF86HomePage" type="string" value="exo-open --launch WebBrowser"/>
|
||||
<property name="<Super>F1" type="string" value="xfce4-find-cursor"/>
|
||||
<property name="override" type="bool" value="true"/>
|
||||
</property>
|
||||
</property>
|
||||
<property name="xfwm4" type="empty">
|
||||
<property name="default" type="empty">
|
||||
<property name="<Alt>Insert" type="empty"/>
|
||||
<property name="Escape" type="empty"/>
|
||||
<property name="Left" type="empty"/>
|
||||
<property name="Right" type="empty"/>
|
||||
<property name="Up" type="empty"/>
|
||||
<property name="Down" type="empty"/>
|
||||
<property name="<Alt>Tab" type="empty"/>
|
||||
<property name="<Alt><Shift>Tab" type="empty"/>
|
||||
<property name="<Alt>Delete" type="empty"/>
|
||||
<property name="<Primary><Alt>Down" type="empty"/>
|
||||
<property name="<Primary><Alt>Left" type="empty"/>
|
||||
<property name="<Shift><Alt>Page_Down" type="empty"/>
|
||||
<property name="<Alt>F4" type="empty"/>
|
||||
<property name="<Alt>F6" type="empty"/>
|
||||
<property name="<Alt>F7" type="empty"/>
|
||||
<property name="<Alt>F8" type="empty"/>
|
||||
<property name="<Alt>F9" type="empty"/>
|
||||
<property name="<Alt>F10" type="empty"/>
|
||||
<property name="<Alt>F11" type="empty"/>
|
||||
<property name="<Alt>F12" type="empty"/>
|
||||
<property name="<Primary><Shift><Alt>Left" type="empty"/>
|
||||
<property name="<Primary><Alt>End" type="empty"/>
|
||||
<property name="<Primary><Alt>Home" type="empty"/>
|
||||
<property name="<Primary><Shift><Alt>Right" type="empty"/>
|
||||
<property name="<Primary><Shift><Alt>Up" type="empty"/>
|
||||
<property name="<Primary><Alt>KP_1" type="empty"/>
|
||||
<property name="<Primary><Alt>KP_2" type="empty"/>
|
||||
<property name="<Primary><Alt>KP_3" type="empty"/>
|
||||
<property name="<Primary><Alt>KP_4" type="empty"/>
|
||||
<property name="<Primary><Alt>KP_5" type="empty"/>
|
||||
<property name="<Primary><Alt>KP_6" type="empty"/>
|
||||
<property name="<Primary><Alt>KP_7" type="empty"/>
|
||||
<property name="<Primary><Alt>KP_8" type="empty"/>
|
||||
<property name="<Primary><Alt>KP_9" type="empty"/>
|
||||
<property name="<Alt>space" type="empty"/>
|
||||
<property name="<Shift><Alt>Page_Up" type="empty"/>
|
||||
<property name="<Primary><Alt>Right" type="empty"/>
|
||||
<property name="<Primary><Alt>d" type="empty"/>
|
||||
<property name="<Primary><Alt>Up" type="empty"/>
|
||||
<property name="<Super>Tab" type="empty"/>
|
||||
<property name="<Primary>F1" type="empty"/>
|
||||
<property name="<Primary>F2" type="empty"/>
|
||||
<property name="<Primary>F3" type="empty"/>
|
||||
<property name="<Primary>F4" type="empty"/>
|
||||
<property name="<Primary>F5" type="empty"/>
|
||||
<property name="<Primary>F6" type="empty"/>
|
||||
<property name="<Primary>F7" type="empty"/>
|
||||
<property name="<Primary>F8" type="empty"/>
|
||||
<property name="<Primary>F9" type="empty"/>
|
||||
<property name="<Primary>F10" type="empty"/>
|
||||
<property name="<Primary>F11" type="empty"/>
|
||||
<property name="<Primary>F12" type="empty"/>
|
||||
<property name="<Alt>F5" type="empty"/>
|
||||
<property name="<Super>KP_1" type="empty"/>
|
||||
<property name="<Super>Down" type="empty"/>
|
||||
<property name="<Super>KP_3" type="empty"/>
|
||||
<property name="<Super>Left" type="empty"/>
|
||||
<property name="<Super>Right" type="empty"/>
|
||||
<property name="<Super>KP_7" type="empty"/>
|
||||
<property name="<Super>Up" type="empty"/>
|
||||
<property name="<Super>KP_9" type="empty"/>
|
||||
</property>
|
||||
<property name="custom" type="empty">
|
||||
<property name="Up" type="string" value="up_key"/>
|
||||
<property name="<Primary><Alt>KP_9" type="string" value="move_window_workspace_9_key"/>
|
||||
<property name="<Super>KP_7" type="string" value="tile_up_left_key"/>
|
||||
<property name="Left" type="string" value="left_key"/>
|
||||
<property name="<Super>KP_9" type="string" value="tile_up_right_key"/>
|
||||
<property name="<Primary><Alt>KP_7" type="string" value="move_window_workspace_7_key"/>
|
||||
<property name="<Primary>F3" type="string" value="workspace_3_key"/>
|
||||
<property name="<Super>Up" type="string" value="tile_up_key"/>
|
||||
<property name="<Alt>Tab" type="string" value="cycle_windows_key"/>
|
||||
<property name="<Primary><Alt>KP_6" type="string" value="move_window_workspace_6_key"/>
|
||||
<property name="<Alt>Insert" type="string" value="add_workspace_key"/>
|
||||
<property name="<Primary><Alt>Right" type="string" value="right_workspace_key"/>
|
||||
<property name="<Primary><Shift><Alt>Right" type="string" value="move_window_right_key"/>
|
||||
<property name="<Primary><Alt>d" type="string" value="show_desktop_key"/>
|
||||
<property name="<Primary><Alt>Up" type="string" value="up_workspace_key"/>
|
||||
<property name="<Primary><Alt>KP_8" type="string" value="move_window_workspace_8_key"/>
|
||||
<property name="<Primary><Alt>KP_4" type="string" value="move_window_workspace_4_key"/>
|
||||
<property name="<Alt><Shift>Tab" type="string" value="cycle_reverse_windows_key"/>
|
||||
<property name="<Primary><Alt>KP_3" type="string" value="move_window_workspace_3_key"/>
|
||||
<property name="<Primary><Alt>Home" type="string" value="move_window_prev_workspace_key"/>
|
||||
<property name="<Super>Right" type="string" value="tile_right_key"/>
|
||||
<property name="<Primary><Alt>Down" type="string" value="down_workspace_key"/>
|
||||
<property name="<Alt>F5" type="string" value="maximize_horiz_key"/>
|
||||
<property name="<Primary><Shift><Alt>Left" type="string" value="move_window_left_key"/>
|
||||
<property name="<Alt>F11" type="string" value="fullscreen_key"/>
|
||||
<property name="<Super>Down" type="string" value="tile_down_key"/>
|
||||
<property name="<Alt>F6" type="string" value="maximize_vert_key"/>
|
||||
<property name="<Alt>F4" type="string" value="close_window_key"/>
|
||||
<property name="<Alt>F12" type="string" value="above_key"/>
|
||||
<property name="Escape" type="string" value="cancel_key"/>
|
||||
<property name="<Alt>F7" type="string" value="maximize_window_key"/>
|
||||
<property name="<Alt>F8" type="string" value="stick_window_key"/>
|
||||
<property name="<Primary><Alt>End" type="string" value="move_window_next_workspace_key"/>
|
||||
<property name="<Primary>F11" type="string" value="workspace_11_key"/>
|
||||
<property name="<Primary>F10" type="string" value="workspace_10_key"/>
|
||||
<property name="<Super>Tab" type="string" value="switch_window_key"/>
|
||||
<property name="<Alt>F9" type="string" value="hide_window_key"/>
|
||||
<property name="<Primary><Shift><Alt>Up" type="string" value="move_window_up_key"/>
|
||||
<property name="Down" type="string" value="down_key"/>
|
||||
<property name="<Shift><Alt>Page_Down" type="string" value="lower_window_key"/>
|
||||
<property name="Right" type="string" value="right_key"/>
|
||||
<property name="<Primary>F6" type="string" value="workspace_6_key"/>
|
||||
<property name="<Primary>F12" type="string" value="workspace_12_key"/>
|
||||
<property name="<Primary>F1" type="string" value="workspace_1_key"/>
|
||||
<property name="<Primary><Alt>Left" type="string" value="left_workspace_key"/>
|
||||
<property name="<Primary>F2" type="string" value="workspace_2_key"/>
|
||||
<property name="<Primary>F4" type="string" value="workspace_4_key"/>
|
||||
<property name="<Primary>F5" type="string" value="workspace_5_key"/>
|
||||
<property name="<Super>Left" type="string" value="tile_left_key"/>
|
||||
<property name="<Primary>F7" type="string" value="workspace_7_key"/>
|
||||
<property name="<Primary>F8" type="string" value="workspace_8_key"/>
|
||||
<property name="<Primary>F9" type="string" value="workspace_9_key"/>
|
||||
<property name="<Primary><Alt>KP_1" type="string" value="move_window_workspace_1_key"/>
|
||||
<property name="<Super>KP_1" type="string" value="tile_down_left_key"/>
|
||||
<property name="<Shift><Alt>Page_Up" type="string" value="raise_window_key"/>
|
||||
<property name="<Super>KP_3" type="string" value="tile_down_right_key"/>
|
||||
<property name="<Primary><Alt>KP_2" type="string" value="move_window_workspace_2_key"/>
|
||||
<property name="<Alt>Delete" type="string" value="del_workspace_key"/>
|
||||
<property name="<Alt>space" type="string" value="popup_menu_key"/>
|
||||
<property name="<Primary><Alt>KP_5" type="string" value="move_window_workspace_5_key"/>
|
||||
<property name="override" type="bool" value="true"/>
|
||||
</property>
|
||||
</property>
|
||||
<property name="providers" type="array">
|
||||
<value type="string" value="xfwm4"/>
|
||||
<value type="string" value="commands"/>
|
||||
</property>
|
||||
</channel>
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<channel name="xfce4-notifyd" version="1.0">
|
||||
<property name="notify-location" type="empty"/>
|
||||
<property name="theme" type="empty"/>
|
||||
<property name="initial-opacity" type="empty"/>
|
||||
<property name="applications" type="empty">
|
||||
<property name="known_applications" type="array">
|
||||
<value type="string" value="Firefox"/>
|
||||
<value type="string" value="google-chrome"/>
|
||||
<value type="string" value="nm-applet"/>
|
||||
<value type="string" value="notify-send"/>
|
||||
<value type="string" value="org.gnome.Evolution-alarm-notify"/>
|
||||
<value type="string" value="Spotify"/>
|
||||
<value type="string" value="Xfce volume control"/>
|
||||
<value type="string" value="xfce4-settings-helper"/>
|
||||
</property>
|
||||
</property>
|
||||
</channel>
|
||||