From 39f9e385d61100dfc30ca42e7cddf9abb74c41b4 Mon Sep 17 00:00:00 2001 From: Andrew Cady Date: Fri, 6 May 2022 03:31:17 -0400 Subject: remove xinitrc --- dot/xinitrc | 49 ------------------------------------------------- 1 file changed, 49 deletions(-) delete mode 100755 dot/xinitrc diff --git a/dot/xinitrc b/dot/xinitrc deleted file mode 100755 index fcfa00c..0000000 --- a/dot/xinitrc +++ /dev/null @@ -1,49 +0,0 @@ -#!/bin/bash -exec .xsession-errors 2>&1 -set -x -# eval $(dbus-autolaunch) -[ "$XDG_RUNTIME_DIR" ] || export XDG_RUNTIME_DIR=/run/user/"$(id -u)" -[ "$DBUS_SESSION_BUS_ADDRESS" ] || export DBUS_SESSION_BUS_ADDRESS=unix:path=$XDG_RUNTIME_DIR/bus - -USING_GNOME= -if [ -r "$XAUTHORITY" -a ! "$XAUTHORITY" -ef "$HOME"/.Xauthority ]; then - ln -sf "$XAUTHORITY" "$HOME"/.Xauthority - XAUTHORITY="$HOME"/.Xauthority -fi -warn() { xmessage ".xinitrc: Warning: $*" & } -xrdb -merge ~/.Xresources || warn "xrdb returned $?" -xbindkeys - -# if [ "$USING_GNOME" ]; then -# xrdb -merge - <<'END' || warn "xrdb returned $?" -# ! apparently gnome is setting the bg/fg color of xterm using other things... -# xterm*reverseVideo: false -# END -# fi - -# no gnome: -setxkbmap -option terminate:ctrl_alt_bksp -option caps:super -# gnome: -gsettings set org.gnome.libgnomekbd.keyboard options "['terminate\tterminate:ctrl_alt_bksp', 'caps\tcaps:super']" - -# Disable thinkpad middle-click+trackpoint scrolling -xinput set-prop 'TPPS/2 IBM TrackPoint' 'libinput Scroll Method Enabled' 0 0 0 - -# Enable tap-to-click -xinput --set-prop --type=int --format=8 "SynPS/2 Synaptics TouchPad" "Synaptics Tap Action" 0 0 0 0 1 2 3 -# c.f: -# http://www.mepis.org/docs/en/index.php?title=Configuring_the_touchpad_with_xinput -# pad corners rt rb lt lb tap fingers 1 2 3 (can't simulate more then 2 tap fingers AFAIK) - values: 0=disable 1=left 2=middle 3=right etc. (in FF 8=back 9=forward) - - -( - exec xterm -e tmux attach -) & -# xcompmgr -c & -if [ "$USING_GNOME" ]; then - exec gnome-session-xmonad -else - (exec xmonad || exec fluxbox) & -fi -exec perl -e 'wait while 1' -xterm # if exec fails -- cgit v1.2.3