-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
1 parent
8855ee9
commit 1a809b3
Showing
61 changed files
with
10,253 additions
and
1 deletion.
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,15 @@ | ||
# 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 | ||
|
||
[{*.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,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 |
---|---|---|
@@ -1,2 +1,36 @@ | ||
# Nino | ||
Widget Network Monitor | ||
|
||
A network monitor widget | ||
internet speed monitor with a simple appearance | ||
Features: | ||
Small window application features. | ||
Alert when no internet connection is connected. | ||
Many color theme choices available. | ||
lock position on the desktop. | ||
Save the position of the widget. | ||
The choice is always above the screen or below. | ||
|
||
![screenshot](Screenshot.png) | ||
![screenshot 1](Screenshot1.png) | ||
![screenshot 1](Screenshot2.png) | ||
|
||
## Building, Testing, and Installation | ||
|
||
You'll need the following dependencies: | ||
|
||
* meson | ||
* libgranite-dev | ||
* libgtop2-dev | ||
* gtk+-3.0 | ||
* valac | ||
|
||
Run `meson` to configure the build environment and then `ninja` to build and run automated tests | ||
|
||
meson build --prefix=/usr | ||
cd build | ||
ninja | ||
|
||
To install, use `ninja install`, then execute with 'com.github.torikulhabib.nino` | ||
|
||
sudo ninja install | ||
com.github.torikulhabib.nino |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,6 @@ | ||
namespace Constants { | ||
public const string GETTEXT_PACKAGE = @GETTEXT_PACKAGE@; | ||
public const string PROJECT_NAME = @PROJECT_NAME@; | ||
public const string VERSION = @VERSION@; | ||
public const string INSTALL_PREFIX = @PREFIX@; | ||
} |
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,82 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- Copyright 2018 torikul habib <torik.habib@gmail> --> | ||
<component type="desktop"> | ||
<id>com.github.torikulhabib.nino</id> | ||
<metadata_license>CC0</metadata_license> | ||
<project_license>GPL-3.0+</project_license> | ||
<name>Nino</name> | ||
<summary>A network monitor widget.</summary> | ||
<description> | ||
<p>A internet speed monitor aplication with a simple appearance.</p> | ||
<p>Features:</p> | ||
<ul> | ||
<li>Small window application features.</li> | ||
<li>Alert when no internet connection is connected.</li> | ||
<li>Many color theme choices available.</li> | ||
<li>Lock position on the desktop.</li> | ||
<li>Save the position of the widget.</li> | ||
<li>The choice is always above the screen or below.</li> | ||
</ul> | ||
<p></p> | ||
</description> | ||
<releases> | ||
<release version="1.0.0" date="2018-11-07"> | ||
<description> | ||
<p>Hello Juno!</p> | ||
</description> | ||
</release> | ||
</releases> | ||
<screenshots> | ||
<screenshot type="default"> | ||
<image>https://raw.githubusercontent.com/torikulhabib/nino/master/Screenshot.png</image> | ||
</screenshot> | ||
<screenshot> | ||
<image>https://raw.githubusercontent.com/torikulhabib/nino/master/Screenshot1.png</image> | ||
</screenshot> | ||
<screenshot> | ||
<image>https://raw.githubusercontent.com/torikulhabib/nino/master/Screenshot2.png</image> | ||
</screenshot> | ||
</screenshots> | ||
<provides> | ||
<binary>com.github.torikulhabib.nino</binary> | ||
</provides> | ||
<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">none</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> | ||
<developer_name>torikulhabib</developer_name> | ||
<url type="homepage"></url> | ||
<url type="bugtracker">https://github.com/torikulhabib/nino/issues</url> | ||
<url type="help">https://github.com/torikulhabib/nino/issues</url> | ||
<update_contact>torik.habib@gmail.com</update_contact> | ||
<custom> | ||
<value key="x-appcenter-color-primary">#525</value> | ||
<value key="x-appcenter-color-primary-text">#d1ff82</value> | ||
<value key="x-appcenter-suggested-price">6</value> | ||
</custom> | ||
</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,10 @@ | ||
[Desktop Entry] | ||
Type=Application | ||
Name=Nino | ||
Comment=A network monitor widget. | ||
GenericName=Network Monitor | ||
Exec=@EXEC_NAME@ %U | ||
Icon=@EXEC_NAME@ | ||
Terminal=false | ||
Categories=Network; | ||
Keywords=Network; |
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,26 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<gresources> | ||
<gresource prefix="/com/github/torikulhabib/nino/css/"> | ||
<file alias="main.css" compressed="true">css/main.css</file> | ||
<file alias="colors.css" compressed="true">css/colors.css</file> | ||
<file alias="color_buttons.css" compressed="true">css/color_buttons.css</file> | ||
<file alias="style_white.css" compressed="true">css/style_white.css</file> | ||
<file alias="style_dark.css" compressed="true">css/style_dark.css</file> | ||
<file alias="style_pink.css" compressed="true">css/style_pink.css</file> | ||
<file alias="style_red.css" compressed="true">css/style_red.css</file> | ||
<file alias="style_orange.css" compressed="true">css/style_orange.css</file> | ||
<file alias="style_yellow.css" compressed="true">css/style_yellow.css</file> | ||
<file alias="style_green.css" compressed="true">css/style_green.css</file> | ||
<file alias="style_teal.css" compressed="true">css/style_teal.css</file> | ||
<file alias="style_blue.css" compressed="true">css/style_blue.css</file> | ||
<file alias="style_purple.css" compressed="true">css/style_purple.css</file> | ||
<file alias="style_coco.css" compressed="true">css/style_coco.css</file> | ||
<file alias="style_gradient_blue_green.css" compressed="true">css/style_gradient_blue_green.css</file> | ||
<file alias="style_gradient_purple_red.css" compressed="true">css/style_gradient_purple_red.css</file> | ||
<file alias="style_gradient_pride.css" compressed="true">css/style_gradient_pride.css</file> | ||
<file alias="style_dark_transparent.css" compressed="true">css/style_dark_transparent.css</file> | ||
<file alias="style_light_transparent.css" compressed="true">css/style_light_transparent.css</file> | ||
<file alias="style_dark_semitrans.css" compressed="true">css/style_dark_semitrans.css</file> | ||
<file alias="style_light_semitrans.css" compressed="true">css/style_light_semitrans.css</file> | ||
</gresource> | ||
</gresources> |
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,41 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<schemalist> | ||
<schema id="com.github.torikulhabib.nino" path="/com/github/torikulhabib/nino/"> | ||
<key name="window-x" type="i"> | ||
<default>-1</default> | ||
<summary>Most recent x position of Nino</summary> | ||
<description>Most recent x position of Nino</description> | ||
</key> | ||
<key name="window-y" type="i"> | ||
<default>-1</default> | ||
<summary>Most recent y position of Nino</summary> | ||
<description>Most recent y position of Nino</description> | ||
</key> | ||
<key name="dialog-x" type="i"> | ||
<default>-1</default> | ||
<summary>Most recent x position of Nino</summary> | ||
<description>Most recent x position of Nino</description> | ||
</key> | ||
<key name="dialog-y" type="i"> | ||
<default>-1</default> | ||
<summary>Most recent y position of Nino</summary> | ||
<description>Most recent y position of Nino</description> | ||
</key> | ||
|
||
<key name="lock" type="b"> | ||
<default>false</default> | ||
<summary>If the lock should be used</summary> | ||
<description>If the lock should be used</description> | ||
</key> | ||
<key name="keep" type="b"> | ||
<default>false</default> | ||
<summary>If the keep should be used</summary> | ||
<description>If the keep should be used</description> | ||
</key> | ||
<key name="color" type="s"> | ||
<default>"white"</default> | ||
<summary>Most recent color theme of Nino</summary> | ||
<description>Most recent color theme of Nino</description> | ||
</key> | ||
</schema> | ||
</schemalist> |
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,123 @@ | ||
/* | ||
* Copyright (C) 2018 Carlos Lopez <calo_lrc@hotmail.com> | ||
* Copyright (C) 2018 Torikul habib <torik.habib@gmail.com> | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU Affero General Public License as published | ||
* by the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU Affero General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Affero General Public License | ||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
* | ||
*/ | ||
|
||
@import url("/com/github/torikulhabib/nino/css/colors.css"); | ||
|
||
.btn_white { | ||
background: @nino_white; | ||
} | ||
|
||
.btn_black { | ||
background: @nino_black; | ||
} | ||
|
||
.btn_pink { | ||
background: @nino_pink; | ||
} | ||
|
||
.btn_red { | ||
background: @nino_red; | ||
} | ||
|
||
.btn_orange { | ||
background: @nino_orange; | ||
} | ||
|
||
.btn_yellow { | ||
background: @nino_yellow; | ||
} | ||
|
||
.btn_green { | ||
background: @nino_green; | ||
} | ||
|
||
.btn_teal { | ||
background: @nino_teal; | ||
} | ||
|
||
.btn_blue { | ||
background: @nino_blue; | ||
} | ||
|
||
.btn_purple { | ||
background: @nino_purple; | ||
} | ||
|
||
.btn_coco { | ||
background: @nino_coco; | ||
} | ||
|
||
|
||
.btn_gradient_blue_green { | ||
background: linear-gradient(to right, #00F160, #0575E4); | ||
} | ||
|
||
.btn_gradient_purple_red { | ||
background: linear-gradient(to right, #7B4396, #DB2430); | ||
} | ||
|
||
.btn_gradient_pride { | ||
background: linear-gradient(90deg, | ||
#db002a, | ||
#db002a 14.28%, | ||
#ff43aa 14.28%, | ||
#ff43aa 28.56%, | ||
#f47600 28.56%, | ||
#f47600 42.84%, | ||
#f4ca00 42.84%, | ||
#f4ca00 57.12%, | ||
#00b74b 57.12%, | ||
#00b74b 72.4%, | ||
#435db6 72.4%, | ||
#435db6 86.68%, | ||
#68008b 86.68%, | ||
#68008b); | ||
} | ||
|
||
.btn_trans_dark { | ||
background-image: linear-gradient(90deg, #000000 33.33%, #e6e6e6 33.33%, #e6e6e6 50%, #000000 50%, #000000 83.33%, #e6e6e6 83.33%, #e6e6e6 100%); | ||
background-clip: border-box; | ||
background-size: 10px 10px; | ||
} | ||
|
||
.btn_trans_white { | ||
background-image: linear-gradient(90deg, #ffffff 33.33%, #e6e6e6 33.33%, #e6e6e6 50%, #ffffff 50%, #ffffff 83.33%, #e6e6e6 83.33%, #e6e6e6 100%); | ||
background-position: 0 0, 5px 5px; | ||
background-origin: padding-box; | ||
background-clip: border-box; | ||
background-size: 10px 10px; | ||
} | ||
|
||
.btn_semitrans_dark { | ||
background: linear-gradient(45deg, rgba(0,0,0,1) 0, rgba(0,0,0,1) 25%, rgba(0,0,0,1) 25%, rgba(0,0,0,0) 26%, rgba(0,0,0,0) 74%, rgba(0,0,0,1) 75%, rgba(0,0,0,1) 100%), linear-gradient(45deg, rgba(0,0,0,1) 0, rgba(0,0,0,1) 3px, rgba(0,0,0,1) 25%, rgba(0,0,0,0) 25%, rgba(0,0,0,0.05) 74%, rgba(0,0,0,1) 75%, rgba(0,0,0,1) 100%), rgb(255, 255, 255); | ||
background-position: 0 0, 5px 5px; | ||
background-origin: padding-box; | ||
background-clip: border-box; | ||
background-size: 10px 10px; | ||
} | ||
|
||
.btn_semitrans_white { | ||
|
||
background: linear-gradient(45deg, rgba(0,0,0,0.0980392) 25%, rgba(0,0,0,0) 25%, rgba(0,0,0,0) 75%, rgba(0,0,0,0.0980392) 75%, rgba(0,0,0,0.0980392) 0), linear-gradient(45deg, rgba(0,0,0,0.0980392) 25%, rgba(0,0,0,0) 25%, rgba(0,0,0,0) 75%, rgba(0,0,0,0.0980392) 75%, rgba(0,0,0,0.0980392) 0), rgb(255, 255, 255); | ||
background-position: 0 0, 5px 5px; | ||
background-origin: padding-box; | ||
background-clip: border-box; | ||
background-size: 10px 10px; | ||
|
||
} |
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,38 @@ | ||
/* | ||
* Copyright (C) 2018 Carlos Lopez <calo_lrc@hotmail.com> | ||
* Copyright (C) 2018 Torikul habib <torik.habib@gmail.com> | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU Affero General Public License as published | ||
* by the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU Affero General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Affero General Public License | ||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
* | ||
*/ | ||
|
||
@define-color nino_white #FAFAFA; | ||
@define-color nino_black #1A1A1A; | ||
@define-color nino_red #C6262E; | ||
@define-color nino_pink #db36a4; | ||
@define-color nino_orange #F37329; | ||
@define-color nino_yellow #F9C440; | ||
@define-color nino_green #68B723; | ||
@define-color nino_teal #018B7F; | ||
@define-color nino_blue #3689E6; | ||
@define-color nino_purple #7239b3; | ||
@define-color nino_coco #715344; | ||
|
||
@define-color white_clear #FFFFFF; | ||
@define-color black_dark #000000; | ||
|
||
/* @define-color nino_gradient_blue_green linear-gradient(to right, #00F160, #0575E4); | ||
@define-color nino_gradient_purple_red linear-gradient(to right, #7B4396, #DB2430); | ||
@define-color nino_gradient_pride linear-gradient(to right, #c6262e, #f37329, #f9c440, #68b723, #3689e6); | ||
*/ |
Oops, something went wrong.