This commit is contained in:
ry
2022-01-13 12:10:39 -08:00
parent 9ea7094c9e
commit bf62fee111
4 changed files with 33 additions and 33 deletions

View File

@@ -52,10 +52,7 @@ exec --no-startup-id flashfocus
# polkit
exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
# gnome-keyring-daemon
exec eval $(gnome-keyring-daemon --start)
exec export SSH_AUTH_SOCK
# Gtk crap
exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
exec hash dbus-update-activation-environment 2>/dev/null && \
dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK
@@ -119,7 +116,6 @@ bindsym $mod+Shift+q kill
# Lock SwayWM
bindsym Control+Shift+l exec swaylock
# Change normal to inverse to use left mouse button for resizing and right
# mouse button for dragging.
floating_modifier $mod normal
@@ -249,10 +245,10 @@ mode "resize" {
}
bindsym $mod+r mode "resize"
exec_always import-gsettings \
gtk-theme:gtk-theme-name \
icon-theme:gtk-icon-theme-name \
cursor-theme:gtk-cursor-theme-name
# exec_always import-gsettings \
# gtk-theme:gtk-theme-name \
# icon-theme:gtk-icon-theme-name \
# cursor-theme:gtk-cursor-theme-name
#
# Status Bar:

View File

@@ -6,6 +6,7 @@
# Only vars needed by external commands should be exported.
# Note that you can export vars w/out assigning a value to them.
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/keyring/ssh"
export XDG_CONFIG_HOME=~/.config
export XDG_CACHE_HOME=~/.cache
export XDG_DATA_HOME=~/.local/share
@@ -13,4 +14,7 @@ export XDG_STATE_HOME=~/.config/zsh
export EDITOR=vim
export VISUAL=vim
export XDG_CURRENT_DESKTOP=Unity
eval $(gnome-keyring-daemon --start --components=ssh)
export SSH_AUTH_SOCK
xmodmap ~/.config/xmodmap/xmodmap

View File

@@ -20,10 +20,10 @@ FUNCTION_LOCATION="$XDG_CONFIG_HOME/zsh/zsh_functions"
. $ALIAS_LOCATION
. $FUNCTION_LOCATION
## SSH Agent
if ! pgrep -u "$USER" ssh-agent > /dev/null; then
ssh-agent > "$XDG_RUNTIME_DIR/ssh-agent.env"
fi
if [ ! "$SSH_AUTH_SOCK" ]; then
. "$XDG_RUNTIME_DIR/ssh-agent.env" > /dev/null
fi
# ## SSH Agent
# if ! pgrep -u "$USER" ssh-agent > /dev/null; then
# ssh-agent > "$XDG_RUNTIME_DIR/ssh-agent.env"
# fi
# if [ ! "$SSH_AUTH_SOCK" ]; then
# . "$XDG_RUNTIME_DIR/ssh-agent.env" > /dev/null
# fi