commit 13ff82e31fc8204bd7d84b23d82df7624263440d
parent b3cfb92ac057f2ebbbd61ce352e252e7f10906b2
Author: pyratebeard <root@pyratebeard.net>
Date: Sun, 14 Apr 2019 18:53:17 +0100
updates to .xinitrc, switch to 2bwm
Diffstat:
1 file changed, 29 insertions(+), 6 deletions(-)
diff --git a/xinit/.xinitrc b/xinit/.xinitrc
@@ -1,11 +1,23 @@
#!/bin/sh
+# ░█░█░▀█▀░█▀█░▀█▀░▀█▀░░
+# ░▄▀▄░░█░░█░█░░█░░░█░░░
+# ░▀░▀░▀▀▀░▀░▀░▀▀▀░░▀░░░
+# merge in defaults and keymaps
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
-# Merge in defaults and keymaps
+# set caps to escape
+setxkbmap -option caps:escape
+
+# add fonts
+xset +fp /usr/share/fonts/local
+
+# beep and screen blank off
+xset b off
+xset s off -dpms
if [ -f $sysresources ]; then
xrdb -merge $sysresources
@@ -23,8 +35,6 @@ if [ -f "$usermodmap" ]; then
xmodmap "$usermodmap"
fi
-# Start some nice programs
-
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
@@ -32,6 +42,19 @@ if [ -d /etc/X11/xinit/xinitrc.d ] ; then
unset f
fi
-# Added to load tamsyn font
-xset +fp /usr/share/fonts/local
-exec awesome
+# set nice background.
+xsetroot -bg
+
+# set nice pointer cursor.
+xsetroot -cursor_name left_ptr &
+unclutter &
+
+# load resources.
+xrdb -load ~/.Xdefaults
+
+# start window manager in the background. If it dies, X still lives.
+2bwm &
+
+# Start a terminal in the foreground. If this dies, X dies.
+urxvtd &
+exec urxvt