-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 1e0e19a
Showing
28 changed files
with
2,087 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# EditorConfig <http://EditorConfig.org> | ||
root = true | ||
|
||
# elementary defaults | ||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_size = tab | ||
indent_style = space | ||
insert_final_newline = true | ||
max_line_length = 80 | ||
tab_width = 4 | ||
trim_trailing_whitespace = true | ||
|
||
[{*.xml,*.xml.in,*.yml}] | ||
tab_width = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: CI | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
lint: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
container: | ||
image: valalang/lint | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Lint | ||
run: io.elementary.vala-lint -d . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
*~ | ||
build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
|
||
language: node_js | ||
|
||
node_js: | ||
- 10/* | ||
|
||
sudo: required | ||
|
||
services: | ||
- docker | ||
|
||
addons: | ||
apt: | ||
sources: | ||
- ubuntu-toolchain-r-test | ||
packages: | ||
- libstdc++-5-dev | ||
|
||
install: | ||
- npm i -g @elementaryos/houston | ||
|
||
script: | ||
- houston ci |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
<div align="center"> | ||
<span align="center"> <img width="80" height="80" class="center" src="data/icons/com.github.manexim.typewriter.svg" alt="Icon"></span> | ||
<h1 align="center">Typewriter</h1> | ||
<h3 align="center">A minimal writer with autosave</h3> | ||
<p align="center">Designed for <a href="https://elementary.io">elementary OS</a></p> | ||
</div> | ||
|
||
<p align="center"> | ||
<a href="https://travis-ci.org/manexim/typewriter"> | ||
<img src="https://img.shields.io/travis/manexim/typewriter.svg"> | ||
</a> | ||
<a href="https://github.com/manexim/typewriter/releases/"> | ||
<img src="https://img.shields.io/github/release/manexim/typewriter.svg"> | ||
</a> | ||
<a href="https://github.com/manexim/typewriter/blob/master/COPYING"> | ||
<img src="https://img.shields.io/github/license/manexim/typewriter.svg"> | ||
</a> | ||
</p> | ||
|
||
<p align="center"> | ||
<img src="data/screenshots/000.png"> | ||
</p> | ||
|
||
## Installation | ||
|
||
### Dependencies | ||
|
||
These dependencies must be present before building: | ||
|
||
- `elementary-sdk` | ||
- `meson (>=0.40)` | ||
- `valac (>=0.40)` | ||
- `libgtk-3-dev` | ||
- `libgranite-dev` | ||
- `libgtksourceview-3.0-dev` | ||
|
||
### Building | ||
|
||
``` | ||
git clone https://github.com/manexim/typewriter.git && cd typewriter | ||
meson build && cd build | ||
meson configure -Dprefix=/usr | ||
ninja | ||
sudo ninja install | ||
com.github.manexim.typewriter | ||
``` | ||
|
||
### Deconstruct | ||
|
||
``` | ||
sudo ninja uninstall | ||
``` | ||
|
||
## Contributing | ||
|
||
If you want to contribute to typewriter and make it better, your help is very welcome. | ||
|
||
### How to make a clean pull request | ||
|
||
- Create a personal fork of this project on GitHub. | ||
- Clone the fork on your local machine. Your remote repo on GitHub is called `origin`. | ||
- Create a new branch to work on. Branch from `develop`! | ||
- Implement/fix your feature. | ||
- Push your branch to your fork on GitHub, the remote `origin`. | ||
- From your fork open a pull request in the correct branch. Target the `develop` branch! | ||
|
||
And last but not least: Always write your commit messages in the present tense. | ||
Your commit message should describe what the commit, when applied, does to the code – not what you did to the code. | ||
|
||
## License | ||
|
||
This project is licensed under the GNU General Public License v3.0 - see the [COPYING](COPYING) file for details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- Copyright 2019 Manexim --> | ||
<component type="desktop"> | ||
<id>com.github.manexim.typewriter</id> | ||
<metadata_license>CC0</metadata_license> | ||
<project_license>GPL-3.0+</project_license> | ||
<name>Typewriter</name> | ||
<summary>A minimal writer with autosave</summary> | ||
<description> | ||
<p>Get lost in typing and don't worry about losing your precious work.</p> | ||
</description> | ||
<categories> | ||
<category>Office</category> | ||
</categories> | ||
<provides> | ||
<binary>com.github.manexim.typewriter</binary> | ||
</provides> | ||
<releases> | ||
<release date="2019-11-06" version="0.1.0"> | ||
<description> | ||
<p>Initial release</p> | ||
</description> | ||
</release> | ||
</releases> | ||
<screenshots> | ||
<screenshot type="default"> | ||
<caption></caption> | ||
<image>https://raw.githubusercontent.com/manexim/typewriter/master/data/screenshots/000.png</image> | ||
</screenshot> | ||
</screenshots> | ||
<developer_name>Manexim</developer_name> | ||
<url type="homepage">https://github.com/manexim</url> | ||
<url type="bugtracker">https://github.com/manexim/typewriter/issues</url> | ||
<custom> | ||
<!-- elementary AppCenter specific values --> | ||
<value key="x-appcenter-color-primary">#fafafa</value> | ||
<value key="x-appcenter-color-primary-text">#333</value> | ||
<!-- Suggested price in USD; just a suggestion, NOT a minimum. --> | ||
<value key="x-appcenter-suggested-price">5</value> | ||
</custom> | ||
<content_rating type="oars-1.1"> | ||
<content_attribute id="violence-cartoon">none</content_attribute> | ||
<content_attribute id="violence-fantasy">none</content_attribute> | ||
<content_attribute id="violence-realistic">none</content_attribute> | ||
<content_attribute id="violence-bloodshed">none</content_attribute> | ||
<content_attribute id="violence-sexual">none</content_attribute> | ||
<content_attribute id="violence-desecration">none</content_attribute> | ||
<content_attribute id="violence-slavery">none</content_attribute> | ||
<content_attribute id="violence-worship">none</content_attribute> | ||
<content_attribute id="drugs-alcohol">none</content_attribute> | ||
<content_attribute id="drugs-narcotics">none</content_attribute> | ||
<content_attribute id="drugs-tobacco">none</content_attribute> | ||
<content_attribute id="sex-nudity">none</content_attribute> | ||
<content_attribute id="sex-themes">none</content_attribute> | ||
<content_attribute id="sex-homosexuality">none</content_attribute> | ||
<content_attribute id="sex-prostitution">none</content_attribute> | ||
<content_attribute id="sex-adultery">none</content_attribute> | ||
<content_attribute id="sex-appearance">none</content_attribute> | ||
<content_attribute id="language-profanity">none</content_attribute> | ||
<content_attribute id="language-humor">none</content_attribute> | ||
<content_attribute id="language-discrimination">none</content_attribute> | ||
<content_attribute id="social-chat">none</content_attribute> | ||
<content_attribute id="social-info">mild</content_attribute> | ||
<content_attribute id="social-audio">none</content_attribute> | ||
<content_attribute id="social-location">none</content_attribute> | ||
<content_attribute id="social-contacts">none</content_attribute> | ||
<content_attribute id="money-purchasing">none</content_attribute> | ||
<content_attribute id="money-gambling">none</content_attribute> | ||
</content_rating> | ||
</component> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[Desktop Entry] | ||
Type=Application | ||
Name=Typewriter | ||
GenericName=Typewriter | ||
Comment=A minimal writer with autosave | ||
Exec=com.github.manexim.typewriter | ||
Icon=com.github.manexim.typewriter | ||
Categories=GNOME;GTK;Office; | ||
X-GNOME-UsesNotifications=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<schemalist> | ||
<schema id="com.github.manexim.typewriter" path="/com/github/manexim/typewriter/" gettext-domain="com.github.manexim.typewriter"> | ||
<key name="window-width" type="i"> | ||
<default>500</default> | ||
<summary>The saved width of the window.</summary> | ||
<description>The saved width of the window.</description> | ||
</key> | ||
<key name="window-height" type="i"> | ||
<default>700</default> | ||
<summary>The saved height of the window.</summary> | ||
<description>The saved height of the window.</description> | ||
</key> | ||
<key name="window-x" type="i"> | ||
<default>-1</default> | ||
<summary>The saved x-position of the window.</summary> | ||
<description>The saved x-position of the window.</description> | ||
</key> | ||
<key name="window-y" type="i"> | ||
<default>-1</default> | ||
<summary>The saved y-position of the window.</summary> | ||
<description>The saved y-position of the window.</description> | ||
</key> | ||
<key name="window-maximized" type="b"> | ||
<default>false</default> | ||
<summary>Maximized window.</summary> | ||
<description>Maximized window.</description> | ||
</key> | ||
<key name="window-fullscreen" type="b"> | ||
<default>false</default> | ||
<summary>Fullscreen window.</summary> | ||
<description>Fullscreen window.</description> | ||
</key> | ||
<key name="autosave" type="b"> | ||
<default>true</default> | ||
<summary>Autosave edited files</summary> | ||
<description>Autosave edited files.</description> | ||
</key> | ||
</schema> | ||
</schemalist> |
Oops, something went wrong.