From 8dc8f2d52338fd87e7763995e6732f5a295300e8 Mon Sep 17 00:00:00 2001 From: mono-b Date: Mon, 26 Dec 2022 04:08:53 -0300 Subject: huh --- X11/.xinitrc | 36 +++++++++++++++++++++++++++++++++++ X11/xresources | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ X11/xserverrc | 2 ++ 3 files changed, 97 insertions(+) create mode 100644 X11/.xinitrc create mode 100644 X11/xresources create mode 100644 X11/xserverrc (limited to 'X11') diff --git a/X11/.xinitrc b/X11/.xinitrc new file mode 100644 index 0000000..3c270fd --- /dev/null +++ b/X11/.xinitrc @@ -0,0 +1,36 @@ +#!/bin/sh + +userresources=$HOME/.Xresources +usermodmap=$HOME/.Xmodmap +sysresources=/etc/X11/xinit/.Xresources +sysmodmap=/etc/X11/xinit/.Xmodmap + +# merge in defaults and keymaps + +if [ -f $sysresources ]; then + xrdb -merge $sysresources +fi + +if [ -f $sysmodmap ]; then + xmodmap $sysmodmap +fi + +if [ -f "$userresources" ]; then + xrdb -merge "$userresources" +fi + +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" + done + unset f +fi + +runsvdir $HOME/.config/sv & +exec i3 diff --git a/X11/xresources b/X11/xresources new file mode 100644 index 0000000..824918e --- /dev/null +++ b/X11/xresources @@ -0,0 +1,59 @@ +! X colors. +! Generated by 'wal' +*foreground: #e5e5e8 +*background: #100f0e +*.foreground: #e5e5e8 +*.background: #100f0e +XTerm*foreground: #e5e5e8 +XTerm*background: #100f0e +XTerm*cursorColor: #e5e5e8 + +! Colors 0-15. +*.color0: #100f0e +*color0: #100f0e +*.color1: #e56800 +*color1: #e56800 +*.color2: #fdb64e +*color2: #fdb64e +*.color3: #fecf41 +*color3: #fecf41 +*.color4: #7C838F +*color4: #7C838F +*.color5: #B8BAC5 +*color5: #B8BAC5 +*.color6: #CDCED6 +*color6: #CDCED6 +*.color7: #e5e5e8 +*color7: #e5e5e8 +*.color8: #a0a0a2 +*color8: #a0a0a2 +*.color9: #d27e3b +*color9: #d27e3b +*.color10: #fdb64e +*color10: #fdb64e +*.color11: #fecf41 +*color11: #fecf41 +*.color12: #7C838F +*color12: #7C838F +*.color13: #B8BAC5 +*color13: #B8BAC5 +*.color14: #CDCED6 +*color14: #CDCED6 +*.color15: #e5e5e8 +*color15: #e5e5e8 + +! Black color that will not be affected by bold highlighting. +*.color66: #100f0e +*color66: #100f0e + +! Xclock colors. +XClock*foreground: #e5e5e8 +XClock*background: #100f0e +XClock*majorColor: rgba:e5/e5/e8/ff +XClock*minorColor: rgba:e5/e5/e8/ff +XClock*hourColor: rgba:e5/e5/e8/ff +XClock*minuteColor: rgba:e5/e5/e8/ff +XClock*secondColor: rgba:e5/e5/e8/ff + +! Set depth to make transparency work. +URxvt*depth: 32 diff --git a/X11/xserverrc b/X11/xserverrc new file mode 100644 index 0000000..d76ef8f --- /dev/null +++ b/X11/xserverrc @@ -0,0 +1,2 @@ +#!/bin/sh +exec /usr/bin/Xorg -nolisten tcp "$@" vt$XDG_VTNR -- cgit v1.2.1