Archived post by legomyrstan

maybe it will be useful to someone else: “`bash # Apply different scale if laptop lid is closed(clamshell mode) so Global GUI # can be bigger for smaller monitor and there is no need to set that manually # and restart Houdini is_clam_shell=$(ioreg -r -k AppleClamshellState -d 1 | grep AppleClamshellState | grep “Yes\|No” -o) num_of_monitor=$( system_profiler SPDisplaysDataType | grep Resolution: | wc -l) if [[ $is_clam_shell = “No” && num_of_monitor -eq 1 ]] then export HOUDINI_UISCALE=200 else export HOUDINI_UISCALE=115 fi “`