This commit is contained in:
Thomas Forgione 2021-11-11 10:12:47 +01:00
parent b1e955aee2
commit 3719d589b1
1 changed files with 3 additions and 1 deletions

4
rc.lua
View File

@ -253,7 +253,7 @@ awful.screen.connect_for_each_screen(function(s)
s.mytasklist = awful.widget.tasklist(s, awful.widget.tasklist.filter.currenttags, tasklist_buttons) s.mytasklist = awful.widget.tasklist(s, awful.widget.tasklist.filter.currenttags, tasklist_buttons)
-- Create the wibox -- Create the wibox
s.mywibox = awful.wibar({ position = "top", screen = s }) s.mywibox = awful.wibar({ position = "top", screen = s, height = 20 })
s.textclock = awful.widget.textclock(" %a %d %b %H:%M ") s.textclock = awful.widget.textclock(" %a %d %b %H:%M ")
calendar({}):attach(s.textclock) calendar({}):attach(s.textclock)
@ -788,6 +788,8 @@ end)
client.connect_signal("focus", function(c) c.border_color = beautiful.border_focus end) client.connect_signal("focus", function(c) c.border_color = beautiful.border_focus end)
client.connect_signal("unfocus", function(c) c.border_color = beautiful.border_normal end) client.connect_signal("unfocus", function(c) c.border_color = beautiful.border_normal end)
awful.screen.set_auto_dpi_enabled(true)
-- load the widget code -- load the widget code
-- attach it as popup to your text clock widget: -- attach it as popup to your text clock widget: