Closed chertyhansky closed 2 years ago
In the original statusbar_workspace it was "License: Unknown", so I don't know may I publish it with GNU GPL 3.0, for example?
In the original statusbar_workspace it was "License: Unknown", so I don't know may I publish it with GNU GPL 3.0, for example?
That doesn't seem right - perhaps ping the authors to see if they're OK with releasing under the LGPL? Otherwise explicitly mentioning 'License: Unknown' might at least accurately reflect the state of affairs.
For my part I'm fine with any free license (Non-exclusively GPL, LGPL, BSF, MIT).
I can't contact Rico Schiekel because his email no longer exists. Apparently, in this case, it would be correct to indicate "License: Unknown".
I think mod_xinerama.query_screens()
can be used to query the correct number of screens in case you want to make it work for an arbitrary number of screens.
lua> for k,v in pairs(mod_xinerama.query_screens()) do print(k,v) end
1 table: 0xa95c10
2 table: 0x943dd0
nil
lua> for k,v in pairs(mod_xinerama.query_screens()[1]) do print(k,v) end
w 1600.0
x 1920.0
y 0.0
h 900.0
nil
lua> for k,v in pairs(mod_xinerama.query_screens()[2]) do print(k,v) end
w 1920.0
x 0.0
y 0.0
h 1200.0
nil
@xfire we're currently debating the license this script should have. Any input from your side?
@wilhelmy oh wow, that's from very long time ago. Just go with whatever suits you guys best as long as it's a free license. 👍
Shows name of active workspace for two-screen configuration with mod_xinerama. Modification of legacy/statusbar_workspace.lua.