aboutsummaryrefslogtreecommitdiff
path: root/libraries/xview/xinitrc.olvwm
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2021-01-12 00:04:40 +0100
committerRobby Workman <rworkman@slackbuilds.org>2021-04-18 00:10:34 -0500
commit16f43c65afc879fd88d9e384df334b24e286cc37 (patch)
tree1bc02789fb04561ea61fe48b0c03e7b1b3ee9999 /libraries/xview/xinitrc.olvwm
parent3e2dc6cf1539bd2a2ad665e105953797d0d81680 (diff)
libraries/xview: Pass -fcommon for gcc >= 10.x, use libtirpc.
Add a couple of generic xinitrc files Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/xview/xinitrc.olvwm')
-rw-r--r--libraries/xview/xinitrc.olvwm16
1 files changed, 16 insertions, 0 deletions
diff --git a/libraries/xview/xinitrc.olvwm b/libraries/xview/xinitrc.olvwm
new file mode 100644
index 0000000000000..203011e0a3e42
--- /dev/null
+++ b/libraries/xview/xinitrc.olvwm
@@ -0,0 +1,16 @@
+#!/bin/sh
+# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $
+
+userresources=$HOME/.Xresources
+usermodmap=$HOME/.Xmodmap
+sysresources=/etc/X11/xinit/.Xresources
+sysmodmap=/etc/X11/xinit/.Xmodmap
+
+# merge in defaults and keymaps
+[ -f $sysresources ] && xrdb -merge $sysresources
+[ -f $sysmodmap ] && xmodmap $sysmodmap
+[ -f $userresources ] && xrdb -merge $userresources
+[ -f $usermodmap ] && xmodmap $usermodmap
+
+# Start the window manager:
+/usr/bin/olvwm