mirror of
https://github.com/FAUSheppy/config
synced 2025-12-07 23:41:34 +01:00
Fixed ssh-agent startup by moving it to xinit
This commit is contained in:
@@ -15,16 +15,12 @@ hc keyunbind --all
|
|||||||
pkill dunst
|
pkill dunst
|
||||||
pkill xautolock
|
pkill xautolock
|
||||||
pkill -s 15 hl_pracct #send SIGTERM for correct termination during write
|
pkill -s 15 hl_pracct #send SIGTERM for correct termination during write
|
||||||
pkill ssh-agent #correctly terminate the current agent
|
|
||||||
|
|
||||||
#variables
|
#variables
|
||||||
Mod=Mod4 # Use the super key as the main modifier
|
Mod=Mod4 # Use the super key as the main modifier
|
||||||
|
|
||||||
######### MACHINE SPECIFIC SETUP #########
|
######### MACHINE SPECIFIC SETUP #########
|
||||||
### All Machines ####
|
### All Machines ####
|
||||||
if [ -f $HOME/.config/agent_socket ]; then
|
|
||||||
eval `ssh-agent -a /tmp/ssh-$(cat $HOME/.config/agent_socket)`
|
|
||||||
fi
|
|
||||||
### Atlantis PC-specific setup ###
|
### Atlantis PC-specific setup ###
|
||||||
if [[ "$HOST" == "atlantispc" ]]; then
|
if [[ "$HOST" == "atlantispc" ]]; then
|
||||||
hc detect_monitors
|
hc detect_monitors
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
#!/bin/bash
|
|
||||||
xrdb /home/ik15ydit/.Xresources
|
xrdb /home/ik15ydit/.Xresources
|
||||||
|
eval `ssh-agent`
|
||||||
exec herbstluftwm
|
exec herbstluftwm
|
||||||
|
|||||||
Reference in New Issue
Block a user