Made dismal temporarily usable

This commit is contained in:
Yessiest 2022-04-20 00:20:21 +04:00
parent 86bbe93ef4
commit 44a1c20d61
2 changed files with 4 additions and 3 deletions

View File

@ -54,6 +54,7 @@ awful.screen.connect_for_each_screen(function(s)
})
-- Add screen lock
require("widgets.lock")({screen = s, obscure = true})
require("widgets.dismal")({})
require("widgets.unitybar")(s,{
top_widgets = {
require("widgets.polytasklist")({

View File

@ -6,7 +6,7 @@ local awful = require("awful")
return function(args)
local style = awmtk2.create_style("dismal",awmtk2.default,args.style)
local launchpad = awful.popup({
{
widget = {
{
{
{
@ -24,11 +24,11 @@ return function(args)
visible = false,
ontop = true
})
root.keys = gears.table.join(
root.keys(gears.table.join(
root.keys(),
awful.key({ global.modkey }, "0", function()
launchpad.visible = not launchpad.visible
end)
)
))
return launchpad
end