An Electron module that allows you to stick the browser window to the bottom of the z-index stack.
npm install electron-bottom-window
const { app, BrowserWindow } = require('electron')
const { stickToBottom } = require('electron-bottom-window');
function createWindow() {
const mainWindow = new BrowserWindow({
width: 800,
height: 600,
...
});
mainWindow.loadFile('index.html');
// Stick window to bottom
stickToBottom(mainWindow);
}
app.whenReady().then(() => {
createWindow();
});
👉 This module is based on this gist 👈