4 downloads 226 views 0 likes Sep 12, 2024
Visage LIB by pisaui tab
Updated Sep 12, 2024
Revised the detectMonitors() function as to fatboychummy's suggestions in issue #1.
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 likemonitors.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 likefun(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 dovisage.setOnAll(mons, visage.displayIndex)
.
wget run https://pinestore.cc/d/117Git Repository
comments
You can login with Discord to leave comments and reply to others!
There are no comments yet