Removing decor from titlebar menus. Fixing some shortcuts so titlebar menus does not appear.

This commit is contained in:
Sanel Zukan 2012-12-06 01:21:12 +00:00
parent a970841a4f
commit 9751acdd9e
3 changed files with 10 additions and 10 deletions

View File

@ -20,10 +20,10 @@ Global {
KeyPress = "Mod4 Up" { Actions = "FocusDirectional Up" } KeyPress = "Mod4 Up" { Actions = "FocusDirectional Up" }
KeyPress = "Mod4 Down" { Actions = "FocusDirectional Down" } KeyPress = "Mod4 Down" { Actions = "FocusDirectional Down" }
# Moving in workspaces # Moving in workspaces
KeyPress = "Ctrl Mod1 Left" { Actions = "GotoWorkspace Left" } KeyPress = "Ctrl Mod1 Left" { Actions = "HideAllMenus; GotoWorkspace Left" }
KeyPress = "Ctrl Mod1 Right" { Actions = "GotoWorkspace Right" } KeyPress = "Ctrl Mod1 Right" { Actions = "HideAllMenus; GotoWorkspace Right" }
KeyPress = "Ctrl Mod1 Up" { Actions = "GotoWorkspace Up" } KeyPress = "Ctrl Mod1 Up" { Actions = "HideAllMenus; GotoWorkspace Up" }
KeyPress = "Ctrl Mod1 Down" { Actions = "GotoWorkspace Down" } KeyPress = "Ctrl Mod1 Down" { Actions = "HideAllMenus; GotoWorkspace Down" }
KeyPress = "Mod4 1" { Actions = "GotoWorkspace 1" } KeyPress = "Mod4 1" { Actions = "GotoWorkspace 1" }
KeyPress = "Mod4 2" { Actions = "GotoWorkspace 2" } KeyPress = "Mod4 2" { Actions = "GotoWorkspace 2" }
KeyPress = "Mod4 3" { Actions = "GotoWorkspace 3" } KeyPress = "Mod4 3" { Actions = "GotoWorkspace 3" }

View File

@ -1,10 +1,10 @@
FrameTitle { FrameTitle {
ButtonRelease = "1" { Actions = "Raise; Focus; ActivateClient" } ButtonRelease = "1" { Actions = "HideAllMenus; Raise; Focus; ActivateClient" }
ButtonRelease = "Mod1 1" { Actions = "Focus; Raise" } ButtonRelease = "Mod1 1" { Actions = "Focus; Raise" }
ButtonRelease = "Mod4 1" { Actions = "Focus; Raise" } ButtonRelease = "Mod4 1" { Actions = "Focus; Raise" }
ButtonRelease = "2" { Actions = "ActivateClient" } ButtonRelease = "2" { Actions = "ActivateClient" }
ButtonRelease = "Mod4 3" { Actions = "Close" } ButtonRelease = "Mod4 3" { Actions = "Close" }
ButtonRelease = "3" { Actions = "ShowMenu Window" } ButtonRelease = "3" { Actions = "HideAllMenus; ShowMenu Window" }
ButtonRelease = "4" { Actions = "ActivateClientRel 1" } ButtonRelease = "4" { Actions = "ActivateClientRel 1" }
ButtonRelease = "5" { Actions = "ActivateClientRel -1" } ButtonRelease = "5" { Actions = "ActivateClientRel -1" }
ButtonRelease = "Mod1 4" { Actions = "SendToWorkspace Next; GotoWorkspace Next" } ButtonRelease = "Mod1 4" { Actions = "SendToWorkspace Next; GotoWorkspace Next" }
@ -16,8 +16,8 @@ FrameTitle {
ButtonRelease = "Ctrl Mod1 1" { Actions = "Focus; Raise True" } ButtonRelease = "Ctrl Mod1 1" { Actions = "Focus; Raise True" }
DoubleClick = "2" { Actions = "Toggle Shaded" } DoubleClick = "2" { Actions = "Toggle Shaded" }
DoubleClick = "Mod1 2" { Actions = "Toggle Shaded" } DoubleClick = "Mod1 2" { Actions = "Toggle Shaded" }
DoubleClick = "1" { Actions = "MaxFill True True" } DoubleClick = "1" { Actions = "Toggle Maximized True True" }
DoubleClick = "Mod1 1" { Actions = "Toggle Maximized True True" } DoubleClick = "Mod1 1" { Actions = "Toggle MaxFill True True" }
Motion = "1" { Threshold = "4"; Actions = "Raise; Move" } Motion = "1" { Threshold = "4"; Actions = "Raise; Move" }
Motion = "Mod1 1" { Threshold = "4"; Actions = "Raise; Move" } Motion = "Mod1 1" { Threshold = "4"; Actions = "Raise; Move" }
Motion = "Mod4 1" { Threshold = "4"; Actions = "Raise; Move" } Motion = "Mod4 1" { Threshold = "4"; Actions = "Raise; Move" }
@ -135,7 +135,7 @@ Client {
# Remove the following line and uncomment the alternative if windows should raise when clicked. # Remove the following line and uncomment the alternative if windows should raise when clicked.
#ButtonPress = "1" { Actions = "Focus" } #ButtonPress = "1" { Actions = "Focus" }
# Uncomment the following line if windows should raise when clicked. # Uncomment the following line if windows should raise when clicked.
ButtonPress = "1" { Actions = "Focus; Raise" } ButtonPress = "1" { Actions = "HideAllMenus; Focus; Raise" }
ButtonRelease = "Mod1 1" { Actions = "Focus; Raise" } ButtonRelease = "Mod1 1" { Actions = "Focus; Raise" }
ButtonRelease = "Mod4 1" { Actions = "Lower" } ButtonRelease = "Mod4 1" { Actions = "Lower" }

View File

@ -154,7 +154,7 @@ PDecor {
Decor = "Menu" { Decor = "Menu" {
Title { Title {
@DecorBase @DecorEmpty
@DecorBorder @DecorBorder
} }
} }