File: mouse_system

package info (click to toggle)
pekwm 0.1.18-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 2,764 kB
  • sloc: cpp: 24,213; xml: 4,985; sh: 447; perl: 429; makefile: 172; php: 1
file content (171 lines) | stat: -rw-r--r-- 7,541 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
FrameTitle {
	ButtonRelease = "1" { Actions = "Raise; Focus; ActivateClient" }
	ButtonRelease = "Mod1 1" { Actions = "Focus; Raise" }
	ButtonRelease = "Mod4 1" { Actions = "Focus; Raise" }
	ButtonRelease = "2" { Actions = "ActivateClient" }
	ButtonRelease = "Mod4 3" { Actions = "Close" }
	ButtonRelease = "3" { Actions = "ShowMenu Window" }
	ButtonRelease = "4" { Actions = "ActivateClientRel 1" }
	ButtonRelease = "5" { Actions = "ActivateClientRel -1" }
	ButtonRelease = "Mod1 4" { Actions = "SendToWorkspace Next; GotoWorkspace Next" }
	ButtonRelease = "Mod1 5" { Actions = "SendToWorkspace Prev; GotoWorkspace Prev" }
	ButtonRelease = "Mod1 Shift 4" { Actions = "SendToWorkspace PrevV; GotoWorkspace PrevV" }
	ButtonRelease = "Mod1 Shift 5" { Actions = "SendToWorkspace NextV; GotoWorkspace NextV" }
	ButtonRelease = "Ctrl 4" { Actions = "MoveClientRel 1" }
	ButtonRelease = "Ctrl 5" { Actions = "MoveClientRel -1" }
	ButtonRelease = "Ctrl Mod1 1" { Actions = "Focus; Raise True" }
	DoubleClick = "2" { Actions = "Toggle Shaded" }
	DoubleClick = "Mod1 2" { Actions = "Toggle Shaded" }
	DoubleClick = "1" { Actions = "MaxFill True True" }
	DoubleClick = "Mod1 1" { Actions = "Toggle Maximized True True" }
	Motion = "1" { Threshold = "4"; Actions = "Raise; Move" }
	Motion = "Mod1 1" { Threshold = "4"; Actions = "Raise; Move" }
	Motion = "Mod4 1" { Threshold = "4"; Actions = "Raise; Move" }
	Motion = "2" { Threshold = "4"; Actions = "GroupingDrag True" }
	Motion = "Mod1 3" { Actions = "Resize" }
}

OtherTitle {
	ButtonRelease = "1" { Actions = "Raise; Focus" }
	ButtonRelease = "2" { Actions = "Focus" }
	ButtonRelease = "3" { Actions = "Close" }
	ButtonRelease = "Mod4 3" { Actions = "ShowMenu Window" }
	ButtonRelease = "Mod1 4" { Actions = "SendToWorkspace Next; GotoWorkspace Next" }
	ButtonRelease = "Mod1 5" { Actions = "SendToWorkspace Prev; GotoWorkspace Prev" }
	ButtonRelease = "Mod1 Shift 4" { Actions = "SendToWorkspace PrevV; GotoWorkspace PrevV" }
	ButtonRelease = "Mod1 Shift 5" { Actions = "SendToWorkspace NextV; GotoWorkspace NextV" }
	Motion = "1" { Threshold = "4"; Actions = "Raise; Move" }
	Motion = "Mod1 1" { Threshold = "4"; Actions = "Raise; Move" }
	Motion = "Mod4 1" { Threshold = "4"; Actions = "Raise; Move" }
}

Border {
	TopLeft {
		ButtonPress = "1" { Actions = "Focus; Resize TopLeft" }
	}
	Top {
		ButtonPress = "1" { Actions = "Focus; Resize Top" }
	}
	TopRight {
		ButtonPress = "1" { Actions = "Focus; Resize TopRight" }
	}
	Left {
		ButtonPress = "1" { Actions = "Focus; Resize Left" }
	}
	Right {
		ButtonPress = "1" { Actions = "Focus; Resize Right" }
	}
	BottomLeft {
		ButtonPress = "1" { Actions = "Focus; Resize BottomLeft" }
	}
	Bottom {
		ButtonPress = "1" { Actions = "Focus; Resize Bottom" }
	}
	BottomRight {
		ButtonPress = "1" { Actions = "Focus; Resize BottomRight" }
	}
}

ScreenEdge {
	Down {
		Enter = "Mod1 Any" { Actions = "GoToWorkspace Down" }
		ButtonRelease = "3" { Actions = "ShowMenu Root" }
		ButtonRelease = "2" { Actions = "ShowMenu Goto" }
		ButtonRelease = "1" { Actions = "GoToWorkspace Down" }
		ButtonRelease = "Mod4 2" { Actions = "ShowMenu GotoClient" }
		ButtonRelease = "4" { Actions = "GoToWorkspace Up" }
		ButtonRelease = "5" { Actions = "GoToWorkspace Down" }
		ButtonRelease = "Mod1 4" { Actions = "GoToWorkspace PrevV" }
		ButtonRelease = "Mod1 5" { Actions = "GoToWorkspace NextV" }
		EnterMoving = "Any Any" { Actions = "WarpToWorkspace Down" }
	}
	Up {
		Enter = "Mod1 Any" { Actions = "GoToWorkspace Up" }
		ButtonRelease = "3" { Actions = "ShowMenu Root" }
		ButtonRelease = "2" { Actions = "ShowMenu Goto" }
		ButtonRelease = "1" { Actions = "GoToWorkspace Up" }
		ButtonRelease = "Mod4 2" { Actions = "ShowMenu GotoClient" }
		ButtonRelease = "4" { Actions = "GoToWorkspace Up" }
		ButtonRelease = "5" { Actions = "GoToWorkspace Down" }
		ButtonRelease = "Mod1 4" { Actions = "GoToWorkspace PrevV" }
		ButtonRelease = "Mod1 5" { Actions = "GoToWorkspace NextV" }
		EnterMoving = "Any Any" { Actions = "WarpToWorkspace Up" }
	}
	Left {
		Enter = "Mod1 Any" { Actions = "GoToWorkspace Left" }
		ButtonRelease = "3" { Actions = "ShowMenu Root" }
		ButtonRelease = "1" { Actions = "GoToWorkspace Left" }
		DoubleClick = "1" { Actions = "GoToWorkspace Left" }
		ButtonRelease = "2" { Actions = "ShowMenu Goto" }
		ButtonRelease = "Mod4 2" { Actions = "ShowMenu GotoClient" }
		ButtonRelease = "4" { Actions = "GoToWorkspace Right" }
		ButtonRelease = "5" { Actions = "GoToWorkspace Left" }
		ButtonRelease = "Mod1 4" { Actions = "GoToWorkspace Next" }
		ButtonRelease = "Mod1 5" { Actions = "GoToWorkspace Prev" }
		EnterMoving = "Any Any" { Actions = "WarpToWorkspace Left" }
	}
	Right {
		Enter = "Mod1 Any" { Actions = "GoToWorkspace Right" }
		ButtonRelease = "3" { Actions = "ShowMenu Root" }
		ButtonRelease = "1" { Actions = "GoToWorkspace Right" }
		DoubleClick = "1" { Actions = "GoToWorkspace Right" }
		ButtonRelease = "2" { Actions = "ShowMenu Goto" }
		ButtonRelease = "Mod4 2" { Actions = "ShowMenu GotoClient" }
		ButtonRelease = "4" { Actions = "GoToWorkspace Right" }
		ButtonRelease = "5" { Actions = "GoToWorkspace Left" }
		ButtonRelease = "Mod1 4" { Actions = "GoToWorkspace Next" }
		ButtonRelease = "Mod1 5" { Actions = "GoToWorkspace Prev" }
		EnterMoving = "Any Any" { Actions = "WarpToWorkspace Right" }
	}
}

Client {
	ButtonPress = "1" { Actions = "$CLIENT_CLICK" }

	ButtonRelease = "Mod1 1" { Actions = "Focus; Raise" }
	ButtonRelease = "Mod4 1" { Actions = "Lower" }
	ButtonRelease = "Mod1 4" { Actions = "SendToWorkspace Next; GotoWorkspace Next" }
	ButtonRelease = "Mod1 5" { Actions = "SendToWorkspace Prev; GotoWorkspace Prev" }
	ButtonRelease = "Mod1 Shift 4" { Actions = "SendToWorkspace PrevV; GotoWorkspace PrevV" }
	ButtonRelease = "Mod1 Shift 5" { Actions = "SendToWorkspace NextV; GotoWorkspace NextV" }
	ButtonRelease = "Ctrl Mod1 1" { Actions = "Focus; Raise True" }
	Motion = "Mod1 1" { Threshold = "4"; Actions = "Focus; Raise; Move" }
	Motion = "Mod4 1" { Threshold = "4"; Actions = "Focus; Raise; Move" }
	Motion = "Mod1 2" { Threshold = "4"; Actions = "GroupingDrag True" }
	Motion = "Mod1 3" { Actions = "Resize" }
}

Root {
	ButtonRelease = "3" { Actions = "ShowMenu Root" }
	ButtonRelease = "2" { Actions = "ShowMenu Goto" }
	ButtonRelease = "Mod4 2" { Actions = "ShowMenu GotoClient" }
	# Horizontal movement
	ButtonRelease = "4" { Actions = "GoToWorkspace Right" }
	ButtonRelease = "5" { Actions = "GoToWorkspace Left" }
	ButtonRelease = "Mod1 4" { Actions = "GoToWorkspace Next" }
	ButtonRelease = "Mod1 5" { Actions = "GoToWorkspace Prev" }
	# Vertical movement
	ButtonRelease = "Shift 4" { Actions = "GoToWorkspace Up" }
	ButtonRelease = "Shift 5" { Actions = "GoToWorkspace Down" }
	ButtonRelease = "Mod1 Shift 4" { Actions = "GoToWorkspace NextV" }
	ButtonRelease = "Mod1 Shift 5" { Actions = "GoToWorkspace PrevV" }
	# "Number" movement
	ButtonRelease = "Mod4 4" { Actions = "GoToWorkspace RightN" }
	ButtonRelease = "Mod4 5" { Actions = "GoToWorkspace LeftN" }
	ButtonRelease = "Mod4 Shift 4" { Actions = "GoToWorkspace NextN" }
	ButtonRelease = "Mod4 Shift 5" { Actions = "GoToWorkspace PrevN" }

	ButtonRelease = "1" { Actions = "HideAllMenus" }
}

Menu {
	Enter = "Any Any" { Actions = "Focus" }
	Motion = "Mod1 1" { Threshold = "4"; Actions = "Focus; Raise; Move" }
}

Other {
	Enter = "Any Any" { Actions = "Focus" }
	ButtonRelease = "3" { Actions = "Close" }
	Motion = "1" { Actions = "Focus; Raise; Move" }
	Motion = "Mod1 1" { Threshold = "4"; Actions = "Focus; Raise; Move" }
}