Skip to content

Commit

Permalink
New version 0.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmiiz committed Nov 15, 2023
1 parent 4884a4e commit d540eb9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/linuxinfo/linuxinfo.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
RootModule = './linuxinfo.psm1'

# Version number of this module.
ModuleVersion = '0.0.4'
ModuleVersion = '0.0.5'

# Supported PSEditions
# CompatiblePSEditions = @()
Expand Down
2 changes: 1 addition & 1 deletion src/linuxinfo/public/Get-DisplayInfo.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function Get-DisplayInfo {


$AspectRatio = ((xrandr | Select-Object -First 1).split(",")[1]).Replace(" current ",'')
$RefreshRate = (xrandr --prop | Select-String -SimpleMatch '*+' -Raw).Split(' ')[1].Replace('*+','')
$RefreshRate = ((xrandr --prop | Select-String -SimpleMatch '*+ ' -Raw).Split(" ") | Where-Object {$_ -like "*+"}).TrimEnd("*+")
$Monitors = (xrandr --listmonitors)[0].ToCharArray() | Select-Object -Last 1

if (Get-Command lspci) {
Expand Down

0 comments on commit d540eb9

Please sign in to comment.