rxyhn / yoru

夜 - Yoru | Aesthetic and Beautiful Awesome Environment :first_quarter_moon:
GNU General Public License v3.0
3.46k stars 196 forks source link

[Question] Why is the toggle dashboard key bind not implemented? #150

Closed R3DKR0SS closed 1 year ago

R3DKR0SS commented 1 year ago

First of all, I love your work and this project, truly something amazing and I believe a huge step up from the previous version.

My question is regarding one of the key binds that is noted on the wiki section of the documentation, which is the Toggle dashboard function (super + shift + d) but after further research, found out that it doesn't even appears at the keys.lua file. I tried making the change but I have no knowledge of how the dashboard is spawned,

--- Toggle dashboard
awful.key({ mod, shift }, "d", awesome.toggle_dashboard, { description = "Toggle dashboard", group = "app"}),

Thanks again for such an awesome project. Best regards.

R3DKR0SS commented 1 year ago

Hello everyone, If anyone is wanting to add this feature to your keys.lua file here's the snippet that helped me achieve the functionality using the same hotkeys declared in the wiki:

        -- Toggle dashboard
        awful.key({mod, shift}, "d", function()
                awesome.emit_signal("central_panel::toggle", awful.screen.focused())
        end, { description = "Toggle Dashboard", group = "hotkeys"}),