belthsazarliem / pabrikon

generate icon for linux desktop

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pabrikon

Build Status GitLicense

Pabrikon can be run in all GNU/Linux distributions and designed to help GNU/Linux distro developers, especially for the artwork team to create and manage their own icons.

The idea of Pabrikon was initiated by @herpiko, from artwork team in BlankOn Project. Currently, Pabrikon only a bash script but this will be very helpful to manage icons.

Requirements

Directory structure

In your working folder requires at least one of the following list:

  • actions/scalable/
  • animations/scalable/
  • apps/scalable/
  • categories/scalable/
  • devices/scalable/
  • emblems/scalable/
  • io/scalable/
  • mimetypes/scalable/
  • places/scalable/
  • status/scalable/
  • stock/scalable/
  • data/ <= This contains CSV files of symlinks data

The *.svg files will be stored in the scalable folder.

Installation

$ curl https://raw.githubusercontent.com/winardiaris/pabrikon/master/install.sh | bash

Help

PABRIKON(1)    USERMANUAL    PABRIKON(1)

NAME
    pabrikon

DESCRIPTION
    Pabrikon can run on all GNU/Linux distributions and designed
    to help GNU/Linux distro developers, especially for the artwork team
    to create and manage their own icons.

OPTION
  -a, --all
    force export from all files

  -b, --build
    build icon from svg to png

  -c, --clean
    clean project dir from png files

  --comment
    this for comment a new icon project

  -d, --directory
    select the type of directory icon project [ex:apps, categories, places,
    etc..]

  -h, --help
    output usage information

  -g, --makesvg
    build icons in svg file

  -l, --list
    list file in current project

  --makecsv
    make csv file for icon project from symlink or pabrikon default

  -p,--makepng
    build icons in png file

  -s,--makesym
    build symbolic link file from csv file in data directory

  --minizer
    reduce the size of svg file

  --name
    naming a new project or name a new icon

  --new
    copy default icon svg file to new icon

  --newproject
    make a new project icon could be blank projects or from git url

  --opencsv
    open csv file on the project or pabrikon default

  --source
    source of --makecsv , --newproject , --opencsv

  -t, --types
    for --clean {default|png|symlink}
    for --list {all|png|svg|symlink}

  -u, --update
    update pabrikon

  --vaccum
    vaccum size svg file with feature from Inkscape

  -v, --verbose
    increase verbosity

  --version
    show pabrikon version


EXAMPLES
  pabrikon --build
    build icon to png in latest file modified

  pabrikon --build --all
    build icon to png all files

  pabrikon --build --type=svg

  pabrikon --clean
    clean the project from png, symlink and svg file

  pabrikon --clean --type=png
    clean the project from png file

  pabrikon --clean --type=symlink
    clean the project from symlink file

  pabrikon --clean --type=svg
    clean the project from svg file

  pabrikon -g
  pabrikon --makesvg
	build icons in svg file

  pabrikon -g -a
    build icon to png all files

  pabrikon -h
    show this help usage

  pabrikon -l -t {all|png|svg|symlink}
    show list file in current project

  pabrikon --makecsv
  pabrikon --makecsv --source=default
    make csv file from symlink in current project

  pabrikon --makecsv --source=pabrikon
    copy csv file from default pabrikon to current project

  pabrikon -s
  pabrikon --makesym
    build symbolic link file from csv file in data directory

  pabrikon --makecsv --source=pabrikon
    copy csv file from pabrikon default to current project

  pabrikon -p
  pabrikon --makepng
    build icons in png file

  pabrikon -p -a
  pabrikon --makepng --all
    build icon to png all files

  pabrikon -n --name=NAME.svg --directory=places
  pabrikon --new --name=NAME.svg --directory=places
    copy default icon svg file to <directory>/scalable/<name>

  pabrikon --newproject --name=NAME --comment="comment or description for icon"
    make new blank project with <name> of icon

  pabrikon --newproject --source=git-url-of-icon-project.git
    make new project with source from git url

  pabrikon --opencsv --name=apps
    open csv file with name apps.csv in current icon project

  pabrikon --opencsv --name=places --source=pabrikon
    open csv file with name places.csv in pabrikon default data


TODO it

In the future, Pabrikon will be extended to a GUI-based application with more features: a friendly interface to create a new project, import/export projects, one-on-one/many for export png, use Inkscape for editing, managing symlink, and many more.

About

generate icon for linux desktop

License:GNU General Public License v3.0


Languages

Language:Python 85.2%Language:Shell 14.8%