From e41f2c152137bc934e65fa215fac0b6557b7e7ae Mon Sep 17 00:00:00 2001 From: Steven Polley Date: Tue, 20 Feb 2024 19:41:39 -0700 Subject: [PATCH] Added X11 configs --- X11/.Xresources | 31 +++++++++++++++++++++++++++++ X11/.xinitrc | 53 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 84 insertions(+) create mode 100644 X11/.Xresources create mode 100644 X11/.xinitrc diff --git a/X11/.Xresources b/X11/.Xresources new file mode 100644 index 0000000..69f28c0 --- /dev/null +++ b/X11/.Xresources @@ -0,0 +1,31 @@ +urxvt.foreground: #E8DFD6 +urxvt.cursorColor: #2E3340 +urxvt.color0: #032C36 +urxvt.color8: #065F73 +urxvt.color1: #C2454E +urxvt.color9: #EF5847 +urxvt.color2: #7CBF9E +urxvt.color10: #A2D9B1 +urxvt.color3: #8A7A63 +urxvt.color11: #BEB090 +urxvt.color4: #2E3340 +urxvt.color12: #61778D +urxvt.color5: #FF5879 +urxvt.color13: #FF99A1 +urxvt.color6: #44B5B1 +urxvt.color14: #9ED9D8 +urxvt.color7: #F2F1B9 +urxvt.color15: #F6F6C9 + +urxvt.geometry: 400x400 +URxvt.letterSpace: 1 +URxvt.lineSpace: 0 +URxvt.cursorUnderline: false +URxvt.saveline: 2048 +URxvt.scrollBar: false +URxvt.scrollBar_right: false +URxvt.urgentOnBell: true +URxvt.iso14755: false +urxvt.font: xft:NotoMono Nerd Font:pixelsize=14 +urxvt.depth: 32 +urxvt.background: rgba:0000/0000/0200/dc00 diff --git a/X11/.xinitrc b/X11/.xinitrc new file mode 100644 index 0000000..1186318 --- /dev/null +++ b/X11/.xinitrc @@ -0,0 +1,53 @@ +#!/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 + +picom & +~/.fehbg & +i3