-
Notifications
You must be signed in to change notification settings - Fork 1
/
code-transparent.install
executable file
·63 lines (47 loc) · 1.76 KB
/
code-transparent.install
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#!/bin/sh
# MEMO: https://wiki.archlinux.org/index.php/PKGBUILD#install
post_install() {
echo '
Troubleshooting
------------------------
If Code is not shown transparent:
1. Ensure color setting of Code is configured
with transparent colors. (See "Config" section below)
2. Ensure your compositor has transparency enabled.
3. Open a second Code window. (Sometimes works)
Config
------------------------
Although Code is transparency-enabled,
Code needs to be configured with transparent
colors to see the transparency effect.
You can configure each color by yourself,
or start with an already transparent color config.
Consider copying below color config to your Code settings.json:
"workbench.colorCustomizations": {
// non-standard, transparency patched version only
"workbench.background": "#00000080",
// VSC colors
// ref: https://code.visualstudio.com/api/references/theme-color
"activityBar.background": "#46575e5e",
"button.background": "#00000040",
"button.hoverBackground": "#00000080",
"editor.background": "#00000029",
"editor.lineHighlightBackground": "#FFFFFF15",
"editorGroupHeader.tabsBackground": "#00000050",
"tab.activeBackground": "#00000080",
"tab.inactiveBackground": "#00000020",
"tab.border": "#00000000",
"list.activeSelectionBackground": "#00000040",
"list.hoverBackground": "#00000040",
"list.inactiveSelectionBackground": "#00000040",
"panel.background": "#00000080",
"panel.border": "#00000000",
"sideBar.background": "#00000080",
"sideBarSectionHeader.background": "#00000000",
"statusBar.background": "#00000080",
"statusBar.noFolderBackground": "#00000080",
"terminal.background": "#0000",
"titleBar.activeBackground": "#00000030"
},
'
}