# instead of just `alacritty` or `/opt/homebrew/bin/alacritty`
cmd - return : /Applications/Alacritty.app/Contents/MacOS/alacritty
# or
hyper - return : open -n -a 'Alacritty.app'
#!/bin/bash | |
# Makes sure the Applications directory is available | |
mkdir -p "$HOME/Applications" | |
# GitHub Repository Details | |
OWNER="zen-browser" # Replace with the repository owner | |
REPO="desktop" # Replace with the repository name | |
# Local file to be replaced |
palette = 0=#414868 | |
palette = 8=#414868 | |
palette = 1=#f7768e | |
palette = 9=#f7768e | |
palette = 2=#73daca | |
palette = 10=#73daca | |
palette = 3=#e0af68 |
<video id="myVideo" src="video.mp4" muted></video> | |
<script> | |
const video = document.getElementId("myVideo"); | |
function autoplayVideo() { | |
const rect = video.getBoundingClientRect(); | |
if (rect.top >= 0 && rect.bottom <= window.innerHeight) { | |
video.play(); | |
} else { | |
video.pause(); |
// A very tridactyl-esque config file. | |
// Compatibility Prefix | |
const { | |
Clipboard, | |
Front, | |
Hints, | |
Normal, | |
RUNTIME, | |
Visual, |
{ | |
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", | |
"blocks": [ | |
{ | |
"alignment": "left", | |
"segments": [ | |
{ | |
"foreground": "#26C6DA", | |
"properties": { | |
"macos": "mac" |
# instead of just `alacritty` or `/opt/homebrew/bin/alacritty`
cmd - return : /Applications/Alacritty.app/Contents/MacOS/alacritty
# or
hyper - return : open -n -a 'Alacritty.app'
R12322 |
We actually could rebuild node-sass against Electron version. I'm successfully rebuild with following steps :
npm install
don't need to run last step (node scripts/build -f
)HOME=~/.electron-gyp ./node_modules/node-gyp/bin/node-gyp.js rebuild --target=1.3.4 --arch=x64 --dist-url=https://atom.io/download/atom-shell --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
-- Note that I'm using Electron version 1.3.4, you can change with your Electron version.build/Release/binding.node
Then you can copy that file into your node_modules/node-sass/vendor/darwin-x64-49
folder. -- Note that I'm using darwin-x-64-49, you should match this with your environment. Mine is : OSX 64bit with Electron v1.3.4 (this version using API 49, more info )