mirror of
https://github.com/elenapan/dotfiles.git
synced 2026-01-03 13:55:18 +08:00
Fix flash when showing exit screen from dashboard
This commit is contained in:
parent
7016808b09
commit
2713e8ac80
1 changed files with 3 additions and 1 deletions
|
|
@ -545,8 +545,10 @@ local uptime_box = create_boxed_widget(uptime, dpi(300), dpi(80), x.background)
|
|||
|
||||
uptime_box:buttons(gears.table.join(
|
||||
awful.button({ }, 1, function ()
|
||||
dashboard_hide()
|
||||
exit_screen_show()
|
||||
gears.timer.delayed_call(function()
|
||||
dashboard_hide()
|
||||
end)
|
||||
end)
|
||||
))
|
||||
helpers.add_hover_cursor(uptime_box, "hand1")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue