Skip to content

Commit

Permalink
Made a new repo because the fork made apm release very confused
Browse files Browse the repository at this point in the history
andytlr committed Apr 4, 2014

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
0 parents commit 7333103
Showing 7 changed files with 80 additions and 0 deletions.
20 changes: 20 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Copyright (c) Chris Wanstrath

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Clean

This is 100% a fork and simplification of [Zen](https://github.com/defunkt/zen).

I wanted to do a a couple things quite differently so I figured it was better to be separate.
2 changes: 2 additions & 0 deletions keymaps/clean.cson
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
'.workspace':
'alt-cmd-d': 'clean:toggle'
8 changes: 8 additions & 0 deletions lib/clean.coffee
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module.exports =
activate: (state) ->
atom.workspaceView.command "clean:toggle", => @toggle()

toggle: ->
workspace = atom.workspaceView

workspace.toggleClass 'clean'
11 changes: 11 additions & 0 deletions menus/clean.cson
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
'menu': [
{
'label': 'Packages'
'submenu': [
'label': 'Clean'
'submenu': [
{ 'label': 'Toggle', 'command': 'clean:toggle' }
]
]
}
]
22 changes: 22 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"name": "Clean",
"main": "./lib/clean",
"version": "0.7.0",
"description": "Distraction free writing.",
"activationEvents": [
"clean:toggle"
],
"homepage": "https://github.com/andytlr/clean",
"repository": {
"type": "git",
"url": "https://github.com/andytlr/clean.git"
},
"bugs": {
"url": "https://github.com/andytlr/clean/issues"
},
"license": "MIT",
"engines": {
"atom": "*"
},
"dependencies": {}
}
12 changes: 12 additions & 0 deletions stylesheets/clean.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.clean {
.editor:not(.mini) {
padding: 10%;
}

.gutter,
.status-bar,
.tab-bar,
.panel-left {
display: none;
}
}

0 comments on commit 7333103

Please sign in to comment.