Giter Site home page Giter Site logo

ssf2fcitx's Introduction

ssf2fcitx

Automagically convert your favorite sogou-pinyin skin to fcitx skin

NOW ONLY support input bar skin translate, the tray and menu bar is not supported yet

Dependencies

  • Qt5core
  • Qt5widgets
  • openssl

Usage

  1. ./ssf2skin -i input.ssf -o output_dir
  2. copy the directory /path/to/save/theme to either $XDG_CONFIG_HOME/fcitx/skin or /usr/share/fcitx/skin
  3. Then you can switch to the theme, enjoy it!

Supported Function

  1. Decrypt ssf archive
  2. Draw the input bar without overlay image
  3. Draw the input bar with overlay image (testing)

Screenshots

The following skins are converted directly from ssf, no any manual modifications

pic

Notice

  • The converter now support many of sogou skin conversion, however there are still a lot we don't support yet.

    • we now don't support vertical layout
    • we now don't support skins with GIFs in it(I don't know whether fcitx support it)
    • We now don't support skins with overlay pictures [ now supported, testing ]
  • The skin converted may have problem with left, right align, sometimes you need to manually adjust it (Just Change the value MarginLeft & MarginRight in skin config file

Acknowlegements

  • kimtoy for providing the ssf extraction process
  • csslayer for giving hints on fcitx skin drawing process

ssf2fcitx's People

Contributors

ducksoft avatar void001 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.