Commit f1559826 authored by Mikhail Tergoev's avatar Mikhail Tergoev

Scripts version 2312

parent ff36fa13
......@@ -2,6 +2,10 @@ You can help us in the development of the project on the website: https://linux-
----------------------------------------
Changelog:
###Scripts version 2312### Date: 25.06.2024 / Download update size: 4 megabytes
HOTFIX - error: "Argument list too long"
###Scripts version 2311### Date: 24.06.2024 / Download update size: 4 megabytes
* updated version of yad - added auto-disabled for locked settings (thanks Htylol)
* additional small script optimizations (thanks Htylol)
......
......@@ -2,6 +2,9 @@
-----------------------------------------
История изменений:
###Scripts version 2312### Дата: 25.06.2024 / Размер скачиваемого обновления: 4 мегабайта
HOTFIX - исправлена ошибка: "Argument list too long"
###Scripts version 2311### Дата: 24.06.2024 / Размер скачиваемого обновления: 4 мегабайта
* обновлена версия yad - добавлено автовыключение заблокированных настроек (спасибо Htylol)
* дополнительные небольшие оптимизации скриптов (спасибо Htylol)
......
......@@ -203,10 +203,9 @@ then
export PW_VULKANINFO_PORTABLE VULKAN_DRIVER_NAME GET_GPU_NAMES LSPCI_VGA
if command -v xrandr &>/dev/null ; then
PW_XRANDR="$(xrandr)"
PW_SCREEN_RESOLUTION="$(echo "${PW_XRANDR[@]}" | sed -rn 's/^.*primary.* ([0-9]+x[0-9]+).*$/\1/p')"
PW_SCREEN_PRIMARY="$(echo "${PW_XRANDR[@]}" | grep "primary" | awk '{print $1}')"
export PW_XRANDR PW_SCREEN_PRIMARY PW_SCREEN_RESOLUTION
PW_SCREEN_RESOLUTION="$(xrandr 2>/dev/null | sed -rn 's/^.*primary.* ([0-9]+x[0-9]+).*$/\1/p')"
PW_SCREEN_PRIMARY="$(xrandr 2>/dev/null | grep "primary" | awk '{print $1}')"
export PW_SCREEN_PRIMARY PW_SCREEN_RESOLUTION
echo ""
print_var PW_SCREEN_RESOLUTION PW_SCREEN_PRIMARY
else
......
#!/usr/bin/env bash
#Author: Castro-Fidel (linux-gaming.ru)
#SCRIPTS_NEXT_VERSION=2311
#SCRIPTS_NEXT_VERSION=2312
########################################################################
export LANGUAGES_LIST="ru es"
export PW_MANGOHUD="0"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment