···2424### Output configuration
2525#
2626# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
2727-output * bg /home/j3s/Pictures/wallpapers/widelain.jpg fill
2727+# output * bg /home/j3s/Pictures/wallpapers/widelain.jpg fill
2828#
2929# Example configuration:
3030#
+3-41
.env
···2020 esac
2121}
22222323-# needed for sway
2424-if test -z "${XDG_RUNTIME_DIR}"; then
2525- export XDG_RUNTIME_DIR=/tmp/${UID}-runtime-dir
2626- if ! test -d "${XDG_RUNTIME_DIR}"; then
2727- mkdir "${XDG_RUNTIME_DIR}"
2828- chmod 0700 "${XDG_RUNTIME_DIR}"
2929- fi
3030-fi
3131-3223if [ -z "${SSH_AGENT_PID}" ]
3324then
3425 if ! [ -e /tmp/ssh-agent-$USER ]
···3829 . /tmp/ssh-agent-$USER >/dev/null
3930fi
40314141-# Make ^+L work on mksh
4242-if echo "$SHELL" | grep -q "mksh"; then
4343- bind '^L=clear-screen'
4444- export HISTFILE="$HOME/.mksh-history"
4545-fi
4646-4747-# colorize ls
4848-if ls --version 2>&1 | grep -i gnu >/dev/null
4949-then
5050- alias ls='ls --color=auto '
5151- elif ls --version 2>&1 | grep -i busybox >/dev/null
5252- then
5353- alias ls='ls --color=auto '
5454-fi
5555-5632# launch alacritty with no GPU support if on old thinkpad
5733if [ "$(hostname)" == 'nyx' ]; then
5834 export LIBGL_ALWAYS_SOFTWARE=1
5935fi
60366137if [ "$(hostname)" == 'nostromo' ]; then
6262- if ! pgrep syncthing > /dev/null; then
3838+ if ! pgrep syncthing &> /dev/null; then
6339 syncthing --no-browser > /dev/null &
6440 fi
6541fi
66426767-# bby
6868-if [ "$(uname -s)" == "Darwin" ]; then
6969- alias ls=gls
7070- alias df=gdf
7171- alias cdr='cd $(find ~/git/chef/cloud-roles ~/git/chef/site-cookbooks ~/git/chef/app-cookbooks ~/git/chef/dc-roles -type d -maxdepth 1 | selecta)'
7272- alias be='bundle exec'
7373- alias terraform='AWS_PROFILE=cgraph_prod /usr/local/bin/terraform $@'
7474- export CHEFUSER="jolson"
7575- export CHEF_ENV="browse_test" # just for .chef/config.rb
7676- export AWS_ENV="browse_test" # just for aws cli
7777- export SSHUSER="jolson"
7878- export SSHKEY="~/.ssh/id_rsa"
7979- export PASH_CLIP="pbcopy"
8080- source /usr/local/share/chruby/chruby.sh
8181- chruby ruby-2.6.6
8282-fi
4343+# chef stuff
4444+alias be='bundle exec'