diff --git a/_posts/2014-12-19-aw-v21-bells-and-whistles.html b/_posts/2014-12-19-aw-v21-bells-and-whistles.html index 0bf61d1..21d30c4 100644 --- a/_posts/2014-12-19-aw-v21-bells-and-whistles.html +++ b/_posts/2014-12-19-aw-v21-bells-and-whistles.html @@ -11,8 +11,11 @@ description: The paper deals with settings of a custom scripts and graphical bar

Introduction

For a start it is highly recommended copy file $HOME/.kde4/share/config/extsysmon.conf 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.

+

General

+

Items are stored in the two directories: /usr/share/awesomewidgets/%TYPE%/ and $HOME/.local/share/awesomewidgets/%TYPE%/ (path may be differ in depend from your distro). Settings in the home directory have a higher priority that global ones.

+

Bars

-

Bars are stored in the two directories: /usr/share/awesomewidgets/desktops/ and $HOME/.local/share/awesomewidgets/desktops/ (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:

+

Directory is desktops, configuration files have the following fields:

@@ -84,7 +87,7 @@ description: The paper deals with settings of a custom scripts and graphical bar

Quotes

-

Quotes are stored in the two directories: /usr/share/awesomewidgets/quotes/ and $HOME/.local/share/awesomewidgets/quotes/ (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:

+

Directory is quotes, configuration files have the following fields:

@@ -132,7 +135,7 @@ description: The paper deals with settings of a custom scripts and graphical bar

Scripts

-

Scripts are stored in the two directories: /usr/share/awesomewidgets/scripts/ and $HOME/.local/share/awesomewidgets/scripts/ (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:

+

Directory is scripts, configuration files have the following fields:

@@ -204,7 +207,7 @@ description: The paper deals with settings of a custom scripts and graphical bar

Upgrade

-

Scripts are stored in the two directories: /usr/share/awesomewidgets/upgrade/ and $HOME/.local/share/awesomewidgets/upgrade/ (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:

+

Directory is upgrade, configuration files have the following fields:

@@ -264,7 +267,7 @@ description: The paper deals with settings of a custom scripts and graphical bar

Weather

-

Weathers are stored in the two directories: /usr/share/awesomewidgets/weather/ and $HOME/.local/share/awesomewidgets/weather/ (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 OpenWeatherMap. Configuration files have the following fields:

+

The weather uses data and API from OpenWeatherMap. Directory is weather, configuration files have the following fields:

diff --git a/ru/_posts/2014-12-19-aw-v21-bells-and-whistles.html b/ru/_posts/2014-12-19-aw-v21-bells-and-whistles.html index e041d44..b9a6a1d 100644 --- a/ru/_posts/2014-12-19-aw-v21-bells-and-whistles.html +++ b/ru/_posts/2014-12-19-aw-v21-bells-and-whistles.html @@ -11,8 +11,11 @@ description: Данная статья посвящена обсуждению

Введение

Для начала, я настоятельно рекомендую для после обновления не открывая настроек виджета скопировать в безопасное место файл $HOME/.kde4/share/config/extsysmon.conf, так как старые настройки кастомных скриптов теперь несовместимы. Вообще, следует заметить, что обе новых фичи можно настраивать и из графического интерфейса, однако я опишу, как это делается простым редактированием desktop файлов.

+

Общее

+

Все элементы хранятся в двух директориях: /usr/share/awesomewidgets/%TYPE%/ и $HOME/.local/share/awesomewidgets/%TYPE%/ (пути могут немного отличаться в зависимости от используемого дистрибутива). Настройки в домашней директории перезаписывают глобальные настройки.

+

Бары

-

Бары хранятся в двух директориях: /usr/share/awesomewidgets/desktops/ и $HOME/.local/share/awesomewidgets/desktops/ (пути могут немного отличаться в зависимости от используемого дистрибутива). Настройки в домашней директории перезаписывают глобальные настройки. Файлы настроек имеют следующие поля:

+

Директория называется desktops, файлы настроек имеют следующие поля:

@@ -84,7 +87,7 @@ description: Данная статья посвящена обсуждению

Котировки

-

Котировки хранятся в двух директориях: /usr/share/awesomewidgets/quotes/ и $HOME/.local/share/awesomewidgets/quotes/ (пути могут немного отличаться в зависимости от используемого дистрибутива). Настройки в домашней директории перезаписывают глобальные настройки. Файлы настроек имеют следующие поля:

+

Директория называется quotes, файлы настроек имеют следующие поля:

@@ -132,7 +135,7 @@ description: Данная статья посвящена обсуждению

Скрипты

-

Скрипты хранятся в двух директориях: /usr/share/awesomewidgets/scripts/ и $HOME/.local/share/awesomewidgets/scripts/ (пути могут немного отличаться в зависимости от используемого дистрибутива). Настройки в домашней директории перезаписывают глобальные настройки. Файлы настроек имеют следующие поля:

+

Директория называется scripts, файлы настроек имеют следующие поля:

@@ -204,7 +207,7 @@ description: Данная статья посвящена обсуждению

Обновления

-

Обновления хранятся в двух директориях: /usr/share/awesomewidgets/upgrade/ и $HOME/.local/share/awesomewidgets/upgrade/ (пути могут немного отличаться в зависимости от используемого дистрибутива). Настройки в домашней директории перезаписывают глобальные настройки. Файлы настроек имеют следующие поля:

+

Директория называется upgrade, файлы настроек имеют следующие поля:

@@ -264,7 +267,7 @@ description: Данная статья посвящена обсуждению

Погода

-

Погода хранится в двух директориях: /usr/share/awesomewidgets/weather/ и $HOME/.local/share/awesomewidgets/weather/ (пути могут немного отличаться в зависимости от используемого дистрибутива). Настройки в домашней директории перезаписывают глобальные настройки. Для показа погоды используются данные и API OpenWeatherMap. Файлы настроек имеют следующие поля:

+

Для показа погоды используются данные и API OpenWeatherMap. Директория называется weather, файлы настроек имеют следующие поля: