Created
May 13, 2020 16:06
-
-
Save terabyte/f2c3163ee11487cf05851a82e71af134 to your computer and use it in GitHub Desktop.
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
#!/usr/bin/env bash | |
set -ex | |
SSI_DIR="$HOME/projects/ssi" | |
"$HOME/bin/bat-status-changed.sh" | |
source "$SSI_DIR/.ve/bin/activate" | |
# fix displaylink if needed | |
xrandr --setprovideroutputsource 1 0 || /bin/true | |
cd "$SSI_DIR" && "$SSI_DIR/bin/ssi" "$@" | |
cd "$SSI_DIR" && "$SSI_DIR/bin/restart-ratpoison-retaining-window-maps" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment