better versions
This commit is contained in:
parent
9637a1990d
commit
a493a2e631
2 changed files with 32 additions and 8 deletions
14
prefres.sh
14
prefres.sh
|
@ -1,11 +1,12 @@
|
|||
echo -e "\n<--##Tahinli Resolution Script##-->\n"
|
||||
echo " 1- Join- Second_Vertical"
|
||||
echo " 2- Join- Linear_Extended"
|
||||
echo " 3- Mirror"
|
||||
echo " 4- First Monitor Only"
|
||||
echo " 5- Second Monitor Only"
|
||||
echo " 1- Join- Second_Vertical"
|
||||
echo " 2- Join- Linear_Extended"
|
||||
echo " 3- Mirror"
|
||||
echo " 4- First Monitor Only"
|
||||
echo " 5- Second Monitor Only"
|
||||
echo -e " 6- Second Monitor Only-Vertical\n"
|
||||
read selection
|
||||
if [[ $selection > 0 ]] && [[ $selection < 6 ]];
|
||||
if [[ $selection > 0 ]] && [[ $selection < 7 ]];
|
||||
then
|
||||
echo " --->Request's Accepted-|"
|
||||
xrandr --output HDMI-0 --off
|
||||
|
@ -20,6 +21,7 @@ case $selection in
|
|||
xrandr --output HDMI-0 --mode 1920x1080 -r 75 --rotate normal;;
|
||||
4)xrandr --output eDP-1-1 --mode 1920x1080 -r 144 --rotate normal;;
|
||||
5)xrandr --output HDMI-0 --mode 1920x1080 -r 75 --rotate normal;;
|
||||
6)xrandr --output HDMI-0 --mode 1920x1080 -r 75 --rotate right;;
|
||||
*)echo "------Invalid Selection";;
|
||||
esac
|
||||
echo -e "\n # DONE #"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue