Made dismal temporarily usable
This commit is contained in:
parent
86bbe93ef4
commit
44a1c20d61
|
@ -54,6 +54,7 @@ awful.screen.connect_for_each_screen(function(s)
|
||||||
})
|
})
|
||||||
-- Add screen lock
|
-- Add screen lock
|
||||||
require("widgets.lock")({screen = s, obscure = true})
|
require("widgets.lock")({screen = s, obscure = true})
|
||||||
|
require("widgets.dismal")({})
|
||||||
require("widgets.unitybar")(s,{
|
require("widgets.unitybar")(s,{
|
||||||
top_widgets = {
|
top_widgets = {
|
||||||
require("widgets.polytasklist")({
|
require("widgets.polytasklist")({
|
||||||
|
|
|
@ -6,7 +6,7 @@ local awful = require("awful")
|
||||||
return function(args)
|
return function(args)
|
||||||
local style = awmtk2.create_style("dismal",awmtk2.default,args.style)
|
local style = awmtk2.create_style("dismal",awmtk2.default,args.style)
|
||||||
local launchpad = awful.popup({
|
local launchpad = awful.popup({
|
||||||
{
|
widget = {
|
||||||
{
|
{
|
||||||
{
|
{
|
||||||
{
|
{
|
||||||
|
@ -24,11 +24,11 @@ return function(args)
|
||||||
visible = false,
|
visible = false,
|
||||||
ontop = true
|
ontop = true
|
||||||
})
|
})
|
||||||
root.keys = gears.table.join(
|
root.keys(gears.table.join(
|
||||||
root.keys(),
|
root.keys(),
|
||||||
awful.key({ global.modkey }, "0", function()
|
awful.key({ global.modkey }, "0", function()
|
||||||
launchpad.visible = not launchpad.visible
|
launchpad.visible = not launchpad.visible
|
||||||
end)
|
end)
|
||||||
)
|
))
|
||||||
return launchpad
|
return launchpad
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue