Skip to content

Commit 2de587d

Browse files
committed
add VS Code custom icons
1 parent de2d5b3 commit 2de587d

File tree

4 files changed

+22
-0
lines changed

4 files changed

+22
-0
lines changed

assets/file_type_eleventy.svg

Lines changed: 4 additions & 0 deletions
Loading
Lines changed: 4 additions & 0 deletions
Loading
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
$customIconFolder = "$env:AppData\Code\User\vsicons-custom-icons"
2+
3+
function Test-SetupVsCodeCustomIcons {
4+
# check if we have any repos
5+
Test-Path $customIconFolder\*
6+
}
7+
8+
9+
function Invoke-SetupVsCodeCustomIcons {
10+
New-Item -ItemType Directory -Force -Path $customIconFolder
11+
Copy-Item "./assets/file_type_eleventy.svg" -Destination $customIconFolder
12+
Copy-Item "./assets/file_type_light_eleventy.svg" -Destination $customIconFolder
13+
}

winstaller.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ Invoke-ConfigureGit
88
Invoke-ConfigureGithub
99
Invoke-ConfigureGitRepos
1010
Invoke-ConfigurePowerPlan
11+
Invoke-SetupVsCodeCustomIcons

0 commit comments

Comments
 (0)