new era new problems

This commit is contained in:
Daylin Morgan 2024-01-05 11:44:03 -06:00
parent 163cb4789f
commit 695ae90a70
Signed by: daylin
GPG key ID: C1E52E7DD81DF79F
2 changed files with 5 additions and 10 deletions

View file

@ -33,26 +33,18 @@ fi
[ -f ~/.xprofile ] && . ~/.xprofile [ -f ~/.xprofile ] && . ~/.xprofile
eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh) # eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
export SSH_AUTH_SOCK # export SSH_AUTH_SOCK
# $1 is xterm # $1 is xterm
# $2 is the wm arg passed to startx # $2 is the wm arg passed to startx
# i.e. startx qtile # i.e. startx qtile
case $2 in case $2 in
leftwm)
export DESKTOP_SESSION=leftwm
exec leftwm
;;
plasma) plasma)
export DESKTOP_SESSION=plasma export DESKTOP_SESSION=plasma
exec startplasma-x11 exec startplasma-x11
;; ;;
xmonad)
export DESKTOP_SESSION=xmonad
xmonad
;;
qtile) qtile)
export DESKTOP_SESSION=qtile export DESKTOP_SESSION=qtile
exec qtile start exec qtile start

View file

@ -32,6 +32,9 @@ path=(
/opt/local/{,s}bin(N) /opt/local/{,s}bin(N)
/usr/{,local/}{,s}bin(N) /usr/{,local/}{,s}bin(N)
# prefer NixOs paths to qtile path corruption
/run/{wrappers,current-system/sw}/bin(N)
$path $path
) )