From 337732f45bd0f0afe4bf57ba9c7ff7b640183073 Mon Sep 17 00:00:00 2001 From: Martin Duquesnoy Date: Sun, 3 May 2009 12:32:57 +0200 Subject: [PATCH] Default conf: Add c in the titlebar button and menu for each client binded on mouse button 3 (right click) --- wmfsrc | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/wmfsrc b/wmfsrc index d64c592..1640a67 100644 --- a/wmfsrc +++ b/wmfsrc @@ -111,9 +111,10 @@ client button { mouse { button = "1" func = "client_kill" } - # Make a cross with line - line { coord = {1, 1, 4, 4} } - line { coord = {4, 1, 1, 4} } + mouse { button = "3" func = "menu" cmd = "clientmenu" } + line { coord = {1, 1, 4, 1} } + line { coord = {1, 1, 1, 4} } + line { coord = {1, 4, 4, 4} } } } } @@ -129,7 +130,7 @@ menu # x = 40 y = 50 fg_focus = "#191919" bg_focus = "#7E89A2" - fg_normal = "#D4D4D4" bg_normal = "#191919" + fg_normal = "#9F9AB3" bg_normal = "#191919" item { name = "Terminal" func = "spawn" cmd = term } item { name = "Next tag" func = "tag_next" } @@ -139,6 +140,18 @@ menu item { name = "Toggle infobar" func = "toggle_infobar_position" } item { name = "Quit WMFS" func = "quit" } } + + set_menu + { + name = "clientmenu" + + fg_focus = "#D4D4D4" bg_focus = "#003366" + fg_normal = "#D4D4D4" bg_normal = "#191919" + + item { name = "Close" func = "client_kill" } + item { name = "Maximize" func = "toggle_max" } + item { name = "Free" func = "toggle_free" } + } } launcher