Compare commits

...

2 Commits

Author SHA1 Message Date
josiah 2989b18a8c Misc.
2 years ago
josiah 31067ca49e Update keys, awesome config.
2 years ago

@ -1,4 +1,4 @@
-- If LuaRocks is installed, make sure that packages installed through it are
-- If LuaRocks is installed, make sure that packages installed through it are
-- found (e.g. lgi). If LuaRocks is not installed, do nothing.
pcall(require, "luarocks.loader")
@ -388,7 +388,7 @@ globalkeys = gears.table.join(
awful.key({ modkey, }, "Escape", awful.tag.history.restore,
{description = "go back", group = "tag"}),
awful.key({ "Mod1", }, "Tab",
awful.key({ "Control","Mod1", "Shift", "Mod4"}, "o",
function ()
awful.client.focus.byidx( 1)
end,
@ -412,7 +412,7 @@ globalkeys = gears.table.join(
{description = "focus the next screen", group = "screen"}),
awful.key({ modkey, "Control" }, "k", function () awful.screen.focus_relative(-1) end,
{description = "focus the previous screen", group = "screen"}),
awful.key({ modkey, }, "u", awful.client.urgent.jumpto,
awful.key({ "Control","Mod1", "Shift", "Mod4" }, "u", awful.client.urgent.jumpto,
{description = "jump to urgent client", group = "client"}),
awful.key({ modkey, }, "j",
function ()
@ -470,6 +470,7 @@ globalkeys = gears.table.join(
awful.key({ modkey, "Shift" }, "space", function () awful.layout.inc(-1) end,
{description = "select previous", group = "layout"}),
-- this will restore a client on the active tag + focus it
awful.key({ "Control","Mod1", "Shift", "Mod4" }, "n",
function ()
local c = awful.client.restore()
@ -486,15 +487,18 @@ globalkeys = gears.table.join(
awful.key({ modkey }, "r", function () awful.screen.focused().mypromptbox:run() end,
{description = "run prompt", group = "launcher"}),
awful.key({ modkey }, "x",
function ()
awful.prompt.run {
prompt = "Run Lua code: ",
textbox = awful.screen.focused().mypromptbox.widget,
exe_callback = awful.util.eval,
history_path = awful.util.get_cache_dir() .. "/history_eval"
}
end))
-- This is maybe something usefull for folks but honestly always gets in my way. Just commenting out.
-- awful.key({ modkey }, "x",
-- function ()
-- awful.prompt.run {
-- prompt = "Run Lua code: ",
-- textbox = awful.screen.focused().mypromptbox.widget,
-- exe_callback = awful.util.eval,
-- history_path = awful.util.get_cache_dir() .. "/history_eval"
-- }
-- end)
)
-- {description = "lua execute prompt", group = "awesome"}),
-- Menubar
-- awful.key({ modkey }, "p", function() menubar.show() end,

@ -12,7 +12,7 @@
'(epg-gpg-program "/usr/local/bin/gpg")
'(global-hl-line-mode t)
'(org-agenda-files
'("/home/josiah/dhd/org/big-bend-notes.org" "/home/josiah/dhd/org/documentation.org" "/home/josiah/dhd/org/finances.org" "/home/josiah/dhd/org/fitness.org" "/home/josiah/dhd/org/housing.org" "/home/josiah/dhd/org/hoyden.org" "/home/josiah/dhd/org/jlj-template.org" "/home/josiah/dhd/org/pagedout.org" "/home/josiah/dhd/org/pagedout2.org" "/home/josiah/dhd/org/personal.org" "/home/josiah/dhd/org/refile-beorg.org" "/home/josiah/dhd/org/someday.org" "/home/josiah/dhd/org/stjohns-trello.org" "/home/josiah/dhd/org/stjohns.org" "/home/josiah/dhd/org/webwiki.org" "/home/josiah/dhd/org/work.org"))
'("/home/josiah/dhd/org/big-bend-notes.org" "/home/josiah/dhd/org/documentation.org" "/home/josiah/dhd/org/finances.org" "/home/josiah/dhd/org/fitness.org" "/home/josiah/dhd/org/housing.org" "/home/josiah/dhd/org/hoyden.org" "/home/josiah/dhd/org/interview-notes.org" "/home/josiah/dhd/org/jlj-template.org" "/home/josiah/dhd/org/pagedout.org" "/home/josiah/dhd/org/pagedout2.org" "/home/josiah/dhd/org/personal.org" "/home/josiah/dhd/org/refile-beorg.org" "/home/josiah/dhd/org/someday.org" "/home/josiah/dhd/org/stjohns-trello.org" "/home/josiah/dhd/org/stjohns.org" "/home/josiah/dhd/org/vehicles.org" "/home/josiah/dhd/org/webwiki.org" "/home/josiah/dhd/org/work.org"))
'(org-trello-current-prefix-keybinding "C-c o" nil (org-trello))
'(org-trello-files '("~/dhd/org/stjohns-trello.org") nil (org-trello))
'(package-selected-packages

Loading…
Cancel
Save