Skip to content

Commit

Permalink
fix 2a00d55 in more neat way
Browse files Browse the repository at this point in the history
  • Loading branch information
SunsetTechuila committed Feb 15, 2023
1 parent df7eb3d commit 83bb1a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Listener.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Import-Module -Name $PSScriptRoot\Functions.ps1
#region Variables
$cursorSize = Get-Content -Path $PSScriptRoot\Resources\Preferences -First 1
$useClassicWheel = Get-Content -Path $PSScriptRoot\Resources\Preferences -First 2 | Select-Object -Skip 1
$useAlternatePrecision = [System.Convert]::ToBoolean( $(Get-Content -Path $PSScriptRoot\Resources\Preferences -Last 1) )
$useAlternatePrecision = Get-Content -Path $PSScriptRoot\Resources\Preferences -Last 1
$byteDiffFolder = "$PSScriptRoot\Resources\Byte Diff\$cursorSize"
$customCursorFolder = "$PSScriptRoot\Resources\Custom Cursor"
$lastTheme = Get-WindowsTheme
Expand All @@ -24,7 +24,7 @@ while (1) {
if ($lastTheme -ne $currentTheme) {
$originalCursorFolder = "$PSScriptRoot\Resources\Original Cursors\$currentTheme\$cursorSize"
Copy-Item -Path $originalCursorFolder\default\* -Destination $customCursorFolder -Recurse -Force
if ($useAlternatePrecision) {
if ($useAlternatePrecision -eq $true) {
Copy-Item -Path $originalCursorFolder\alternatives\precision.cur -Destination $customCursorFolder -Force
}
if ($useClassicWheel -eq $false) {
Expand Down

0 comments on commit 83bb1a5

Please sign in to comment.