Removed old stuff from system-inc.mk
[notion/jeffpc.git] / etc / cfg_dock.lua
blob582c0b5964b6c55f16c4a38a01a36345dfc974c6
1 --
2 -- Notion dock module configuration
3 --
5 -- Create a dock
6 mod_dock.create{
7 -- Dock mode: embedded|floating
8 mode="floating",
9 -- The screen to create the dock on
10 screen=0,
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
14 pos="bl",
15 -- Growth direction: left|right|up|down
16 grow="right",
17 -- Whether new dockapps should be added automatically to this dock
18 is_auto=true,
19 -- Show floating dock initially?
20 floating_hidden=false,
21 -- Name of the dock
22 name="*dock*",
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
34 -- previously.
35 if mod_menu then
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')"),
50 end