Start SSH agent in sway

This commit is contained in:
Pavle Portic 2024-02-04 17:09:49 +01:00
parent ab95163c5b
commit 80a876b103
Signed by: TheEdgeOfRage
GPG Key ID: 66AD4BA646FBC0D2
3 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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