Fish: don't start screen automatically any more

This commit is contained in:
Marcel Kapfer 2017-11-25 22:51:50 +01:00
parent 94c0170710
commit 15d3e2abac

View file

@ -60,14 +60,14 @@ end
# Attach the autoscreen screen session if StumpWM is running # Attach the autoscreen screen session if StumpWM is running
# and it's not already in use. # and it's not already in use.
if test \( -n $DESKTOP_SESSION \) -a \( $DESKTOP_SESSION = "stumpwm" \) # if test \( -n $DESKTOP_SESSION \) -a \( $DESKTOP_SESSION = "stumpwm" \)
if screen -list | grep -q "No Sockets" # if screen -list | grep -q "No Sockets"
screen -dmS autoscreen # screen -dmS autoscreen
exec screen -r # exec screen -r
else if screen -list | grep -Eq "\.autoscreen.*Detached" # else if screen -list | grep -Eq "\.autoscreen.*Detached"
exec screen -r # exec screen -r
end # end
end # end
# gpg-agent as SSH agent # gpg-agent as SSH agent
set -e SSH_AGENT_PID set -e SSH_AGENT_PID
@ -89,4 +89,3 @@ if status --is-login
exec startx -- -keeptty exec startx -- -keeptty
end end
end end