2 downloads 81 views Sep 12, 2024
profile

Visage LIB by pisaui tab

Updated Sep 12, 2024
project thumbnail

A simpler version of the "Visage" monitor management system (another project I am working on) which can be imported as a library. Allows you to order your monitors with ease.

functions

  • visage.detectMonitors(): A handy function to detect all monitors, and return them as a list (includes an attribute "n", usable like monitors.n, to see how many monitors were detected);
  • visage.displayIndexes(mons): Displays the blue debug screen with its index number on each monitor on a list;
  • visage.orderMonitors(mons, userOrder): orders monitors according to a custom code. Simply put, it's a list - separated by spaces - of where each monitor has to move (e.g. 3:1 1:12 moves monitor 3 to index 1 and monitor 1 to index 12);
  • visage.setOnAll(mons, fun): Sets a certain function to display on all monitors, as long as the function is declared like fun(mon,i) (mon being the monitor list, and i the index of the monitor);
  • visage.displayIndex(mon, index): Displays the index of the monitor on the monitor's screen. Used mostly to do visage.setOnAll(mons, visage.displayIndex).
wget run https://pinestore.cc/d/117
Git Repository
comments
You can login with Discord to leave comments and reply to others!
There are no comments yet