Skip to content
This repository has been archived by the owner on May 28, 2021. It is now read-only.

Figwrapper is a script that fully integrates the Figma design tool (web version) into a complete app for Linux with local font support.

License

Notifications You must be signed in to change notification settings

cristianovitorino/figwrapper

Repository files navigation

Outdated project. Use at your own risk.

icon

Figwrapper

CodeFactor

screenshot

About

Figwrapper is a script that integrates the Figma design tool (web version) generated by nativefier into a complete, fully integrated application with local font support for Linux. It uses the Electron wrapper generated, which is further customized, to behave like a proper Linux app.

Why

Convenience and local system font support. Because I use Figma as my main design tool and I'm a Linux user, I wanted a full Linux integration and automated install. Figwrapper offers improvement over the generated nativefier files, transforms it into a full, proper Linux application, allows for a quicker workflow due to it's full Linux integration, with proper Linux standard file system paths, system-wide icon and executable binary, proper .desktop and local font support.

How

You can manipulate it the way you want through terminal commands, scripts, dmenu/rofi calls, etc and with your WM of choice as well. Local fonts support is possible thanks to Vin's work. A systray funcionality/icon is also possible, but currently there is no feature planned for it, therefore it's disabled by default.

It behaves exactly as if you had installed it through your distro's package manager.

Key Features

  • Full Linux integration.
  • Includes a Font Linux Helper for local fonts support.

Requirements

  • Internet connection.
  • git
  • git-lfs
  • python3, python-pip or python-pip3 (depends on your distro).
  • python-jinja
  • flask through pip3, usually something like pip3 install flask.

Install

Don't download the Zip file from the repo, it will not download the main binary since it's stored through Git LFS, you need to clone the repo through git. Git LFS is required. Install it through your distro and initialize it with git lfs install inside the directory that you want to download the project to. Usually something like sudo packagemanager install git-lfs.

git lfs install
git clone https://github.com/cristianovitorino/figwrapper.git
cd figwrapper
chmod u+x InstallFigwrapper.sh
sh ./InstallFigwrapper.sh

Uninstall

chmod u+x UninstallFigwrapper.sh
sh ./UninstallFigwrapper.sh

Copyright

Figwrapper © 2020 Cristiano Vitorino, BSD 3-Clause License

Nativefier © 2016 Goh Jia Hao, MIT License

Figma Linux Font Helper © 2019 Vin, MIT License

The Figma logo is a trademark and property of Figma, Inc. and is not affiliated with nor does Figma, Inc. endorse Cristiano Vitorino.