From 80a876b1037a1032c21d0fc1af7c7e5a1e51cef7 Mon Sep 17 00:00:00 2001 From: TheEdgeOfRage Date: Sun, 4 Feb 2024 17:09:49 +0100 Subject: [PATCH] Start SSH agent in sway --- dot_config/sway/config.tmpl | 2 ++ dot_zprofile.tmpl | 1 + init.sh | 3 +++ 3 files changed, 6 insertions(+) diff --git a/dot_config/sway/config.tmpl b/dot_config/sway/config.tmpl index 2872788..05dfeaf 100644 --- a/dot_config/sway/config.tmpl +++ b/dot_config/sway/config.tmpl @@ -1,5 +1,7 @@ # vim: ft=swayconfig ts=4 sts=4 sw=4 noet +include /etc/sway/config.d/* + set $foreground #ebdbb2 set $background #282828 set $color0 #1d2021 diff --git a/dot_zprofile.tmpl b/dot_zprofile.tmpl index 73d97c2..f8a7334 100644 --- a/dot_zprofile.tmpl +++ b/dot_zprofile.tmpl @@ -17,6 +17,7 @@ export GTK_THEME="Breeze-Dark" export VISUAL="nvim" export XDG_CONFIG_HOME="$HOME/.config" export VIRTUAL_ENV_DISABLE_PROMPT="true" +export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/gcr/ssh" {{ range $_, $env := .zshrc.env_vars }}export {{ $env.name }}="{{ $env.value }}" {{ end }} # Wayland env vars diff --git a/init.sh b/init.sh index 6beb46a..c1ebfaf 100755 --- a/init.sh +++ b/init.sh @@ -15,3 +15,6 @@ git clone https://github.com/zsh-users/zsh-syntax-highlighting ${ohmyzsh_custom} git clone https://gitea.theedgeofrage.com/TheEdgeOfRage/boban-zsh ${ohmyzsh_custom}/themes/boban sudo cp ./custom_colemak /usr/share/X11/xkb/symbols/custom + +sudo pacman -S gcr +systemctl enable --now gcr-ssh-agent.socket