more pretty pages

This commit is contained in:
arcan1s 2015-08-31 07:34:19 +03:00
parent 2001c2f59b
commit 52f00e342a
2 changed files with 16 additions and 10 deletions

View File

@ -11,8 +11,11 @@ description: The paper deals with settings of a custom scripts and graphical bar
<h2><a href="#intro" class="anchor" id="intro"><span class="octicon octicon-link"></span></a>Introduction</h2>
<p>For a start it is highly recommended copy file <code>$HOME/.kde4/share/config/extsysmon.conf</code> after widget update before you open widget settings, because old and new script settings are incompatible. Also I should note that these features can be configured from graphical interface, but I will describe how it can be done by simply editing the desktop file.</p>
<h2><a href="#general" class="anchor" id="general"><span class="octicon octicon-link"></span></a>General</h2>
<p>Items are stored in the two directories: <code>/usr/share/awesomewidgets/%TYPE%/</code> and <code>$HOME/.local/share/awesomewidgets/%TYPE%/</code> (path may be differ in depend from your distro). Settings in the home directory have a higher priority that global ones.</p>
<h2><a href="#bars" class="anchor" id="bars"><span class="octicon octicon-link"></span></a>Bars</h2>
<p>Bars are stored in the two directories: <code>/usr/share/awesomewidgets/desktops/</code> and <code>$HOME/.local/share/awesomewidgets/desktops/</code> (path may be differ in depend from your distro). Settings in the home directory have a higher priority that global ones. Configuration files have the following fields:</p>
<p>Directory is <code>desktops</code>, configuration files have the following fields:</p>
<table>
<tr>
@ -84,7 +87,7 @@ description: The paper deals with settings of a custom scripts and graphical bar
</table>
<h2><a href="#quotes" class="anchor" id="quotes"><span class="octicon octicon-link"></span></a>Quotes</h2>
<p>Quotes are stored in the two directories: <code>/usr/share/awesomewidgets/quotes/</code> and <code>$HOME/.local/share/awesomewidgets/quotes/</code> (path may be differ in depend from your distro). Settings in the home directory have a higher priority that global ones. Configuration files have the following fields:</p>
<p>Directory is <code>quotes</code>, configuration files have the following fields:</p>
<table>
<tr>
@ -132,7 +135,7 @@ description: The paper deals with settings of a custom scripts and graphical bar
</table>
<h2><a href="#scripts" class="anchor" id="scripts"><span class="octicon octicon-link"></span></a>Scripts</h2>
<p>Scripts are stored in the two directories: <code>/usr/share/awesomewidgets/scripts/</code> and <code>$HOME/.local/share/awesomewidgets/scripts/</code> (path may be differ in depend from your distro). Settings in the home directory have a higher priority that global ones. Configuration files have the following fields:</p>
<p>Directory is <code>scripts</code>, configuration files have the following fields:</p>
<table>
<tr>
@ -204,7 +207,7 @@ description: The paper deals with settings of a custom scripts and graphical bar
</table>
<h2><a href="#upgrade" class="anchor" id="upgrade"><span class="octicon octicon-link"></span></a>Upgrade</h2>
<p>Scripts are stored in the two directories: <code>/usr/share/awesomewidgets/upgrade/</code> and <code>$HOME/.local/share/awesomewidgets/upgrade/</code> (path may be differ in depend from your distro). Settings in the home directory have a higher priority that global ones. Configuration files have the following fields:</p>
<p>Directory is <code>upgrade</code>, configuration files have the following fields:</p>
<table>
<tr>
@ -264,7 +267,7 @@ description: The paper deals with settings of a custom scripts and graphical bar
</table>
<h2><a href="#weather" class="anchor" id="weather"><span class="octicon octicon-link"></span></a>Weather</h2>
<p>Weathers are stored in the two directories: <code>/usr/share/awesomewidgets/weather/</code> and <code>$HOME/.local/share/awesomewidgets/weather/</code> (path may be differ in depend from your distro). Settings in the home directory have a higher priority that global ones. The weather uses data and API from <a href="http://openweathermap.org/" title="OpenWeatherMap site">OpenWeatherMap</a>. Configuration files have the following fields:</p>
<p>The weather uses data and API from <a href="http://openweathermap.org/" title="OpenWeatherMap site">OpenWeatherMap</a>. Directory is <code>weather</code>, configuration files have the following fields:</p>
<table>
<tr>

View File

@ -11,8 +11,11 @@ description: Данная статья посвящена обсуждению
<h2><a href="#intro" class="anchor" id="intro"><span class="octicon octicon-link"></span></a>Введение</h2>
<p>Для начала, я настоятельно рекомендую для после обновления <b>не открывая настроек виджета</b> скопировать в безопасное место файл <code>$HOME/.kde4/share/config/extsysmon.conf</code>, так как старые настройки кастомных скриптов теперь несовместимы. Вообще, следует заметить, что обе новых фичи можно настраивать и из графического интерфейса, однако я опишу, как это делается простым редактированием desktop файлов.</p>
<h2><a href="#general" class="anchor" id="general"><span class="octicon octicon-link"></span></a>Общее</h2>
<p>Все элементы хранятся в двух директориях: <code>/usr/share/awesomewidgets/%TYPE%/</code> и <code>$HOME/.local/share/awesomewidgets/%TYPE%/</code> (пути могут немного отличаться в зависимости от используемого дистрибутива). Настройки в домашней директории перезаписывают глобальные настройки.</p>
<h2><a href="#bars" class="anchor" id="bars"><span class="octicon octicon-link"></span></a>Бары</h2>
<p>Бары хранятся в двух директориях: <code>/usr/share/awesomewidgets/desktops/</code> и <code>$HOME/.local/share/awesomewidgets/desktops/</code> (пути могут немного отличаться в зависимости от используемого дистрибутива). Настройки в домашней директории перезаписывают глобальные настройки. Файлы настроек имеют следующие поля:</p>
<p>Директория называется <code>desktops</code>, файлы настроек имеют следующие поля:</p>
<table>
<tr>
@ -84,7 +87,7 @@ description: Данная статья посвящена обсуждению
</table>
<h2><a href="#quotes" class="anchor" id="quotes"><span class="octicon octicon-link"></span></a>Котировки</h2>
<p>Котировки хранятся в двух директориях: <code>/usr/share/awesomewidgets/quotes/</code> и <code>$HOME/.local/share/awesomewidgets/quotes/</code> (пути могут немного отличаться в зависимости от используемого дистрибутива). Настройки в домашней директории перезаписывают глобальные настройки. Файлы настроек имеют следующие поля:</p>
<p>Директория называется <code>quotes</code>, файлы настроек имеют следующие поля:</p>
<table>
<tr>
@ -132,7 +135,7 @@ description: Данная статья посвящена обсуждению
</table>
<h2><a href="#scripts" class="anchor" id="scripts"><span class="octicon octicon-link"></span></a>Скрипты</h2>
<p>Скрипты хранятся в двух директориях: <code>/usr/share/awesomewidgets/scripts/</code> и <code>$HOME/.local/share/awesomewidgets/scripts/</code> (пути могут немного отличаться в зависимости от используемого дистрибутива). Настройки в домашней директории перезаписывают глобальные настройки. Файлы настроек имеют следующие поля:</p>
<p>Директория называется <code>scripts</code>, файлы настроек имеют следующие поля:</p>
<table>
<tr>
@ -204,7 +207,7 @@ description: Данная статья посвящена обсуждению
</table>
<h2><a href="#upgrade" class="anchor" id="upgrade"><span class="octicon octicon-link"></span></a>Обновления</h2>
<p>Обновления хранятся в двух директориях: <code>/usr/share/awesomewidgets/upgrade/</code> и <code>$HOME/.local/share/awesomewidgets/upgrade/</code> (пути могут немного отличаться в зависимости от используемого дистрибутива). Настройки в домашней директории перезаписывают глобальные настройки. Файлы настроек имеют следующие поля:</p>
<p>Директория называется <code>upgrade</code>, файлы настроек имеют следующие поля:</p>
<table>
<tr>
@ -264,7 +267,7 @@ description: Данная статья посвящена обсуждению
</table>
<h2><a href="#weather" class="anchor" id="weather"><span class="octicon octicon-link"></span></a>Погода</h2>
<p>Погода хранится в двух директориях: <code>/usr/share/awesomewidgets/weather/</code> и <code>$HOME/.local/share/awesomewidgets/weather/</code> (пути могут немного отличаться в зависимости от используемого дистрибутива). Настройки в домашней директории перезаписывают глобальные настройки. Для показа погоды используются данные и API <a href="http://openweathermap.org/" title="Сайт OpenWeatherMap">OpenWeatherMap</a>. Файлы настроек имеют следующие поля:</p>
<p>Для показа погоды используются данные и API <a href="http://openweathermap.org/" title="Сайт OpenWeatherMap">OpenWeatherMap</a>. Директория называется <code>weather</code>, файлы настроек имеют следующие поля:</p>
<table>
<tr>