2 -- Notion dock module configuration
7 -- Dock mode: embedded|floating
9 -- The screen to create the dock on
11 -- Corner or side of the screen to place the dock on.
12 -- For embedded dock the valid values are: tl|tr|bl|br
13 -- For floating dock the following are also valid: tc|bc|ml|mc|mr
15 -- Growth direction: left|right|up|down
17 -- Whether new dockapps should be added automatically to this dock
19 -- Show floating dock initially?
20 floating_hidden
=false,
26 -- For floating docks, you may want the following toggle binding.
27 defbindings("WScreen", {
28 bdoc("Toggle floating dock."),
29 kpress(META
.."D", "mod_dock.set_floating_shown_on(_, 'toggle')")
33 -- Dock settings menu. For this to work, mod_menu must have been loaded
36 defmenu("dock-settings", {
37 menuentry("Pos-TL", "_:set{pos='tl'}"),
38 menuentry("Pos-TR", "_:set{pos='tr'}"),
39 menuentry("Pos-BL", "_:set{pos='bl'}"),
40 menuentry("Pos-BR", "_:set{pos='br'}"),
41 menuentry("Grow-L", "_:set{grow='left'}"),
42 menuentry("Grow-R", "_:set{grow='right'}"),
43 menuentry("Grow-U", "_:set{grow='up'}"),
44 menuentry("Grow-D", "_:set{grow='down'}"),
47 defbindings("WDock", {
48 mpress("Button3", "mod_menu.pmenu(_, _sub, 'dock-settings')"),