|
|
|
@ -5,7 +5,7 @@ |
|
|
|
|
-- Create a dock |
|
|
|
|
mod_dock.create{ |
|
|
|
|
-- Dock mode: embedded|floating |
|
|
|
|
mode="floating", |
|
|
|
|
mode="embedded", |
|
|
|
|
|
|
|
|
|
-- The screen to create the dock on |
|
|
|
|
screen=0, |
|
|
|
@ -13,13 +13,13 @@ mod_dock.create{ |
|
|
|
|
-- Corner or side of the screen to place the dock on. |
|
|
|
|
-- For embedded dock the valid values are: tl|tr|bl|br |
|
|
|
|
-- For floating dock the following are also valid: tc|bc|ml|mc|mr |
|
|
|
|
pos="mr", |
|
|
|
|
pos="bl", |
|
|
|
|
|
|
|
|
|
-- Growth direction: left|right|up|down |
|
|
|
|
grow="down", |
|
|
|
|
grow="right", |
|
|
|
|
|
|
|
|
|
-- Whether new dockapps should be added automatically to this dock |
|
|
|
|
is_auto=false, |
|
|
|
|
is_auto=true, |
|
|
|
|
|
|
|
|
|
-- Show floating dock initially? |
|
|
|
|
floating_hidden=false, |
|
|
|
@ -31,5 +31,5 @@ mod_dock.create{ |
|
|
|
|
-- For floating docks, you may want the following toggle binding. |
|
|
|
|
defbindings("WScreen", { |
|
|
|
|
bdoc("Toggle floating dock."), |
|
|
|
|
kpress(META.."c", "mod_dock.set_floating_shown_on(_, 'toggle')"), |
|
|
|
|
kpress(META.."b", "mod_dock.set_floating_shown_on(_, 'toggle')"), |
|
|
|
|
}) |
|
|
|
|