]> git.mdlowis.com Git - proto/labwc.git/commitdiff
Set default A-F3 binding to bemenu instead of dmenu
authorJohan Malm <jgm323@gmail.com>
Mon, 1 Mar 2021 18:40:11 +0000 (18:40 +0000)
committerJohan Malm <jgm323@gmail.com>
Mon, 1 Mar 2021 18:40:11 +0000 (18:40 +0000)
docs/labwc-config.5.md
src/config/rcxml.c

index 9b0fa3cc5e940199a207200fcb6ed3eb0f923d87..91e74641472ea8c804a72825bbebeb6f0e0003fc 100644 (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
 
index c308f97a77d52b2096affa3e4578515f6cc455ee..7295068714e3e691533060dacb6aa8c484bb4987 100644 (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");