diff --git a/wmfsrc b/wmfsrc index 3a3260c..b0d1196 100644 --- a/wmfsrc +++ b/wmfsrc @@ -68,7 +68,7 @@ root mouse { button = "4" func = "tag_next" } mouse { button = "5" func = "tag_prev" } - mouse { button = "3" func = "spawn" cmd = term } + mouse { button = "3" func = "menu" cmd = "rootmenu" } } client @@ -100,6 +100,24 @@ client } } +menu +{ + set_menu + { + name = "rootmenu" + + #place_at_mouse = false + #x = 40 y = 50 + + fg_focus = "#000000" bg_focus = "#ffffff" + fg_normal = "#ffffff" bg_normal = "#000000" + + item { name = "Terminal" func = "spawn" cmd = term } + item { name = "Next tag" func = "tag_next" } + item { name = "Previous tag" func = "tag_prev" } + } +} + keys { # general keybind