I would not call the document
toggle-menu.lua
but
toggle_menu_bar.lua
because it is not about the menu, it is about the menu bar.
I would also re-change in all documents menu to menu bar.
So, I would also re-change this:
toggle_menu-hidden
to
toggle_menu_bar-hidden
Maybe some more words need to be changed, so that the scripts work properly like now.
Remark
If one use toggle_menu-bar.lua, then in Preferences, in Keybindings, the hyphen will not appear, so I think it is better to use the underscore, so like this: toggle_menu_bar.lua.
I would not call the document
toggle-menu.lua
buttoggle_menu_bar.lua
because it is not about the menu, it is about the menu bar. I would also re-change in all documents menu to menu bar. So, I would also re-change this:toggle_menu-hidden
totoggle_menu_bar-hidden
Maybe some more words need to be changed, so that the scripts work properly like now.Remark If one use
toggle_menu-bar.lua
, then in Preferences, in Keybindings, the hyphen will not appear, so I think it is better to use the underscore, so like this:toggle_menu_bar.lua
.