FIX perform prime switch on logout

This commit is contained in:
Nathan Dwarshuis 2021-12-11 12:24:58 -05:00
parent c6b4d7ffc6
commit d390691484
2 changed files with 1 additions and 2 deletions

View File

@ -0,0 +1 @@
sudo /usr/bin/prime-switch > /dev/null 2>&1

View File

@ -1,5 +1,3 @@
sudo /usr/bin/prime-switch > /dev/null 2>&1
initfile="$XDG_CONFIG_HOME/X11/xinitrc"
logfile="$XDG_DATA_HOME/X11/xinit.log"
[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && \