#meta/config

# Action buttons configuration

```space-lua
actionButton.define {
  icon = "activity",
  description = "Go to the dashboard page",
  priority = 2.8,
  run = function()
    editor.navigate("Dashboard@2")
  end
}

actionButton.define {
  icon = "sidebar",
  priority = 1.7,
  description = "Toggle sidebar tree view",
  run = function()
    editor.invokeCommand "Navigate: Tree"
  end
}

actionButton.define {
  icon = "eye",
  priority = 0.6,
  description = "Open Doument Explorer",
  -- priority = 6,
  run = function()
    editor.invokeCommand "Navigate: Toggle Document Explorer"
  end
}

actionButton.define {
  icon = "sun",
  priority = 1.5,
  description = "Journal Today",
  run = function()
    editor.invokeCommand "Journal: Today"
  end
}

actionButton.define {
  icon = "calendar",
  description = "Open Calendar",
  priority = 1.4,
  run = function()
    editor.invokeCommand "Journal: Floating Calendar"
  end
}

actionButton.define {
  icon = "clock",
  description = "Open Pomodoro Clock",
  priority = 1.3,
  run = function()
    editor.invokeCommand "Floating: Pomodoro Clock"
  end
}

-- actionButton.define {
--   icon = "save",
--   description = "Run command",
--   priority = 1.2,
--   run = function()
--     editor.invokeCommand "Git: Sync"
--   end
-- }

actionButton.define {
  icon = "pie-chart",
  description = "Toggle Graph View",
  priority = 0.5,
  run = function()
    editor.invokeCommand "Graph: Global Page Map"
  end
}
```