💾 Archived View for gmi.noulin.net › gitRepositories › systemSetup › file › slackware › .xinitrc.gmi captured on 2024-08-25 at 09:13:40. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
.xinitrc (577B)
1 #!/bin/sh 2 3 userresources=$HOME/.Xresources 4 usermodmap=$HOME/.Xmodmap 5 sysresources=/etc/X11/xinit/.Xresources 6 sysmodmap=/etc/X11/xinit/.Xmodmap 7 8 # Merge in defaults and keymaps 9 [ -f $sysresources ] && /usr/bin/xrdb -merge $sysresources 10 [ -f $sysmodmap ] && /usr/bin/xmodmap $sysmodmap 11 [ -f $userresources ] && /usr/bin/xrdb -merge $userresources 12 [ -f $usermodmap ] && /usr/bin/xmodmap $usermodmap 13 14 # Start i3 15 if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then 16 exec ck-launch-session dbus-launch --exit-with-session /usr/bin/i3 17 else 18 exec /usr/bin/i3 19 fi 20