version 3 refactor

This commit is contained in:
Wryn Wagner
2021-02-24 17:38:02 -07:00
parent 35fc078b0e
commit 67e9710ab0
29 changed files with 187 additions and 180 deletions

View File

@ -1,6 +1,8 @@
#!/bin/sh
CONFIG_DIR="$HOME/.wryn/config/kitty"
source "$HOME/.config/wryn/env/env"
CONFIG_DIR="$DOTWRYN/config/kitty"
[ -f "$CONFIG_DIR/temp.conf" ] && return 1 # race condition lock

View File

@ -1,11 +1,8 @@
#!/bin/sh
ENGINE="$(which canberra-gtk-play) -f"
SFX="$HOME/Personal/sfx";
source "$HOME/.config/wryn/env.zsh"
source "$HOME/.config/wryn/env/env"
PLAY() {
eval "$ENGINE" "$SFX/$1"
eval "$MEDIA_ENGINE" "$SFX_PATH/$1"
}
case $1 in

View File

@ -1 +1,3 @@
"$HOME/.wryn/bin/desktop/youtube-music/controller.sh" next
source "$HOME/.config/wryn/env/env"
"$DOTWRYN/bin/desktop/youtube-music/controller.sh" next

View File

@ -1 +1,3 @@
"$HOME/.wryn/bin/desktop/youtube-music/controller.sh" playpause
source "$HOME/.config/wryn/env/env"
"$DOTWRYN/bin/desktop/youtube-music/controller.sh" playpause

View File

@ -1 +1,3 @@
"$HOME/.wryn/bin/desktop/youtube-music/controller.sh" prev
source "$HOME/.config/wryn/env/env"
"$DOTWRYN/bin/desktop/youtube-music/controller.sh" prev

View File

@ -1,6 +1,10 @@
#!/bin/bash
source "$HOME/.config/wryn/env/env"
[ ! -d "$HOME/.vim" ] && mkdir "$HOME/.vim"
[ ! -d "$HOME/.vim/colors" ] && mkdir "$HOME/.vim/colors"
for file in $(find "$HOME/.wryn/config/colorschemes/vim" -name \*.vim); do cp $file ~/.vim/colors/; done
for file in $(find "$DOTWRYN/config/colorschemes/vim" -name \*.vim); do
cp $file ~/.vim/colors/;
done
echo "vim colorschemes updated"