aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/wsl
diff options
context:
space:
mode:
Diffstat (limited to 'wsl')
-rw-r--r--wsl/.config/alacritty/local.yml (renamed from wsl/.config/alacritty/font.yml)12
-rw-r--r--wsl/.config/alacritty/shell.yml6
-rwxr-xr-xwsl/.local/bin/wsl-installer.sh17
3 files changed, 21 insertions, 14 deletions
diff --git a/wsl/.config/alacritty/font.yml b/wsl/.config/alacritty/local.yml
index 9872d01..6faa821 100644
--- a/wsl/.config/alacritty/font.yml
+++ b/wsl/.config/alacritty/local.yml
@@ -1,3 +1,10 @@
+shell:
+ program: C:\WINDOWS\system32\wsl.exe
+ args:
+ - "tmux new -As home"
+
+working_directory: '\\wsl$\Arch\home\tobyv'
+
font:
normal:
family: FiraCode NF
@@ -10,4 +17,7 @@ font:
style: Italic
bold_italic:
family: FiraCode NF
- style: Bold Italic \ No newline at end of file
+ style: Bold Italic
+
+window:
+ opacity: 0.98
diff --git a/wsl/.config/alacritty/shell.yml b/wsl/.config/alacritty/shell.yml
deleted file mode 100644
index c3bd711..0000000
--- a/wsl/.config/alacritty/shell.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-shell:
- program: C:\WINDOWS\system32\wsl.exe
- args:
- - "tmux new -As home"
-
-working_directory: '\\wsl$\Arch\home\tobyv'
diff --git a/wsl/.local/bin/wsl-installer.sh b/wsl/.local/bin/wsl-installer.sh
index 44c0fff..0229a35 100755
--- a/wsl/.local/bin/wsl-installer.sh
+++ b/wsl/.local/bin/wsl-installer.sh
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash
+#!/usr/bin/env sh
DOTFILES="${HOME}/.dotfiles"
@@ -11,7 +11,7 @@ ln -sfn "$WINHOME" ~/win
# ssh-config
sed -r 's|(RemoteForward\s+.+\s+)\/home\/tobyv\/\.gnupg\/S\.gpg-agent\.extra|\1127.0.0.1:4321|' "${DOTFILES}"/ssh/.ssh/config |
-sed '/Control/d' >"${WINHOME}/.ssh/config"
+ sed '/Control/d' >"${WINHOME}/.ssh/config"
# Create windows symlinks to dotfiles
mkln.sh "$@" "$HOME"/.gitconfig "${WINHOME}"/.gitconfig
@@ -21,7 +21,10 @@ mkln.sh "$@" "$HOME"/.gnupg/scdaemon.conf "${WINHOME}"/AppData/Roaming/gnupg/scd
mkln.sh "$@" "$HOME"/.config/alacritty/alacritty.yml "${WINHOME}"/AppData/Roaming/alacritty/alacritty.yml
for f in "$HOME"/.config/alacritty/*; do
- mkln.sh "$@" "$f" "${WINHOME}"/.config/alacritty/"$(basename "$f")"
+ case "$f" in
+ *shell.yml) echo "Skipping $f" ;;
+ *) mkln.sh "$@" "$f" "${WINHOME}"/.config/alacritty/"$(basename "$f")" ;;
+ esac
done
# install wsl2-ssh-pageant
@@ -36,10 +39,10 @@ chmod +x "${HOME}"/.local/bin/xclip
chmod +x "${HOME}"/.local/bin/xsel
# https://github.com/wslutilities/wslu
-command -v wslview &>/dev/null || cat <<-EOF
- wslu is not installed.
- wslu (wslview) is needed to open browser windows from linux commands.
- install instructions: https://github.com/wslutilities/wslu#installation
+command -v wslview >&/dev/null || cat <<-EOF
+ wslu is not installed.
+ wslu (wslview) is needed to open browser windows from linux commands.
+ install instructions: https://github.com/wslutilities/wslu#installation
EOF
echo "WSL has been set up"