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