How do you handle variable monitor configurations?

This page summarizes the projects mentioned and recommended in the original post on /r/xmonad

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • autorandr

    Auto-detect the connected display hardware and load the appropriate X11 setup using xrandr

  • First setup all the display configurations, ignoring xmobar. Using something like https://github.com/phillipberndt/autorandr and https://christian.amsuess.com/tools/arandr/ make it easy. Now all you have to do is somehow invoke autorandr --change every time there's a connection or disconnection event.

  • xmonad-contrib

    Contributed modules for xmonad

  • Now coming to the xmobars themselves, https://github.com/xmonad/xmonad-contrib/blob/master/XMonad/Hooks/StatusBar.hs has everything you need and will only spawn and kill the requisite number of bars depending on the number of monitors connected. You can even have different bar configs per monitor (for ex: one with tray, rest without).

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts