2022-12-04 23:38:54 +01:00
|
|
|
--
|
|
|
|
-- Notion dock module configuration
|
|
|
|
--
|
|
|
|
|
|
|
|
-- Create a dock
|
|
|
|
mod_dock.create{
|
|
|
|
-- Dock mode: embedded|floating
|
2023-01-30 10:56:19 +01:00
|
|
|
mode="embedded",
|
2022-12-04 23:38:54 +01:00
|
|
|
|
|
|
|
-- The screen to create the dock on
|
|
|
|
screen=0,
|
|
|
|
|
|
|
|
-- 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
|
2023-01-30 10:56:19 +01:00
|
|
|
pos="bl",
|
2022-12-04 23:38:54 +01:00
|
|
|
|
|
|
|
-- Growth direction: left|right|up|down
|
2023-01-30 10:56:19 +01:00
|
|
|
grow="right",
|
2022-12-04 23:38:54 +01:00
|
|
|
|
|
|
|
-- Whether new dockapps should be added automatically to this dock
|
2023-01-30 10:56:19 +01:00
|
|
|
is_auto=true,
|
2022-12-04 23:38:54 +01:00
|
|
|
|
|
|
|
-- Show floating dock initially?
|
|
|
|
floating_hidden=false,
|
|
|
|
|
|
|
|
-- Name of the dock
|
|
|
|
name="*dock*",
|
|
|
|
}
|
|
|
|
|
|
|
|
-- For floating docks, you may want the following toggle binding.
|
|
|
|
defbindings("WScreen", {
|
|
|
|
bdoc("Toggle floating dock."),
|
2023-01-30 10:56:19 +01:00
|
|
|
kpress(META.."b", "mod_dock.set_floating_shown_on(_, 'toggle')"),
|
2022-12-04 23:38:54 +01:00
|
|
|
})
|