summaryrefslogtreecommitdiff
path: root/.config/X11/clientrc
diff options
context:
space:
mode:
Diffstat (limited to '.config/X11/clientrc')
-rw-r--r--.config/X11/clientrc25
1 files changed, 0 insertions, 25 deletions
diff --git a/.config/X11/clientrc b/.config/X11/clientrc
index e280f8d..5ffdd97 100644
--- a/.config/X11/clientrc
+++ b/.config/X11/clientrc
@@ -1,30 +1,5 @@
#!/hint/sh
-# Load system xinit modules (disabled)
-# Remove "false &&" to enable
-if false && [ -d /etc/X11/xinit/xinitrc.d ]; then
- echo ' ==> Running scripts in Entering xinitrc.d/*'
- for f in /etc/X11/xinit/xinitrc.d/*; do
- echo " -> $f"
- [ -x "$f" ] && . "$f"
- done
- unset f
- echo ' -> done'
-fi
-
-usermodmap="$XDG_CONFIG_HOME/X11/modmap"
-if [ -f "$usermodmap" ]; then
- xmodmap "$usermodmap"
-fi
-
-dpi=$(LC_ALL=C DISPLAY=:0 xdpyinfo|sed -rn 's/^\s*resolution:\s*(.*) dots per inch$/\1/p')
-xrdb -merge <<<"Xft.dpi: ${dpi}"
-
-userresources="$XDG_CONFIG_HOME/X11/resources"
-if [ -f "$userresources" ]; then
- xrdb -merge "$userresources"
-fi
-
if [ -z "$XDG_RUNTIME_DIR" ]; then
printf "XDG_RUNTIME_DIR isn't set\n" >&2
exit 6