Set default A-F3 binding to bemenu instead of dmenu

This commit is contained in:
Johan Malm 2021-03-01 18:40:11 +00:00
parent e0067536fc
commit b9d6ce324f
2 changed files with 5 additions and 7 deletions

View file

@ -88,7 +88,7 @@ Example:
</keybind>
<keybind key="A-F3">
<action name="Execute">
<command>dmenu_run</command>
<command>bemenu-run</command>
</action>
</keybind>
<keyboard>
@ -99,8 +99,7 @@ If no rc.xml file is found, the following default values will be used:
- Alt+Escape: Exit labwc
- Alt+Tab: Cycle windows
- Alt+F2: Cycle windows (if running on X11 and alt-tab bind already exists)
- Alt+F3: Launch dmenu
- Alt+F3: Launch bemenu
# SEE ALSO

View file

@ -260,15 +260,14 @@ static void
post_processing(void)
{
if (!wl_list_length(&rc.keybinds)) {
info("loading default key bindings");
info("load default key bindings");
bind("A-Escape", "Exit", NULL);
bind("A-Tab", "NextWindow", NULL);
bind("A-F2", "NextWindow", NULL);
bind("A-F3", "Execute", "dmenu_run");
bind("A-F3", "Execute", "bemenu-run");
}
if (!rc.theme_name) {
rc.theme_name = strdup("Clearlooks");
rc.theme_name = strdup("Clearlooks-3.4");
}
if (!rc.font_name_activewindow) {
rc.font_name_activewindow = strdup("sans");