aboutsummaryrefslogtreecommitdiff
path: root/.xinitrc
diff options
context:
space:
mode:
Diffstat (limited to '.xinitrc')
-rwxr-xr-x.xinitrc7
1 files changed, 6 insertions, 1 deletions
diff --git a/.xinitrc b/.xinitrc
index 804aa1e..634a1ce 100755
--- a/.xinitrc
+++ b/.xinitrc
@@ -22,13 +22,17 @@ fi
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto
+# for minecraft login thing
+eval $(gnome-keyring-daemon --start)
+export SSH_AUTH_SOCK
+
# start some nice programs
lxsession &
nitrogen --restore &
picom &
dunst &
cbatticon &
-[[ -f ~/.Xmodmap ]] && xmodmap .Xmodmap
+[[ -f ~/.Xmodmap ]] && xmodmap .Xmodmap&
case $1 in
xmonad) exec xmonad ;;
@@ -39,5 +43,6 @@ case $1 in
spectrwm) exec spectrwm ;;
awesome) exec awesome ;;
dwm) exec dwm ;;
+ kde) export DESKTOP_SESSION=plasma && exec startplasma-x11;;
*) exec xmonad ;;
esac