Skip to content
This repository has been archived by the owner on May 28, 2021. It is now read-only.

Commit

Permalink
Add "Hide shortcut icon arrow"
Browse files Browse the repository at this point in the history
  • Loading branch information
Disassembler0 committed Oct 23, 2018
1 parent 6786ed7 commit 5b2333b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions Default.preset
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ DisableNewAppPrompt # EnableNewAppPrompt
# HideRecentlyAddedApps # ShowRecentlyAddedApps
# SetControlPanelSmallIcons # SetControlPanelLargeIcons # SetControlPanelCategories
DisableShortcutInName # EnableShortcutInName
# HideShortcutArrow # ShowShortcutArrow
SetVisualFXPerformance # SetVisualFXAppearance
# EnableDarkTheme # DisableDarkTheme
# AddENKeyboard # RemoveENKeyboard
Expand Down
15 changes: 15 additions & 0 deletions Win10.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -1550,6 +1550,21 @@ Function EnableShortcutInName {
Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer" -Name "link" -ErrorAction SilentlyContinue
}

# Hide shortcut icon arrow
Function HideShortcutArrow {
Write-Output "Hiding shortcut icon arrow..."
If (!(Test-Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons")) {
New-Item -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons" | Out-Null
}
Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons" -Name "29" -Type String -Value "%windir%\System32\shell32.dll,-50"
}

# Show shortcut icon arrow
Function ShowShortcutArrow {
Write-Output "Showing shortcut icon arrow..."
Remove-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons" -Name "29" -ErrorAction SilentlyContinue
}

# Adjusts visual effects for performance - Disables animations, transparency etc. but leaves font smoothing and miniatures enabled
Function SetVisualFXPerformance {
Write-Output "Adjusting visual effects for performance..."
Expand Down

0 comments on commit 5b2333b

Please sign in to comment.