From 0b9443b3caf1e5f8e0b99174f001b6ac033bc470 Mon Sep 17 00:00:00 2001 From: Piotr Miller Date: Thu, 20 Dec 2018 03:20:45 +0100 Subject: [PATCH 1/9] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7a36cc8..05145ce 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # t2ec -To simplify installation and usage of the scripts which are not a part of the [psuinfo](https://github.com/nwg-piotr/psuinfo) package, I thought to give them a PKGBUILD file, and a common command, too: +Collection of scripts to use in the Tint2 panel executors, which provide system information and controls as icons or textual display. Also find more in the [psuinfo](https://github.com/nwg-piotr/psuinfo) project. ```bash t2ec --script [argument] @@ -16,7 +16,7 @@ t2ec --script [argument] Together with the [psuinfo](https://github.com/nwg-piotr/psuinfo) package, all the most useful scripts are now unified and given common syntax: -![scripts in action](http://nwg.pl/wiki-tint2-executors/my-panels-261118.jpg) +![scripts in action](http://nwg.pl/wiki-tint2-executors/my-panels-201218.jpg) ## Installation: From b75de0fcd60ff6775c99194d0d437a7ac4bbbe11 Mon Sep 17 00:00:00 2001 From: Piotr Miller Date: Thu, 20 Dec 2018 09:12:05 +0100 Subject: [PATCH 2/9] Update README.md --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 05145ce..debd0ae 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,17 @@ Collection of scripts to use in the Tint2 panel executors, which provide system information and controls as icons or textual display. Also find more in the [psuinfo](https://github.com/nwg-piotr/psuinfo) project. +___ +Same as [psuinfo](https://github.com/nwg-piotr/psuinfo), these scripts were originally developed within the [tint2-executors](https://github.com/nwg-piotr/tint2-executors) project, and a number of people contributed to it: + +- [edskeye](https://github.com/edskeye) is the author of all icons, and also a tester from the very beginning; +- [natemaia](https://github.com/natemaia) improved the `t2ec --volume` command (later I applied similar solution in several other scripts); +- [johanmalm](https://github.com/johanmalm) provided the idea and a code snippet to attach [jgmenu](https://github.com/johanmalm/jgmenu); +- [PackRat](https://github.com/PackRat-SC2018), [Head_on_a_Stick](https://forum.archlabslinux.com/u/head_on_a_stick/summary), [sevenday4](https://forum.archlabslinux.com/u/sevenday4) have always good ideas. + +Many thanks to you all! +___ + ```bash t2ec --script [argument] ``` From 99901759f57072b9dba016987a205055e810bc60 Mon Sep 17 00:00:00 2001 From: Piotr Miller Date: Thu, 20 Dec 2018 09:15:28 +0100 Subject: [PATCH 3/9] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index debd0ae..412fc4f 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,8 @@ t2ec --script [argument] `t2ec --volume [up] | [down] | [toggle] | [level]` - to use as mouse event commands -Together with the [psuinfo](https://github.com/nwg-piotr/psuinfo) package, all the most useful scripts are now unified and given common syntax: + +**Together with the [psuinfo](https://github.com/nwg-piotr/psuinfo) package, all the most useful scripts are now unified and given common syntax:** ![scripts in action](http://nwg.pl/wiki-tint2-executors/my-panels-201218.jpg) From 7aad852e5aa6b04eb5562019b4ab68e77171abd9 Mon Sep 17 00:00:00 2001 From: Piotr Miller Date: Thu, 20 Dec 2018 09:15:48 +0100 Subject: [PATCH 4/9] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 412fc4f..682b50d 100644 --- a/README.md +++ b/README.md @@ -26,8 +26,11 @@ t2ec --script [argument] `t2ec --volume [up] | [down] | [toggle] | [level]` - to use as mouse event commands + **Together with the [psuinfo](https://github.com/nwg-piotr/psuinfo) package, all the most useful scripts are now unified and given common syntax:** + + ![scripts in action](http://nwg.pl/wiki-tint2-executors/my-panels-201218.jpg) ## Installation: From 36c8e8fac4017c7f908449ad7fffbb37ab2d3650 Mon Sep 17 00:00:00 2001 From: Piotr Miller Date: Thu, 20 Dec 2018 09:23:17 +0100 Subject: [PATCH 5/9] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 682b50d..90a653a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # t2ec -Collection of scripts to use in the Tint2 panel executors, which provide system information and controls as icons or textual display. Also find more in the [psuinfo](https://github.com/nwg-piotr/psuinfo) project. +Collection of scripts to provide system information and controls as icons or textual display. Aimed at [Tint2](https://gitlab.com/o9000/tint2), possible to apply in other panels. Also check the [psuinfo](https://github.com/nwg-piotr/psuinfo) project. ___ Same as [psuinfo](https://github.com/nwg-piotr/psuinfo), these scripts were originally developed within the [tint2-executors](https://github.com/nwg-piotr/tint2-executors) project, and a number of people contributed to it: From 1e2b027a839c6d38bdf6a70834f641f0d8a01320 Mon Sep 17 00:00:00 2001 From: Piotr Miller Date: Thu, 20 Dec 2018 09:29:33 +0100 Subject: [PATCH 6/9] Update README.md --- README.md | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 90a653a..26b5de2 100644 --- a/README.md +++ b/README.md @@ -14,22 +14,18 @@ Many thanks to you all! ___ ```bash -t2ec --script [argument] +t2ec --script [argument] [argument] ``` ## Example: `t2ec --volume` - to draw the volume icon + current volume level -`t2ec --volume -N` - to print "Vol: " + current volume level +`t2ec --volume -N` - to print "Vol: 20%" instead of the icon `t2ec --volume [up] | [down] | [toggle] | [level]` - to use as mouse event commands - - -**Together with the [psuinfo](https://github.com/nwg-piotr/psuinfo) package, all the most useful scripts are now unified and given common syntax:** - - +#### Together with the [psuinfo](https://github.com/nwg-piotr/psuinfo) package, all the most useful scripts are now unified and given similar syntax: ![scripts in action](http://nwg.pl/wiki-tint2-executors/my-panels-201218.jpg) From 9706b282025b2273262e78b8099336f3a179485e Mon Sep 17 00:00:00 2001 From: Piotr Miller Date: Thu, 20 Dec 2018 12:36:51 +0100 Subject: [PATCH 7/9] Update README.md --- README.md | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 26b5de2..16fdfa7 100644 --- a/README.md +++ b/README.md @@ -152,19 +152,19 @@ Icon display: `t2ec --weather` -"Show icons" and "Cache icons" checked. Continous output = 2. +*"Show icons"* and *"Cache icons"* checked. *Continous output* = 2. Textual display: `t2ec --weather -N | -M"My own text here"` (or just `-M` for no name) -"Show icons" unchecked. Continous output = 1. +*"Show icons"* unchecked. *Continous output* = 1. ### Details notification: `t2ec --weather -D[]` -Assign the command above to a mouse click event. Optional `` you only need if the executor displays data for another city tan specified in the config file (see below). +Assign the command above to a mouse click event. Optional `` you only need if the executor displays data for another city than specified in the config file (see below). ### Configuration: @@ -189,11 +189,11 @@ _sunrise = Sunrise _sunset = Sunset ``` -1. Obtain API key at [http://openweathermap.org](http://openweathermap.org), enter it in the `api_key` field; +1. Obtain an API key at [http://openweathermap.org](http://openweathermap.org), enter it in the `api_key` field; 2. find your city ID at [https://openweathermap.org/find](https://openweathermap.org/find), enter in the `city_id` field. 3. You may also replace default `metric` units with `imperial`, if you need to. -The `items` filed defines data components to be shown: +The `items` field defines data components to be shown: `[c]ity name, [s]hort description, [d]escription, [t]emperature, [p]ressure, [h]umidity, [w]ind` @@ -203,7 +203,11 @@ If default icons by @edskeye don't go well with your desktop layout, you may unc This small script does not really provide internalization. However, you may translate the display into your language by editing fields which names start from `_`, e.g.: -`_weather = Pogoda w` for "Weather in" in Polish. +``` +_weather = Pogoda w +``` + +for "Weather in" in Polish. ### Overriding weatherrc settings: From efdf9042c7ce74893f81a9a61fa00aeea2f42da6 Mon Sep 17 00:00:00 2001 From: Piotr Miller Date: Thu, 20 Dec 2018 12:40:23 +0100 Subject: [PATCH 8/9] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 16fdfa7..4947e80 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ For `psuinfo` commands install the [psuinfo package](https://aur.archlinux.org/p `t2ec --brightness [-N]` -`t2ec --lbrightness [-N]` (for `light-git` optional package) +`t2ec --lbrightness [-N]` (for `ligh` optional package) `t2ec --battery [-l] | [-N]` (`[-l]` for icon + level, `[-N]` for "Bri: " + level From 2aa8c714fdc7dda6a81cd3c6d276b5c170540def Mon Sep 17 00:00:00 2001 From: Piotr Miller Date: Fri, 21 Dec 2018 00:07:05 +0100 Subject: [PATCH 9/9] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4947e80..d0f9285 100644 --- a/README.md +++ b/README.md @@ -168,7 +168,7 @@ Assign the command above to a mouse click event. Optional `` you only n ### Configuration: -At the first use, the script creates the `~/.t2ec/weatherrc` config file. You need to edit at least 2 values. +At the first use, the script creates the `~/.t2ecol/weatherrc` config file. You need to edit at least 2 values. ``` items = ct