diff --git a/home/dot_config/sway/wallpaper.png b/home/dot_config/sway/wallpaper.png index 3131cc6..e1c183b 100644 Binary files a/home/dot_config/sway/wallpaper.png and b/home/dot_config/sway/wallpaper.png differ diff --git a/home/dot_config/sway/wallpaper_old.png b/home/dot_config/sway/wallpaper_old.png deleted file mode 100644 index 8735296..0000000 Binary files a/home/dot_config/sway/wallpaper_old.png and /dev/null differ diff --git a/home/dot_zprofile.tmpl b/home/dot_zprofile.tmpl index 3a7d6ce..82a6034 100644 --- a/home/dot_zprofile.tmpl +++ b/home/dot_zprofile.tmpl @@ -2,6 +2,14 @@ # `$HOME/bin/start-agent` SSH_ENV="$HOME/.ssh/agent-environment" +function escapeStr { + if [ -z "$1" ]; then + echo "usage: escapeStr " + return 1 + fi + echo $1 | sed -r 's/([\$"])/\\\1/g' +} + function start_agent { echo "Initialising new SSH agent..." /usr/bin/ssh-agent | sed 's/^echo/#echo/' > "${SSH_ENV}"