mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-05 21:28:48 +00:00
fix resolution ordering
This commit is contained in:
parent
72c0a750e9
commit
7a2c22861d
|
@ -38,7 +38,7 @@ set_resolutions() {
|
|||
fi
|
||||
|
||||
monitor_name="${monitor_array[monitor_choice - 1]}"
|
||||
resolutions=$(get_unique_resolutions "$monitor_name")
|
||||
resolutions=$(get_unique_resolutions "$monitor_name" | sort -rn -t'x' -k1,1 -k2,2)
|
||||
|
||||
# Create a temporary file with resolutions and indices
|
||||
temp_res_file=$(mktemp)
|
||||
|
|
Loading…
Reference in New Issue
Block a user