This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
######## | |
# Copyright (c) 2018-2019 Thomas Frohwein <[email protected]> | |
# | |
# Permission to use, copy, modify, and distribute this software for any | |
# purpose with or without fee is hereby granted, provided that the above | |
# copyright notice and this permission notice appear in all copies. | |
# | |
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# make sure the appropriate autorandr configurations exist | |
for a_status in docked docked_open; do | |
autorandr | egrep -q "^$a_status( .*)?$" || \ | |
{ echo "Error: no autorandr for $a_status"; exit 1; } | |
done | |
lid_status=$(sysctl -n hw.sensors.acpibtn0.indicator0 | cut -f1 -d' ') | |
if [ $lid_status = "On" ]; then # "On" = lid open |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- assets/node-webkit.html.orig Sat Nov 28 20:42:00 2020 | |
+++ assets/node-webkit.html Sat Nov 28 21:06:54 2020 | |
@@ -51,12 +51,14 @@ | |
<script type="text/javascript"> | |
// make sure we don't let node-webkit show it's error page | |
// TODO for release mode, there should be an option to write to a file or something. | |
+ /* | |
window['process'].once('uncaughtException', function() { | |
var win = require('nw.gui').Window.get(); | |
if(!(win.isDevToolsOpen && win.isDevToolsOpen())) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# get mainClass from config.json | |
mainclass= | |
mainclass="$(cat config.json | grep mainClass | cut -d\" -f 4)" | |
# TODO: get vmArgs from config.json | |
vmargs="-Xmx2G" | |
JAVA_HOME=${TRUEPREFIX}/jdk-11 PATH=$PATH:$JAVA_HOME/bin java $vmargs $mainclass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
GDXARCH= | |
if [ "$(uname -p)" = "amd64" ] ; then | |
GDXARCH=64 | |
fi | |
JAVA_HOME=${TRUEPREFIX}/jdk-11 | |
PATH=$PATH:$JAVA_HOME/bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
ftp -MVo- https://ftp.openbsd.org/pub/OpenBSD/snapshots/$(uname -m)/BUILDINFO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
if [ -z "$1" ] ; then | |
WD=. | |
else | |
WD="$1" | |
fi | |
lower= | |
lowercase() | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
backend = "xrender"; # glx (faster) or xrender | |
################################# | |
# GLX backend | |
################################# | |
glx-no-stencil = true; | |
# GLX backend: Copy unmodified regions from front buffer instead of redrawing them all. | |
glx-copy-from-front = false; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
backend = "xrender"; # glx (faster) or xrender | |
################################# | |
# GLX backend | |
################################# | |
glx-no-stencil = true; | |
# GLX backend: Copy unmodified regions from front buffer instead of redrawing them all. | |
glx-copy-from-front = false; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# be sure to customize these paths for your installation: | |
ModulePath /usr/local/libexec/fvwm/2.6.9 | |
# PixmapPath and IconPath are deprecated. Use ImagePath instead | |
ImagePath /usr/local/share/pixmaps/fvwm | |
Colorset 23 Transparent, fg rgb:ff/ff/c4, bg darkgray # not working with base fvwm | |
Colorset 41 RootTransparent buffer, fg white, bg average, \ | |
Tint yellow 15, bgTint yellow 15 # tint is optional | |
Colorset 42 RootTransparent buffer, fg white, bg average, \ | |
Tint gray 15, bgTint gray 15 # tint is optional |
NewerOlder