Sublime Forum

Transparency like in textmate

#1

In textmate I could set the editor to be transparent by tweaking opacity levels in my theme background color settings. Is it possible to do the same for ST 2?

0 Likes

#2

It’s not, unfortunately.

0 Likes

#3

I don’t know if there’s a Mac equivalent, but if there are any Windows users interested in this, you can use AutoHotkey - just drop this in your .ahk file:

/*
Hotkeys:
Alt-W: make window less transparent
Alt-S: make window more transparent
Alt-S: reset
autohotkey.com/forum/topic57583.html
*/
!w::
WinGet, currentWindow, ID, A
if not (%currentWindow%)
{
%currentWindow% := 255
}
if (%currentWindow% != 255)
{
%currentWindow% += 5
WinSet, Transparent, % %currentWindow%, ahk_id %currentWindow%
}
SplashImage,w100 x0 y0 b fs12, % %currentWindow%
SetTimer, TurnOffSI, 1000, On
Return

!s::
SplashImage, Off
WinGet, currentWindow, ID, A
if not (%currentWindow%)
{
%currentWindow% := 255
}
if (%currentWindow% != 5)
{
%currentWindow% -= 5
WinSet, Transparent, % %currentWindow%, ahk_id %currentWindow%
}
SplashImage, w100 x0 y0 b fs12, % %currentWindow%
SetTimer, TurnOffSI, 1000, On
Return

TurnOffSI:
SplashImage, off
SetTimer, TurnOffSI, 1000, Off
return

!x:: ; Reset Transparency Settings
WinSet, Transparent, 255, A
WinSet, Transparent, OFF, A
return

0 Likes

#4

I use feewhee.exe Win only though.

0 Likes

#5

so unfortunately…

:frowning:

0 Likes

#6

It really needs to be just the background that is transparent. It’s too hard to work if the whole window is transparent. Like mintty terminal has.

0 Likes

#7

FYI, if you really want this feature, go vote for it and comment here: sublimetext.userecho.com/topic/5 … eme-level/

That’s the ST2 feedback thing, more votes means it might get done!

0 Likes

#8

I would also like to see this feature as i also noticed that this was a lacking one in ST2 hopefully we can all share our thoughts about this and we could be able to resolve this issue and see some improvements as well. it will be great if we could be able to add inputs and insights so that stuff like this could be taken into consideration. although all in all ST2 is great and i am a big fan :smile:

0 Likes

#9

I just “voted” for it on that other thread. It’s not seriously important, of course, but it would be nice.

0 Likes

#10

You can use this

http://infinite-labs.net/afloat/

cheers

evs

0 Likes

#11

I actually tried Afloat but it did not work for Sublime. I think it is because Afloat only works for Cocoa programs and Sublime isn’t? Anyway, although Afloat was cool for other apps, it uses SIMBL plugin system which is pretty invasive on the OS so I uninstalled it.

0 Likes

#12

Well, seven years later, is there any chance background transparency might be implemented in ST3? Would be a great feature for us the users of tiling window managers in Linux.

0 Likes