Skip to content

Instantly share code, notes, and snippets.

@terabyte
Created May 13, 2020 16:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save terabyte/f2c3163ee11487cf05851a82e71af134 to your computer and use it in GitHub Desktop.
Save terabyte/f2c3163ee11487cf05851a82e71af134 to your computer and use it in GitHub Desktop.
#!/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