With my X100F, I sometimes want bokeh, to make backgrounds out of focus. Other times, particularly for landscapes, I want a long depth of field. I have an app on my phone to check the hyperfocal distance, which can help predict the depth of field - but I rarely take the time to use it. Same with bokeh.
Here's a quick way to deal with each. For bokeh, you want the largest aperture and let the camera select the shutter speed. There is no "aperture priority" selection, per se. Just set the aperture ring on the lens at a fairly wide-open selection. Then, check the camera's screen to see if the f-stop and shutter speed are within reason. If OK, press the shutter button. Done.
Now for depth of field, set the aperture ring to a stopped down f-stop, check the computer's settings, and trip the shutter.