icontheme 0.3.0

Icon Theme Specification implementation


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:


This package provides sub packages which can be used individually:

icontheme:iconthemetest - A minimal D application.

icontheme:findicon - A minimal D application.

icontheme:describetheme - A minimal D application.

icontheme

D library for working with icon themes in freedesktop environments. See Icon Theme Specification.

Build Status

Generating documentation

Ddoc:

dub build --build=docs

Ddox:

dub build --build=ddox

Running tests

dub test

Examples

Describe icon theme

Prints the basic information about theme to stdout.

dub run icontheme:describetheme -- gnome

You also can pass the absolute path to file:

dub run icontheme:describetheme -- /usr/share/icons/gnome/index.theme

Or directory:

dub run icontheme:describetheme -- /usr/share/icons/gnome

Icon theme test

Parses all index.theme files in base icon directories. Writes errors (if any) to stderr. Use this example to check if the icontheme library can parse all themes on your system.

dub run icontheme:iconthemetest

Find icon

Utility that finds icon by its name.

dub run icontheme:findicon -- nautilus

You can also specify theme:

dub run icontheme:findicon -- --theme=gnome folder

And size:

dub run icontheme:findicon -- --theme=gnome --size=32 folder


Authors:
  • Roman Chistokhodov
Sub packages:
icontheme:iconthemetest, icontheme:findicon, icontheme:describetheme
Dependencies:
inilike
Versions:
1.2.3 2020-Sep-18
1.2.2 2018-May-04
1.2.1 2017-Oct-24
1.2.0 2017-Oct-23
1.1.1 2017-Oct-13
Show all 28 versions
Download Stats:
  • 3 downloads today

  • 28 downloads this week

  • 107 downloads this month

  • 4410 downloads total

Score:
2.2
Short URL:
icontheme.dub.pm