1
0
Fork 0
mirror of https://github.com/lcpz/awesome-copycats.git synced 2024-12-22 11:12:31 +00:00

lain: new commit

This commit is contained in:
copycat-killer 2017-01-12 13:09:44 +01:00
parent 64e0228d9d
commit 80037fa568
6 changed files with 35 additions and 41 deletions

2
lain

@ -1 +1 @@
Subproject commit 25af54505b724080278de5a6d3a34931d3537609
Subproject commit 354fa23548674b83620ea69d42cffdd707e13dbf

View file

@ -55,7 +55,6 @@ run_once("unclutter -root")
-- }}}
-- {{{ Variable definitions
-- beautiful init
beautiful.init(os.getenv("HOME") .. "/.config/awesome/themes/blackburn/theme.lua")
@ -76,10 +75,9 @@ lain.layout.termfair.ncol = 1
lain.layout.centerfair.nmaster = 3
lain.layout.centerfair.ncol = 1
-- quake terminal
local quakeconsole = {}
-- quake application
for s in screen do
quakeconsole[s] = lain.util.quake({ app = terminal })
s.quake = lain.util.quake({ app = terminal })
end
-- }}}
@ -492,13 +490,13 @@ globalkeys = awful.util.table.join(
end,
{description = "restore minimized", group = "client"}),
-- Dropdown terminal
awful.key({ modkey, }, "z", function () quakeconsole[mouse.screen]:toggle() end),
-- Dropdown application
awful.key({ modkey, }, "z", function () awful.screen.focused().quake:toggle() end),
-- Widgets popups
awful.key({ altkey, }, "c", function () lain.widgets.calendar.show(7) end),
awful.key({ altkey, }, "h", function () fshome.show(7) end),
awful.key({ altkey, }, "w", function () myweather.show(7) end),
awful.key({ altkey, }, "c", function () lain.widgets.calendar.show(7) end),
awful.key({ altkey, }, "h", function () fshome.show(7) end),
awful.key({ altkey, }, "w", function () myweather.show(7) end),
-- ALSA volume control
awful.key({ altkey }, "Up",

View file

@ -78,10 +78,9 @@ lain.layout.termfair.ncol = 1
lain.layout.centerfair.nmaster = 3
lain.layout.centerfair.ncol = 1
-- quake terminal
local quakeconsole = {}
-- quake application
for s in screen do
quakeconsole[s] = lain.util.quake({ app = terminal })
s.quake = lain.util.quake({ app = terminal })
end
-- }}}
@ -558,13 +557,13 @@ globalkeys = awful.util.table.join(
end,
{description = "restore minimized", group = "client"}),
-- Dropdown terminal
awful.key({ modkey, }, "z", function () quakeconsole[mouse.screen]:toggle() end),
-- Dropdown application
awful.key({ modkey, }, "z", function () awful.screen.focused().quake:toggle() end),
-- Widgets popups
awful.key({ altkey, }, "c", function () lain.widgets.calendar.show(7) end),
awful.key({ altkey, }, "h", function () fshome.show(7) end),
awful.key({ altkey, }, "w", function () myweather.show(7) end),
awful.key({ altkey, }, "c", function () lain.widgets.calendar.show(7) end),
awful.key({ altkey, }, "h", function () fshome.show(7) end),
awful.key({ altkey, }, "w", function () myweather.show(7) end),
-- ALSA volume control
awful.key({ altkey }, "Up",

View file

@ -76,10 +76,9 @@ lain.layout.termfair.ncol = 1
lain.layout.centerfair.nmaster = 3
lain.layout.centerfair.ncol = 1
-- quake terminal
local quakeconsole = {}
-- quake application
for s in screen do
quakeconsole[s] = lain.util.quake({ app = terminal })
s.quake = lain.util.quake({ app = terminal })
end
-- }}}
@ -485,13 +484,13 @@ globalkeys = awful.util.table.join(
end,
{description = "restore minimized", group = "client"}),
-- Dropdown terminal
awful.key({ modkey, }, "z", function () quakeconsole[mouse.screen]:toggle() end),
-- Dropdown application
awful.key({ modkey, }, "z", function () awful.screen.focused().quake:toggle() end),
-- Widgets popups
awful.key({ altkey, }, "c", function () lain.widgets.calendar.show(7) end),
awful.key({ altkey, }, "h", function () fshome.show(7) end),
awful.key({ altkey, }, "w", function () myweather.show(7) end),
awful.key({ altkey, }, "c", function () lain.widgets.calendar.show(7) end),
awful.key({ altkey, }, "h", function () fshome.show(7) end),
awful.key({ altkey, }, "w", function () myweather.show(7) end),
-- ALSA volume control
awful.key({ altkey }, "Up",

View file

@ -78,10 +78,9 @@ lain.layout.termfair.ncol = 1
lain.layout.centerfair.nmaster = 3
lain.layout.centerfair.ncol = 1
-- quake terminal
local quakeconsole = {}
-- quake application
for s in screen do
quakeconsole[s] = lain.util.quake({ app = terminal })
s.quake = lain.util.quake({ app = terminal })
end
-- }}}
@ -606,12 +605,12 @@ globalkeys = awful.util.table.join(
end,
{description = "restore minimized", group = "client"}),
-- Dropdown terminal
awful.key({ modkey, }, "z", function () quakeconsole[mouse.screen]:toggle() end),
-- Dropdown application
awful.key({ modkey, }, "z", function () awful.screen.focused().quake:toggle() end),
-- Widgets popups
awful.key({ altkey, }, "c", function () lain.widgets.calendar.show(7) end),
awful.key({ altkey, }, "w", function () myweather.show(7) end),
awful.key({ altkey, }, "c", function () lain.widgets.calendar.show(7) end),
awful.key({ altkey, }, "w", function () myweather.show(7) end),
-- ALSA volume control
awful.key({ altkey }, "Up",

View file

@ -76,10 +76,9 @@ lain.layout.termfair.ncol = 1
lain.layout.centerfair.nmaster = 3
lain.layout.centerfair.ncol = 1
-- quake terminal
local quakeconsole = {}
-- quake application
for s in screen do
quakeconsole[s] = lain.util.quake({ app = terminal })
s.quake = lain.util.quake({ app = terminal })
end
-- }}}
@ -580,13 +579,13 @@ globalkeys = awful.util.table.join(
end,
{description = "restore minimized", group = "client"}),
-- Dropdown terminal
awful.key({ modkey, }, "z", function () quakeconsole[mouse.screen]:toggle() end),
-- Dropdown application
awful.key({ modkey, }, "z", function () awful.screen.focused().quake:toggle() end),
-- Widgets popups
awful.key({ altkey, }, "c", function () lain.widgets.calendar.show(7) end),
awful.key({ altkey, }, "h", function () fsroot.show(7, "--exclude-type=tmpfs") end),
awful.key({ altkey, }, "w", function () myweather.show(7) end),
awful.key({ altkey, }, "c", function () lain.widgets.calendar.show(7) end),
awful.key({ altkey, }, "h", function () fsroot.show(7) end),
awful.key({ altkey, }, "w", function () myweather.show(7) end),
-- ALSA volume control
awful.key({ altkey }, "Up",