Skip to content

Instantly share code, notes, and snippets.

@Borderliner
Last active July 23, 2017 16:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Borderliner/170e4c61822c7b0800b736c02d669f95 to your computer and use it in GitHub Desktop.
Save Borderliner/170e4c61822c7b0800b736c02d669f95 to your computer and use it in GitHub Desktop.
toolbar.cson for flex-tool-bar, a toolbar for Atom Editor
# This file is used by Flex Tool Bar to create buttons on your Tool Bar.
# For more information how to use this package and create your own buttons,
# read the documentation on https://atom.io/packages/flex-tool-bar
[
{
type: "url"
icon: "octoface"
url: "https://github.com/Borderliner"
tooltip: "Github Account"
style:
color: "white"
}
{
type: "spacer"
}
{
type: "button"
icon: "file-text"
callback: "application:new-file"
tooltip: "New File"
iconset: "fa"
style:
color: "rgb(69, 145, 208)"
}
{
type: "button"
icon: "folder"
callback: " application:add-project-folder"
tooltip: "Add Project Folder"
iconset: "fa"
style:
color: "rgb(208, 177, 69)"
}
{
type: "spacer"
}
{
type: "button"
icon: "git"
callback: "git-control:toggle"
tooltip: "Show Git Control"
iconset: "fa"
style:
color: "rgb(255, 176, 0)"
}
{
type: "button"
icon: "circuit-board"
callback: "git-diff:toggle-diff-list"
tooltip: "Diff List"
style:
color: "#ccff00"
}
{
type: "button"
icon: "diamond"
callback: "atom-beautify:beautify-editor"
tooltip: "Beautify"
enable: ["javascript",
"rust",
"html",
"css",
"less",
"scss",
"sass"]
iconset: "fa"
style:
color: "rgb(0, 255, 247)"
}
{
type: "button"
icon: "markdown"
callback: "markdown-preview:toggle"
disable: "!markdown"
tooltip: "Show Markdown Preview"
style:
color: "#ff0000"
}
{
type: "spacer"
}
{
type: "button"
icon: "dashcube"
callback: "dash:shortcut"
tooltip: "Look Up in Dash"
enable: ["javascript", "rust"]
iconset: "fa"
style:
color: "rgb(169, 9, 235)"
}
{
type: "button"
icon: "stack-overflow"
callback: "ask-stack:ask-question"
tooltip: "Look Up on Stack Overflow"
iconset: "fa"
style:
color: "rgb(235, 172, 9)"
}
{
type: "spacer"
}
{
type: "button"
icon: "refresh"
callback: "sync-settings:backup"
tooltip: "Sync Settings to Gist"
iconset: "fa"
style:
color: "rgb(46, 236, 15)"
}
{
type: "button"
icon: "cog"
callback: "settings-view:open"
tooltip: "Open Settings"
iconset: "fa"
style:
color: "rgb(177, 177, 177)"
}
{
type: "button"
icon: "terminal"
callback: "platformio-ide-terminal:toggle"
tooltip: "Toggle Terminal"
iconset: "fa"
style:
color: "white"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment