feat: ssh-agent on startup
This commit is contained in:
parent
3416889521
commit
409c6993f2
@ -1 +0,0 @@
|
|||||||
/home/ange/bin/wallpaper
|
|
@ -1 +0,0 @@
|
|||||||
/home/ange/bin/wallpaper
|
|
@ -1,3 +1,9 @@
|
|||||||
|
if ! pgrep -u "$USER" ssh-agent > /dev/null; then
|
||||||
|
ssh-agent > "$XDG_RUNTIME_DIR/ssh-agent.env"
|
||||||
|
fi
|
||||||
|
|
||||||
|
. "$XDG_RUNTIME_DIR/ssh-agent.env"
|
||||||
|
|
||||||
[ "$XDG_VTNR" = 1 ] && {
|
[ "$XDG_VTNR" = 1 ] && {
|
||||||
GUILOG="$HOME/.local/share/gui.log"
|
GUILOG="$HOME/.local/share/gui.log"
|
||||||
|
|
||||||
|
3
.xinitrc
3
.xinitrc
@ -4,8 +4,7 @@
|
|||||||
#(i3status | while read line; do xsetroot -name "$line"; done) &
|
#(i3status | while read line; do xsetroot -name "$line"; done) &
|
||||||
|
|
||||||
# startup
|
# startup
|
||||||
eval "$(ssh-agent)"
|
autorandr -c
|
||||||
wallpaper &
|
|
||||||
xss-lock -n screensaver -- lock &
|
xss-lock -n screensaver -- lock &
|
||||||
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 || # arch
|
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 || # arch
|
||||||
/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 || # debian
|
/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 || # debian
|
||||||
|
Loading…
Reference in New Issue
Block a user