Commit 625f7819b686f7a94242c8ea945e8b013dbbed7b
scratch an itch for frameless window (calmer i3 experience!)
mix irving committed on 7/6/2018, 10:34:07 PMParent: 243dc738c8a3bb3083cc0b69bd8e4585c4b2e87c
Files changed
index.js | changed |
package.json | changed |
index.js | ||
---|---|---|
@@ -107,8 +107,10 @@ | ||
107 | 107 … | width: windowState.width, |
108 | 108 … | height: windowState.height, |
109 | 109 … | autoHideMenuBar: true, |
110 | 110 … | title: 'Patchbay', |
111 … | + frame: !process.env.FRAME, | |
112 … | + // titleBarStyle: 'hidden', | |
111 | 113 … | show: true, |
112 | 114 … | backgroundColor: '#FFF', |
113 | 115 … | icon: './assets/icon.png' |
114 | 116 … | }) |
package.json | |||
---|---|---|---|
@@ -6,8 +6,9 @@ | |||
6 | 6 … | "scripts": { | |
7 | 7 … | "lint": "standard", | |
8 | 8 … | "rebuild": "cross-script npm rebuild --runtime=electron \"--target=$(electron -v)\" \"--abi=$(electron --abi)\" --disturl=https://atom.io/download/atom-shell", | |
9 | 9 … | "start": "electron index.js -- --title patchbay", | |
10 … | + "start-frameless": "FRAME=false npm start", | ||
10 | 11 … | "dev": "echo 'run your own sbot!' && electro main.js -- --title patchbay --icon ./assets/icon.png" | |
11 | 12 … | }, | |
12 | 13 … | "browserify": { | |
13 | 14 … | "transform": [ | |
@@ -22,8 +23,9 @@ | |||
22 | 23 … | "url": "git+https://github.com/ssbc/patchbay.git" | |
23 | 24 … | }, | |
24 | 25 … | "author": "mixmix", | |
25 | 26 … | "maintainers": [ | |
27 … | + "arj03", | ||
26 | 28 … | "ahdinosaur", | |
27 | 29 … | "cel", | |
28 | 30 … | "dominictarr", | |
29 | 31 … | "mmckegg" |
Built with git-ssb-web