diff --git a/bin/xorg/altaria/gamedock b/bin/altaria/gamedock similarity index 86% rename from bin/xorg/altaria/gamedock rename to bin/altaria/gamedock index f537375..86ea1ca 100755 --- a/bin/xorg/altaria/gamedock +++ b/bin/altaria/gamedock @@ -1,5 +1,5 @@ #!/bin/zsh -source ${0:a:h}/common +source ${0:a:h}/xorg.zsh xrandr --output HDMI-0 --mode 3840x2160; sleep 1 @@ -16,7 +16,7 @@ sleep 2; xrandr --output DP-2 --mode 3840x2160 --rate 120; $DOTWRYN/bin/set-background random -PLAY_SFX login +$DOTWRYN/bin/play-sound login xset dpms 0 0 0 && xset s noblank && xset s off \ && notify-send 'DPMS' 'disabled screen blank' diff --git a/bin/xorg/altaria/hdmi4k b/bin/altaria/hdmi4k similarity index 88% rename from bin/xorg/altaria/hdmi4k rename to bin/altaria/hdmi4k index a14abfb..e7ee9fa 100755 --- a/bin/xorg/altaria/hdmi4k +++ b/bin/altaria/hdmi4k @@ -1,5 +1,5 @@ #!/bin/zsh -source ${0:a:h}/common +source ${0:a:h}/xorg.zsh xrandr --output HDMI-0 --mode 3840x2160; sleep 1 @@ -18,7 +18,7 @@ xrandr \ (pkill compton; sleep 1; compton;) & $DOTWRYN/bin/set-background purple.jpg -PLAY_SFX login +$DOTWRYN/bin/play-sound login xset dpms 0 0 0 && xset s noblank && xset s off \ && notify-send 'DPMS' 'disabled screen blank' diff --git a/bin/xorg/altaria/common b/bin/altaria/xorg.zsh similarity index 100% rename from bin/xorg/altaria/common rename to bin/altaria/xorg.zsh diff --git a/bin/backlight b/bin/backlight index 02e9c3e..9bcadbc 100755 --- a/bin/backlight +++ b/bin/backlight @@ -16,4 +16,4 @@ case $1 in ;; esac -PLAY_SFX backlight +$DOTWRYN/bin/play-sound backlight diff --git a/bin/xorg/butterfree/gamedock b/bin/butterfree/gamedock similarity index 93% rename from bin/xorg/butterfree/gamedock rename to bin/butterfree/gamedock index c589b86..3140f20 100755 --- a/bin/xorg/butterfree/gamedock +++ b/bin/butterfree/gamedock @@ -1,5 +1,5 @@ #!/bin/zsh -source ${0:a:h}/common +source ${0:a:h}/xorg.zsh [ ! $PRIMARY_MONITOR ] && { NOTIFY 'Unable to detect primary monitor' return diff --git a/bin/xorg/butterfree/hdmidock b/bin/butterfree/hdmidock similarity index 92% rename from bin/xorg/butterfree/hdmidock rename to bin/butterfree/hdmidock index c966091..6bbb4e8 100755 --- a/bin/xorg/butterfree/hdmidock +++ b/bin/butterfree/hdmidock @@ -1,5 +1,5 @@ #!/bin/zsh -source ${0:a:h}/common +source ${0:a:h}/xorg.zsh [ ! $EXTERNAL_MONITOR ] && { NOTIFY 'No external monitor connected!' return diff --git a/bin/xorg/butterfree/runedock b/bin/butterfree/runedock similarity index 92% rename from bin/xorg/butterfree/runedock rename to bin/butterfree/runedock index 2f9287a..f0255b2 100755 --- a/bin/xorg/butterfree/runedock +++ b/bin/butterfree/runedock @@ -1,5 +1,5 @@ #!/bin/zsh -source ${0:a:h}/common +source ${0:a:h}/xorg.zsh [ ! $EXTERNAL_MONITOR ] && { NOTIFY 'No external monitor connected!' return diff --git a/bin/xorg/butterfree/runeundock b/bin/butterfree/runeundock similarity index 87% rename from bin/xorg/butterfree/runeundock rename to bin/butterfree/runeundock index f1ece67..58de9e7 100755 --- a/bin/xorg/butterfree/runeundock +++ b/bin/butterfree/runeundock @@ -1,5 +1,5 @@ #!/bin/zsh -source ${0:a:h}/common +source ${0:a:h}/xorg.zsh xrandr \ --output eDP1 \ --primary \ diff --git a/bin/xorg/butterfree/undock b/bin/butterfree/undock similarity index 93% rename from bin/xorg/butterfree/undock rename to bin/butterfree/undock index 6ac5cba..a9fb2fe 100755 --- a/bin/xorg/butterfree/undock +++ b/bin/butterfree/undock @@ -1,5 +1,5 @@ #!/bin/zsh -source ${0:a:h}/common +source ${0:a:h}/xorg.zsh [ ! $NATIVE_MONITOR ] && { NOTIFY "Must specify NATIVE_MONITOR" return diff --git a/bin/xorg/butterfree/workdock b/bin/butterfree/workdock similarity index 95% rename from bin/xorg/butterfree/workdock rename to bin/butterfree/workdock index 5dc1d12..ba16bc0 100755 --- a/bin/xorg/butterfree/workdock +++ b/bin/butterfree/workdock @@ -1,5 +1,5 @@ #!/bin/zsh -source ${0:a:h}/common +source ${0:a:h}/xorg.zsh LEFT=$(GET_ALL_EXTERNAL_MONITORS | grep 'DP.-1') RIGHT=$(GET_ALL_EXTERNAL_MONITORS | grep 'DP.-2') diff --git a/bin/xorg/butterfree/common b/bin/butterfree/xorg.zsh similarity index 95% rename from bin/xorg/butterfree/common rename to bin/butterfree/xorg.zsh index 98a5084..2d81667 100644 --- a/bin/xorg/butterfree/common +++ b/bin/butterfree/xorg.zsh @@ -46,7 +46,7 @@ DISCONNECT_OTHER() { sleep 1 $DOTWRYN/bin/set-background random - [ $SFX ] && ( PLAY_SFX $SFX ) & + [ $SFX ] && ( $DOTWRYN/bin/play-sound $SFX ) & return 0 } diff --git a/bin/i3lock b/bin/i3lock index f6bc306..d1c3598 100755 --- a/bin/i3lock +++ b/bin/i3lock @@ -1,5 +1,9 @@ #!/bin/zsh -# requires i3lock-color +which i3lock >/dev/null 2>&1 || { + notify-send 'i3lock-color' 'could not find installation of i3lock' +} +# note: requires i3lock-color + INSIDE_VER='001020' RING_VER='004040' @@ -26,4 +30,5 @@ i3lock \ --line-color=$LINE \ --time-color=$TIME --date-color=$DATE \ --keyhl-color=$KEYDOWN --bshl-color=$KEYREMOVE \ + || notify-send 'i3lock-color' 'something went wrong; unable to lock' \ ; diff --git a/bin/kitty/alternate-theme b/bin/kitty-alternate-theme similarity index 100% rename from bin/kitty/alternate-theme rename to bin/kitty-alternate-theme diff --git a/bin/youtube-music b/bin/media similarity index 100% rename from bin/youtube-music rename to bin/media diff --git a/bin/play-sound b/bin/play-sound index ac34ff9..c31f052 100755 --- a/bin/play-sound +++ b/bin/play-sound @@ -1,22 +1,32 @@ #!/bin/zsh source "$HOME/.config/wryn/env.zsh" -PLAY() { - eval "$MEDIA_ENGINE" "$SFX_PATH/$1" - true +which canberra-gtk-play >/dev/null 2>&1 || { + notify-send 'canberra-gtk-play' "unable to play '$1'; is canberra-gtk-play installed?" + exit 1 } +PLAY() { canberra-gtk-play -f "$SFX_PATH/$1"; } + +SFX_FILE='' case $1 in - volume ) PLAY yaru-message.oga ;; - mute ) PLAY smooth-dialog-warning.oga ;; - backlight ) PLAY yaru-audio-volume-change.oga ;; - login ) PLAY yaru-desktop-login.oga ;; - logout ) PLAY smooth-desktop-login.oga ;; - notify ) PLAY yaru-complete.oga ;; - undock ) PLAY yaru-desktop-login.oga ;; - homedock ) PLAY homedock.oga ;; - gamedock ) PLAY gamedock.oga ;; - * ) - [ -f "$SFX_PATH/$1" ] && PLAY $1 || ls $SFX_PATH + volume ) SFX_FILE=yaru-message.oga ;; + mute ) SFX_FILE=smooth-dialog-warning.oga ;; + backlight ) SFX_FILE=yaru-audio-volume-change.oga ;; + login ) SFX_FILE=yaru-desktop-login.oga ;; + logout ) SFX_FILE=smooth-desktop-login.oga ;; + notify ) SFX_FILE=yaru-complete.oga ;; + undock ) SFX_FILE=yaru-desktop-login.oga ;; + homedock ) SFX_FILE=homedock.oga ;; + gamedock ) SFX_FILE=gamedock.oga ;; + + * ) SFX_FILE="$1" ;; esac +[ ! -f "$SFX_PATH/$SFX_FILE" ] && { + notify-send 'canberra-gtk-play' "no such sfx file or alias '$1'" \ + exit 2 +} + +canberra-gtk-play -f "$SFX_PATH/$SFX_FILE" \ + || notify-send 'canberra-gtk-play' "unable to play '$1'" diff --git a/bin/pulseaudio b/bin/pulseaudio index 681c69c..e102e3d 100755 --- a/bin/pulseaudio +++ b/bin/pulseaudio @@ -27,15 +27,15 @@ DEFAULT_DEVICE="@DEFAULT_$(echo $DEVICE | tr '[:lower:]' '[:upper:]')@" case $COMMAND in up ) pactl set-$DEVICE-volume $DEFAULT_DEVICE +10% - PLAY_SFX volume + $DOTWRYN/bin/play-sound volume ;; down ) pactl set-$DEVICE-volume $DEFAULT_DEVICE -10% - PLAY_SFX volume + $DOTWRYN/bin/play-sound volume ;; mute ) pactl set-$DEVICE-mute $DEFAULT_DEVICE toggle - PLAY_SFX mute + $DOTWRYN/bin/play-sound mute notify-send "default $DEVICE" "$(amixer sget Master | grep -q '\[on\]' && echo unmuted || echo muted)" ;; * ) ERROR "Unsupported command '$COMMAND'" ;; diff --git a/bin/xorg/umbreon/homedock b/bin/umbreon/homedock similarity index 84% rename from bin/xorg/umbreon/homedock rename to bin/umbreon/homedock index 731ff67..a4e9ef9 100755 --- a/bin/xorg/umbreon/homedock +++ b/bin/umbreon/homedock @@ -1,5 +1,5 @@ #!/bin/zsh -source ${0:a:h}/common +source ${0:a:h}/xorg.zsh xrandr \ --output DP-3-1 \ @@ -18,4 +18,4 @@ xset dpms 0 0 0 && xset s noblank && xset s off \ (pkill compton; sleep 0.5; compton;) & $DOTWRYN/bin/set-background random -PLAY_SFX gamedock +$DOTWRYN/bin/play-sound gamedock diff --git a/bin/xorg/umbreon/runedock b/bin/umbreon/runedock similarity index 83% rename from bin/xorg/umbreon/runedock rename to bin/umbreon/runedock index 45cdd7a..a08c080 100755 --- a/bin/xorg/umbreon/runedock +++ b/bin/umbreon/runedock @@ -1,5 +1,5 @@ #!/bin/zsh -source ${0:a:h}/common +source ${0:a:h}/xorg.zsh xrandr \ --output eDP-1 \ @@ -17,4 +17,4 @@ xset dpms 0 0 0 && xset s noblank && xset s off \ && notify-send 'DPMS' 'disabled screen blank' $DOTWRYN/bin/set-background random -PLAY_SFX gamedock +$DOTWRYN/bin/play-sound gamedock diff --git a/bin/xorg/umbreon/undock b/bin/umbreon/undock similarity index 84% rename from bin/xorg/umbreon/undock rename to bin/umbreon/undock index 01f628f..bc38ce8 100755 --- a/bin/xorg/umbreon/undock +++ b/bin/umbreon/undock @@ -1,5 +1,5 @@ #!/bin/zsh -source ${0:a:h}/common +source ${0:a:h}/xorg.zsh xrandr \ --output eDP-1 \ @@ -18,4 +18,4 @@ xset +dpms && xset s blank && xset s on \ (pkill compton; sleep 0.5; compton;) & $DOTWRYN/bin/set-background random -PLAY_SFX gamedock +$DOTWRYN/bin/play-sound gamedock diff --git a/bin/xorg/umbreon/common b/bin/umbreon/xorg.zsh similarity index 100% rename from bin/xorg/umbreon/common rename to bin/umbreon/xorg.zsh diff --git a/bin/xorg/activate-default b/bin/xorg-activate-default similarity index 85% rename from bin/xorg/activate-default rename to bin/xorg-activate-default index 192aec7..4149fc3 100755 --- a/bin/xorg/activate-default +++ b/bin/xorg-activate-default @@ -7,7 +7,7 @@ case $_HOSTNAME in umbreon ) DEFAULT=undock ;; esac -LAYOUT="${0:a:h}/$_HOSTNAME/$DEFAULT" +LAYOUT="$DOTWRYN/bin/$_HOSTNAME/$DEFAULT" [ -f $LAYOUT ] && { until xrandr -q >/dev/null 2>&1; do sleep .1; done diff --git a/config/scwrypts.dotfile.conf b/config/scwrypts.dotfile.conf deleted file mode 100644 index a0b924a..0000000 --- a/config/scwrypts.dotfile.conf +++ /dev/null @@ -1,36 +0,0 @@ -# -# scwrypts dot-files config -# - -TERMINFO_PATH="$DOTWRYN/config/terminfo" -SAFE_SYMLINKS=0 - -# lines which begin with '#' are ignored -SYMLINKS=" -# -------------------------------------------------------------------------- -# fully qualified path ~/.config/THE-REST -# -------------------------------------------------------------------------- -$DOTWRYN/config/../bin/i3/utils i3/utils -$DOTWRYN/config/../colorschemes/kitty.main kitty/theme.conf -$DOTWRYN/config/bat.conf bat/config -$DOTWRYN/config/code-activator.conf code-activator-zsh/settings.zsh -$DOTWRYN/config/compton.conf compton/compton.conf -$DOTWRYN/config/git.conf git/config -$DOTWRYN/config/i3.conf i3/config -$DOTWRYN/config/i3status.conf i3status/config -$DOTWRYN/config/kitty.conf kitty/kitty.conf -$DOTWRYN/config/mssqlcli.conf mssqlci/config -$DOTWRYN/config/pgcli.conf pgcli/config -$DOTWRYN/config/pylint.conf pylintrc -$DOTWRYN/config/ripgrep.conf ripgrep/config -$DOTWRYN/config/scwrypts.conf scwrypts/config -$DOTWRYN/config/scwrypts.dotfile.conf scwrypts/config.dotfile.zsh -$DOTWRYN/config/scwrypts.local.env scwrypts/env/local -$DOTWRYN/config/scwrypts.vundle.zsh ../.vim/bundle/build.zsh -$DOTWRYN/config/tmux.conf tmux/tmux.conf -$DOTWRYN/config/xcompose.conf X11/xcompose -$DOTWRYN/config/xconfig.conf X11/xconfig -$DOTWRYN/config/xinitrc X11/xinitrc -$DOTWRYN/bin/scwrypts ../.local/bin/scwrypts -$DOTWRYN/bin/vim ../.local/bin/vim -" diff --git a/config/scwrypts.local.env b/config/scwrypts.local.env deleted file mode 100644 index 9244842..0000000 --- a/config/scwrypts.local.env +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/zsh -export AWS_ACCOUNT=088935110352 -export AWS_PROFILE=yage -export AWS_REGION=us-east-2 -export AWS__EFS__LOCAL_MOUNT_POINT=/mnt/efs/yage -export AWS__S3__MEDIA_BUCKET= -export AWS__S3__MEDIA_TARGETS= -export REDIS_AUTH= -export REDIS_HOST= -export REDIS_PORT= diff --git a/config/scwrypts.conf b/config/scwrypts/config similarity index 100% rename from config/scwrypts.conf rename to config/scwrypts/config diff --git a/config/scwrypts/dotfiles.zsh b/config/scwrypts/dotfiles.zsh new file mode 100644 index 0000000..52bb9d5 --- /dev/null +++ b/config/scwrypts/dotfiles.zsh @@ -0,0 +1,39 @@ +# +# scwrypts dot-files config +# + +TERMINFO_PATH="$DOTWRYN/config/terminfo" +SAFE_SYMLINKS=0 + +# lines which begin with '#' are ignored +SYMLINKS=" +# -------------------------------------------------------------------------- +# fully qualified path ~/.config/THE-REST +# -------------------------------------------------------------------------- +$DOTWRYN/bin/i3-utils i3/utils +$DOTWRYN/colorschemes/kitty.main kitty/theme.conf +$DOTWRYN/config/bat.conf bat/config +$DOTWRYN/config/code-activator.conf code-activator-zsh/settings.zsh +$DOTWRYN/config/compton.conf compton/compton.conf +$DOTWRYN/config/git.conf git/config +$DOTWRYN/config/i3.conf i3/config +$DOTWRYN/config/i3status.conf i3status/config +$DOTWRYN/config/kitty.conf kitty/kitty.conf +$DOTWRYN/config/mssqlcli.conf mssqlci/config +$DOTWRYN/config/pgcli.conf pgcli/config +$DOTWRYN/config/pylint.conf pylintrc +$DOTWRYN/config/ripgrep.conf ripgrep/config +$DOTWRYN/config/scwrypts/config scwrypts/config +$DOTWRYN/config/scwrypts/dotfiles.zsh scwrypts/dotfiles.zsh +$DOTWRYN/config/scwrypts/env/local scwrypts/env/local +$DOTWRYN/config/scwrypts/env/local.altaria scwrypts/env/local.altaria +$DOTWRYN/config/scwrypts/env/local.butterfree scwrypts/env/local.butterfree +$DOTWRYN/config/scwrypts/env/local.umbreon scwrypts/env/local.umbreon +$DOTWRYN/config/scwrypts/vundle.zsh scwrypts/vundle.zsh +$DOTWRYN/config/tmux.conf tmux/tmux.conf +$DOTWRYN/config/xcompose.conf X11/xcompose +$DOTWRYN/config/xconfig.conf X11/xconfig +$DOTWRYN/config/xinitrc X11/xinitrc +$DOTWRYN/bin/scwrypts ../.local/bin/scwrypts +$DOTWRYN/bin/vim ../.local/bin/vim +" diff --git a/config/scwrypts/env/local b/config/scwrypts/env/local new file mode 100644 index 0000000..711b258 --- /dev/null +++ b/config/scwrypts/env/local @@ -0,0 +1,24 @@ +#!/bin/zsh + +# standard AWS environment variables used by awscli and other tools +export AWS_ACCOUNT=088935110352 +export AWS_PROFILE=yage +export AWS_REGION=us-east-2 + +# fully-qualified path to mount the EFS drive +export AWS__EFS__LOCAL_MOUNT_POINT=/mnt/efs/yage + +# s3 bucket name and filesystem targets for media backups +export AWS__S3__MEDIA_BUCKET=yage +export AWS__S3__MEDIA_TARGETS=($S3_SYNC_MEDIA) + +# custom i3 configuration settings +export I3__BORDER_PIXEL_SIZE= +export I3__DMENU_FONT_SIZE= +export I3__GLOBAL_FONT_SIZE= +export I3__MODEL_CONFIG=$DOTWRYN/config/i3.conf + +# redis connection credentials +export REDIS_AUTH= +export REDIS_HOST= +export REDIS_PORT= diff --git a/config/scwrypts/env/local.altaria b/config/scwrypts/env/local.altaria new file mode 100644 index 0000000..b8fbdc9 --- /dev/null +++ b/config/scwrypts/env/local.altaria @@ -0,0 +1,24 @@ +#!/bin/zsh + +# standard AWS environment variables used by awscli and other tools +export AWS_ACCOUNT=088935110352 # inherited from local +export AWS_PROFILE=yage # inherited from local +export AWS_REGION=us-east-2 # inherited from local + +# fully-qualified path to mount the EFS drive +export AWS__EFS__LOCAL_MOUNT_POINT=/mnt/efs/yage # inherited from local + +# s3 bucket name and filesystem targets for media backups +export AWS__S3__MEDIA_BUCKET=yage # inherited from local +export AWS__S3__MEDIA_TARGETS=($S3_SYNC_MEDIA) # inherited from local + +# custom i3 configuration settings +export I3__BORDER_PIXEL_SIZE= +export I3__DMENU_FONT_SIZE= +export I3__GLOBAL_FONT_SIZE= +export I3__MODEL_CONFIG=$DOTWRYN/config/i3.conf # inherited from local + +# redis connection credentials +export REDIS_AUTH= +export REDIS_HOST= +export REDIS_PORT= diff --git a/config/scwrypts/env/local.butterfree b/config/scwrypts/env/local.butterfree new file mode 100644 index 0000000..b8fbdc9 --- /dev/null +++ b/config/scwrypts/env/local.butterfree @@ -0,0 +1,24 @@ +#!/bin/zsh + +# standard AWS environment variables used by awscli and other tools +export AWS_ACCOUNT=088935110352 # inherited from local +export AWS_PROFILE=yage # inherited from local +export AWS_REGION=us-east-2 # inherited from local + +# fully-qualified path to mount the EFS drive +export AWS__EFS__LOCAL_MOUNT_POINT=/mnt/efs/yage # inherited from local + +# s3 bucket name and filesystem targets for media backups +export AWS__S3__MEDIA_BUCKET=yage # inherited from local +export AWS__S3__MEDIA_TARGETS=($S3_SYNC_MEDIA) # inherited from local + +# custom i3 configuration settings +export I3__BORDER_PIXEL_SIZE= +export I3__DMENU_FONT_SIZE= +export I3__GLOBAL_FONT_SIZE= +export I3__MODEL_CONFIG=$DOTWRYN/config/i3.conf # inherited from local + +# redis connection credentials +export REDIS_AUTH= +export REDIS_HOST= +export REDIS_PORT= diff --git a/config/scwrypts/env/local.umbreon b/config/scwrypts/env/local.umbreon new file mode 100644 index 0000000..b8fbdc9 --- /dev/null +++ b/config/scwrypts/env/local.umbreon @@ -0,0 +1,24 @@ +#!/bin/zsh + +# standard AWS environment variables used by awscli and other tools +export AWS_ACCOUNT=088935110352 # inherited from local +export AWS_PROFILE=yage # inherited from local +export AWS_REGION=us-east-2 # inherited from local + +# fully-qualified path to mount the EFS drive +export AWS__EFS__LOCAL_MOUNT_POINT=/mnt/efs/yage # inherited from local + +# s3 bucket name and filesystem targets for media backups +export AWS__S3__MEDIA_BUCKET=yage # inherited from local +export AWS__S3__MEDIA_TARGETS=($S3_SYNC_MEDIA) # inherited from local + +# custom i3 configuration settings +export I3__BORDER_PIXEL_SIZE= +export I3__DMENU_FONT_SIZE= +export I3__GLOBAL_FONT_SIZE= +export I3__MODEL_CONFIG=$DOTWRYN/config/i3.conf # inherited from local + +# redis connection credentials +export REDIS_AUTH= +export REDIS_HOST= +export REDIS_PORT= diff --git a/config/scwrypts.vundle.zsh b/config/scwrypts/vundle.zsh similarity index 100% rename from config/scwrypts.vundle.zsh rename to config/scwrypts/vundle.zsh diff --git a/config/xinitrc b/config/xinitrc index 8eb045a..700ccb0 100644 --- a/config/xinitrc +++ b/config/xinitrc @@ -6,7 +6,7 @@ export PATH="$DOTWRYN/bin/xorg/$(hostnamectl --static):$PATH" for SCRIPT in $(find /etc/x11/xinit/xinitrc.d); do source $SCRIPT; done command -v dex && dex -a -$DOTWRYN/bin/xorg/activate-default & +$DOTWRYN/bin/xorg-activate-default & cd exec i3 diff --git a/setup/requirements.zsh b/setup/requirements.zsh index 8322858..68e3c30 100644 --- a/setup/requirements.zsh +++ b/setup/requirements.zsh @@ -25,7 +25,7 @@ source "$DOTWRYN_PATH/zsh/plugins/scwrypts/zsh/utils/utils.module.zsh" || exit 3 SCWRYPTS() { CI=1 \ - CONFIG__USER_SETTINGS="$DOTWRYN_PATH/config/scwrypts.dotfile.conf" \ + CONFIG__USER_SETTINGS="$DOTWRYN_PATH/config/scwrypts/dotfiles.conf" \ DOTWRYN=$DOTWRYN_PATH \ "$DOTWRYN_PATH/zsh/plugins/scwrypts/scwrypts" -n $1 -- ${@:2} }