@ 260802.2

260615.3 · 98792b1dab553d0ac9a206e40c10643d28cc57f5

*: a near complete overhaul of some fundamental components

Particularly, the `video` script and how Wingo boots. We consolidate much here and avoid separate init scripts for each machine. They were a huge pain to maintain and frequently got out of sync from one another.

We do still have some case analysis, which is annoying. But a foolish consistency is the hobgoblin of little minds.

reading declarations

Changes to bin/google-chrome. All files

bin/google-chrome

@@ -2,12 +2,13 @@  # This used to do more when I used different versions of Chrome on different # machines. But now I just use stable when I use Chrome.-case "$(myhostname)" in-  bart)-    # And we set the scaling factor for when the DPI is too high.-    exec google-chrome-stable --force-device-scale-factor=1.5 "$@"-    ;;-  *)-    exec google-chrome-stable "$@"-    ;;-esac+#+# And we set the scaling factor for when the DPI is too high.+# Or when the screen is set far away.+if is-laptop; then+  exec google-chrome-stable --force-device-scale-factor=1.5 "$@"+elif is-media; then+  exec google-chrome-stable --force-device-scale-factor=1.25 "$@"+else+  exec google-chrome-stable "$@"+fi