icontheme 0.5.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:printicons - A minimal D application.
icontheme
D library for working with icon themes in freedesktop environments. See Icon Theme Specification.
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
Run to print names of all examined index.theme files to stdout:
dub run icontheme:iconthemetest -- --verbose
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 preferred size:
dub run icontheme:findicon -- --theme=gnome --size=32 folder
Print icons
Search icons in specified theme:
dub run icontheme:printicons -- --theme=gnome > result.txt
Include hicolor theme, base themes and icons that don't belong to any theme:
dub run icontheme:printicons -- --include-nonthemed --include-hicolor --include-base --theme=Faenza > result.txt
- Registered by Roman Chistokhodov
- 0.5.0 released 9 years ago
- FreeSlave/icontheme
- BSL-1.0
- Copyright © 2015, Roman Chistokhodov
- Authors:
- Sub packages:
- icontheme:iconthemetest, icontheme:findicon, icontheme:describetheme, icontheme:printicons
- 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 - Download Stats:
-
-
3 downloads today
-
28 downloads this week
-
103 downloads this month
-
4410 downloads total
-
- Score:
- 2.2
- Short URL:
- icontheme.dub.pm