style: cleanup brackets

This commit is contained in:
angeD 2021-12-28 14:02:50 +01:00
parent 8e8367ad84
commit 022de641c8
2 changed files with 10 additions and 10 deletions

View File

@ -21,11 +21,11 @@ local volume_widget = require('awesome-wm-widgets.volume-widget.volume')
-- {{{ Error handling
if awesome.startup_errors then
naughty.notify({
naughty.notify{
preset = naughty.config.presets.critical,
title = "Oops, there were errors during startup!",
text = awesome.startup_errors
})
}
end
do
@ -39,11 +39,11 @@ do
end
in_error = true
naughty.notify({
naughty.notify{
preset = naughty.config.presets.critical,
title = "Oops, an error happened!",
text = tostring(err)
})
}
in_error = false
end
)
@ -129,7 +129,7 @@ local function set_clock(s)
local dpi = require("beautiful.xresources").apply_dpi
s.mytextclock = wibox.widget.textclock()
s.month_calendar = awful.widget.calendar_popup.month({screen = s})
s.month_calendar = awful.widget.calendar_popup.month{screen = s}
s.month_calendar:attach(s.mytextclock)
end
@ -197,7 +197,7 @@ awful.screen.connect_for_each_screen(
}
-- Create the wibox
s.mywibox = awful.wibar({position = "top", screen = s})
s.mywibox = awful.wibar{position = "top", screen = s}
-- Add widgets to the wibox
s.mywibox:setup{