Skip to content

Commit

Permalink
deploy: 0bdad30
Browse files Browse the repository at this point in the history
  • Loading branch information
linkfrg committed Jan 6, 2025
1 parent 1de1a8c commit ab76afb
Show file tree
Hide file tree
Showing 117 changed files with 2,829 additions and 585 deletions.
2 changes: 2 additions & 0 deletions latest/_sources/api/index.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ This reference manual details functions, modules, and objects included in Ignis,
gobject
variable
client
options
options_manager
exceptions
dbus
dbus_menu
Expand Down
5 changes: 5 additions & 0 deletions latest/_sources/api/options.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Options
==========

.. autoclass:: ignis.options.Options
:members:
8 changes: 8 additions & 0 deletions latest/_sources/api/options_manager.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Options Manager
===============

.. autoclass:: ignis.options.OptionsManager
:members:

.. autoclass:: ignis.options.OptionsGroup
:members:
1 change: 1 addition & 0 deletions latest/_sources/user/index.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ Get started
dynamic_content
styling
cli
options
expanding_functionality
faq
15 changes: 15 additions & 0 deletions latest/_sources/user/options.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Options
===========

Some services provide `options` - user-specific settings that allow you to customize their behavior to suit your needs.

For a complete list of available options, refer to :class:`~ignis.options.Options`.
There is also detailed documentation about using them.


User Options
---------------

You can define your own options!

Just follow the structure described in :class:`~ignis.options.OptionsManager`.
290 changes: 145 additions & 145 deletions latest/_static/pygments.css

Large diffs are not rendered by default.

11 changes: 6 additions & 5 deletions latest/api/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<link href="../_static/styles/theme.css?digest=8878045cc6db502f8baf" rel="stylesheet" />
<link href="../_static/styles/pydata-sphinx-theme.css?digest=8878045cc6db502f8baf" rel="stylesheet" />

<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=a746c00c" />
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=8f2a1f02" />
<link rel="stylesheet" type="text/css" href="../_static/copybutton.css?v=76b2166b" />
<link rel="stylesheet" type="text/css" href="../_static/sphinx-design.min.css?v=95c83b7e" />
<link rel="stylesheet" type="text/css" href="../_static/css/custom.css?v=fe5c0044" />
Expand Down Expand Up @@ -371,6 +371,8 @@
<li class="toctree-l1"><a class="reference internal" href="gobject.html">GObject</a></li>
<li class="toctree-l1"><a class="reference internal" href="variable.html">Variable</a></li>
<li class="toctree-l1"><a class="reference internal" href="client.html">Client</a></li>
<li class="toctree-l1"><a class="reference internal" href="options.html">Options</a></li>
<li class="toctree-l1"><a class="reference internal" href="options_manager.html">Options Manager</a></li>
<li class="toctree-l1"><a class="reference internal" href="exceptions.html">Exceptions</a></li>
<li class="toctree-l1"><a class="reference internal" href="dbus.html">D-Bus</a></li>
<li class="toctree-l1"><a class="reference internal" href="dbus_menu.html">D-Bus menu</a></li>
Expand Down Expand Up @@ -423,7 +425,6 @@
<li class="toctree-l2"><a class="reference internal" href="services/network.html">Network</a></li>
<li class="toctree-l2"><a class="reference internal" href="services/niri.html">Niri</a></li>
<li class="toctree-l2"><a class="reference internal" href="services/notifications.html">Notifications</a></li>
<li class="toctree-l2"><a class="reference internal" href="services/options.html">Options</a></li>
<li class="toctree-l2"><a class="reference internal" href="services/recorder.html">Recorder</a></li>
<li class="toctree-l2"><a class="reference internal" href="services/system_tray.html">System Tray</a></li>
<li class="toctree-l2"><a class="reference internal" href="services/systemd.html">Systemd</a></li>
Expand Down Expand Up @@ -529,7 +530,7 @@ <h1>Application<a class="headerlink" href="#application" title="Link to this hea
<p class="admonition-title">Danger</p>
<p>Do not initialize this class!
Instead, use the already initialized instance as shown below.</p>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="kn">from</span> <span class="nn">ignis.app</span> <span class="kn">import</span> <span class="n">IgnisApp</span>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="kn">from</span><span class="w"> </span><span class="nn">ignis.app</span><span class="w"> </span><span class="kn">import</span> <span class="n">IgnisApp</span>

<span class="n">app</span> <span class="o">=</span> <span class="n">IgnisApp</span><span class="o">.</span><span class="n">get_default</span><span class="p">()</span>
</pre></div>
Expand Down Expand Up @@ -697,8 +698,8 @@ <h1>Application<a class="headerlink" href="#application" title="Link to this hea
<p>To apply a CSS color to an icon, its name and filename must end with <code class="docutils literal notranslate"><span class="pre">-symbolic</span></code>.</p>
</div>
<p>then, add this to your <code class="docutils literal notranslate"><span class="pre">config.py</span></code> :</p>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="kn">from</span> <span class="nn">ignis.utils</span> <span class="kn">import</span> <span class="n">Utils</span>
<span class="kn">from</span> <span class="nn">ignis.app</span> <span class="kn">import</span> <span class="n">IgnisApp</span>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="kn">from</span><span class="w"> </span><span class="nn">ignis.utils</span><span class="w"> </span><span class="kn">import</span> <span class="n">Utils</span>
<span class="kn">from</span><span class="w"> </span><span class="nn">ignis.app</span><span class="w"> </span><span class="kn">import</span> <span class="n">IgnisApp</span>

<span class="n">app</span> <span class="o">=</span> <span class="n">IgnisApp</span><span class="o">.</span><span class="n">get_default</span><span class="p">()</span>

Expand Down
5 changes: 3 additions & 2 deletions latest/api/base_service.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<link href="../_static/styles/theme.css?digest=8878045cc6db502f8baf" rel="stylesheet" />
<link href="../_static/styles/pydata-sphinx-theme.css?digest=8878045cc6db502f8baf" rel="stylesheet" />

<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=a746c00c" />
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=8f2a1f02" />
<link rel="stylesheet" type="text/css" href="../_static/copybutton.css?v=76b2166b" />
<link rel="stylesheet" type="text/css" href="../_static/sphinx-design.min.css?v=95c83b7e" />
<link rel="stylesheet" type="text/css" href="../_static/css/custom.css?v=fe5c0044" />
Expand Down Expand Up @@ -371,6 +371,8 @@
<li class="toctree-l1"><a class="reference internal" href="gobject.html">GObject</a></li>
<li class="toctree-l1"><a class="reference internal" href="variable.html">Variable</a></li>
<li class="toctree-l1"><a class="reference internal" href="client.html">Client</a></li>
<li class="toctree-l1"><a class="reference internal" href="options.html">Options</a></li>
<li class="toctree-l1"><a class="reference internal" href="options_manager.html">Options Manager</a></li>
<li class="toctree-l1"><a class="reference internal" href="exceptions.html">Exceptions</a></li>
<li class="toctree-l1"><a class="reference internal" href="dbus.html">D-Bus</a></li>
<li class="toctree-l1"><a class="reference internal" href="dbus_menu.html">D-Bus menu</a></li>
Expand Down Expand Up @@ -423,7 +425,6 @@
<li class="toctree-l2"><a class="reference internal" href="services/network.html">Network</a></li>
<li class="toctree-l2"><a class="reference internal" href="services/niri.html">Niri</a></li>
<li class="toctree-l2"><a class="reference internal" href="services/notifications.html">Notifications</a></li>
<li class="toctree-l2"><a class="reference internal" href="services/options.html">Options</a></li>
<li class="toctree-l2"><a class="reference internal" href="services/recorder.html">Recorder</a></li>
<li class="toctree-l2"><a class="reference internal" href="services/system_tray.html">System Tray</a></li>
<li class="toctree-l2"><a class="reference internal" href="services/systemd.html">Systemd</a></li>
Expand Down
5 changes: 3 additions & 2 deletions latest/api/base_widget.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<link href="../_static/styles/theme.css?digest=8878045cc6db502f8baf" rel="stylesheet" />
<link href="../_static/styles/pydata-sphinx-theme.css?digest=8878045cc6db502f8baf" rel="stylesheet" />

<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=a746c00c" />
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=8f2a1f02" />
<link rel="stylesheet" type="text/css" href="../_static/copybutton.css?v=76b2166b" />
<link rel="stylesheet" type="text/css" href="../_static/sphinx-design.min.css?v=95c83b7e" />
<link rel="stylesheet" type="text/css" href="../_static/css/custom.css?v=fe5c0044" />
Expand Down Expand Up @@ -371,6 +371,8 @@
<li class="toctree-l1"><a class="reference internal" href="gobject.html">GObject</a></li>
<li class="toctree-l1"><a class="reference internal" href="variable.html">Variable</a></li>
<li class="toctree-l1"><a class="reference internal" href="client.html">Client</a></li>
<li class="toctree-l1"><a class="reference internal" href="options.html">Options</a></li>
<li class="toctree-l1"><a class="reference internal" href="options_manager.html">Options Manager</a></li>
<li class="toctree-l1"><a class="reference internal" href="exceptions.html">Exceptions</a></li>
<li class="toctree-l1"><a class="reference internal" href="dbus.html">D-Bus</a></li>
<li class="toctree-l1"><a class="reference internal" href="dbus_menu.html">D-Bus menu</a></li>
Expand Down Expand Up @@ -423,7 +425,6 @@
<li class="toctree-l2"><a class="reference internal" href="services/network.html">Network</a></li>
<li class="toctree-l2"><a class="reference internal" href="services/niri.html">Niri</a></li>
<li class="toctree-l2"><a class="reference internal" href="services/notifications.html">Notifications</a></li>
<li class="toctree-l2"><a class="reference internal" href="services/options.html">Options</a></li>
<li class="toctree-l2"><a class="reference internal" href="services/recorder.html">Recorder</a></li>
<li class="toctree-l2"><a class="reference internal" href="services/system_tray.html">System Tray</a></li>
<li class="toctree-l2"><a class="reference internal" href="services/systemd.html">Systemd</a></li>
Expand Down
13 changes: 7 additions & 6 deletions latest/api/client.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<link href="../_static/styles/theme.css?digest=8878045cc6db502f8baf" rel="stylesheet" />
<link href="../_static/styles/pydata-sphinx-theme.css?digest=8878045cc6db502f8baf" rel="stylesheet" />

<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=a746c00c" />
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=8f2a1f02" />
<link rel="stylesheet" type="text/css" href="../_static/copybutton.css?v=76b2166b" />
<link rel="stylesheet" type="text/css" href="../_static/sphinx-design.min.css?v=95c83b7e" />
<link rel="stylesheet" type="text/css" href="../_static/css/custom.css?v=fe5c0044" />
Expand All @@ -57,7 +57,7 @@
</script>
<link rel="index" title="Index" href="../genindex.html" />
<link rel="search" title="Search" href="../search.html" />
<link rel="next" title="Exceptions" href="exceptions.html" />
<link rel="next" title="Options" href="options.html" />
<link rel="prev" title="Variable" href="variable.html" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="docsearch:language" content="en"/>
Expand Down Expand Up @@ -371,6 +371,8 @@
<li class="toctree-l1"><a class="reference internal" href="gobject.html">GObject</a></li>
<li class="toctree-l1"><a class="reference internal" href="variable.html">Variable</a></li>
<li class="toctree-l1 current active"><a class="current reference internal" href="#">Client</a></li>
<li class="toctree-l1"><a class="reference internal" href="options.html">Options</a></li>
<li class="toctree-l1"><a class="reference internal" href="options_manager.html">Options Manager</a></li>
<li class="toctree-l1"><a class="reference internal" href="exceptions.html">Exceptions</a></li>
<li class="toctree-l1"><a class="reference internal" href="dbus.html">D-Bus</a></li>
<li class="toctree-l1"><a class="reference internal" href="dbus_menu.html">D-Bus menu</a></li>
Expand Down Expand Up @@ -423,7 +425,6 @@
<li class="toctree-l2"><a class="reference internal" href="services/network.html">Network</a></li>
<li class="toctree-l2"><a class="reference internal" href="services/niri.html">Niri</a></li>
<li class="toctree-l2"><a class="reference internal" href="services/notifications.html">Notifications</a></li>
<li class="toctree-l2"><a class="reference internal" href="services/options.html">Options</a></li>
<li class="toctree-l2"><a class="reference internal" href="services/recorder.html">Recorder</a></li>
<li class="toctree-l2"><a class="reference internal" href="services/system_tray.html">System Tray</a></li>
<li class="toctree-l2"><a class="reference internal" href="services/systemd.html">Systemd</a></li>
Expand Down Expand Up @@ -534,7 +535,7 @@ <h1>Client<a class="headerlink" href="#client" title="Link to this heading">#</a
It's unnecessary; use <a class="reference internal" href="app.html#ignis.app.IgnisApp" title="ignis.app.IgnisApp"><code class="xref py py-class docutils literal notranslate"><span class="pre">IgnisApp</span></code></a> instead.</p>
</div>
<p>Example usage:</p>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="kn">from</span> <span class="nn">ignis.client</span> <span class="kn">import</span> <span class="n">IgnisClient</span>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="kn">from</span><span class="w"> </span><span class="nn">ignis.client</span><span class="w"> </span><span class="kn">import</span> <span class="n">IgnisClient</span>

<span class="n">client</span> <span class="o">=</span> <span class="n">IgnisClient</span><span class="p">()</span>
<span class="nb">print</span><span class="p">(</span><span class="n">client</span><span class="o">.</span><span class="n">list_windows</span><span class="p">())</span>
Expand Down Expand Up @@ -683,11 +684,11 @@ <h1>Client<a class="headerlink" href="#client" title="Link to this heading">#</a
</div>
</a>
<a class="right-next"
href="exceptions.html"
href="options.html"
title="next page">
<div class="prev-next-info">
<p class="prev-next-subtitle">next</p>
<p class="prev-next-title">Exceptions</p>
<p class="prev-next-title">Options</p>
</div>
<i class="fa-solid fa-angle-right"></i>
</a>
Expand Down
Loading

0 comments on commit ab76afb

Please sign in to comment.