Coder Social home page Coder Social logo

9kg / sublimetexttrans Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vhanla/sublimetexttrans

0.0 1.0 0.0 131 KB

A Sublime Text 2 & 3 Plugin to set the application opacity on Windows

License: Other

JavaScript 34.48% Python 52.68% Assembly 12.84%

sublimetexttrans's Introduction

SublimeText Transparent

Overview

This simple plugin for Sublime Text 2 and Sublime Text 3 provides contextual menues to modify the application's opacity.

This is only for Windows Operating System.

Install

You may install SublimeTextTrans via git with the below commands:

Windows only

For Sublime Installed:

git clone https://github.com/vhanla/SublimeTextTrans.git "%APPDATA%\Sublime Text 2\Packages\SublimeTextTrans"

For Sublime Portable:

git clone https://github.com/vhanla/SublimeTextTrans.git "C:\SUBLIME2\Data\Packages\SublimeTextTrans""

Where C:\Sublime is the portable's path. So change accordingly.

You can also get it zipped from the Releases section.

Remember, there must be inside its own directory within packages directory where you will unzip it.

Usage:

There are three methods to set transparency:

  1. Visit View > Window's Transparency submenu to set the opacity
  2. You can use the hotkeys Ctrl+Shift+[1,2,3,4,5,6]
  3. Or you can right click and use the contextual menu

![Snapshot] (https://github.com/vhanla/SublimeTextTrans/raw/master/snapshot.png?raw=true "Snapshot")

Changelog:

  • 15-24-2015

  • Onload transparency (95% working due to ST API limitations)

  • Remember chosen transparency level

  • Support for user settings

  • 12-06-2013

  • Added support for Sublime Text 3

Configuration:

To set custom transparency levels visit Preferences > Package Settings > SublimeTextTrans > Settings - User, it will open the user's custom preferences file for this plugin.

There you can modify the transparency levels, by adding the following and adjusting the levels as you wish:

{

	// If you like to have a different transparency level
	// modify this array of options in your user preferences 
	// i.e. just add (copy/paste) this array and modify at wish
	// IMPORTANT: Level of opacity varies from 0 to 255
	// 0 = Totally transparent, 255 = Fully opaque
	"levels": [
		255, // Full opaque i.e not transparency - a.k.a Disabled
		212, // Level 5
		220, // Level 4
		228, // Level 3
		236, // Level 2
		243  // Level 1
	]
}

Author & Contributors

Victor Alberto Gil - Hope you like my work.

sublimetexttrans's People

Contributors

vhanla avatar

Watchers

 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.