named args

This commit is contained in:
2023-09-29 10:09:29 +03:00
parent 87056798fe
commit dc5986a34f

View File

@@ -220,10 +220,10 @@ case $i in
a|all) _allon; ;; a|all) _allon; ;;
p|primary) _cloneprimary; ;; p|primary) _cloneprimary; ;;
s|setup) _setup; ;; s|setup) _setup; ;;
0) ( arandr & ); ;; 0|arandr) ( arandr & ); ;;
1) _display_main; ;; 1|main) _display_main; ;;
2) _display_presentation; ;; 2|presentation) _display_presentation; ;;
3) _display_workstation; ;; 3|workstation) _display_workstation; ;;
[4-9]) _run_arandr_script $i; ;; [4-9]) _run_arandr_script $i; ;;
*) _run_arandr_script $i; ;; *) _run_arandr_script $i; ;;
esac esac