From 284e4a966da3ffc875c011072f0c1a5dc392d7fb Mon Sep 17 00:00:00 2001 From: Andrea Rogers Date: Wed, 22 May 2024 19:32:44 -0500 Subject: [PATCH] [OLD] X: Add olde X crap for problem children --- GNUmakefile | 16 +++++- x-crap/.Xdefaults | 23 +++++++++ x-crap/.Xmodcapslock | 4 ++ x-crap/.Xresources | 120 +++++++++++++++++++++++++++++++++++++++++++ x-crap/.xinitrc | 18 +++++++ 5 files changed, 180 insertions(+), 1 deletion(-) create mode 100644 x-crap/.Xdefaults create mode 100644 x-crap/.Xmodcapslock create mode 100644 x-crap/.Xresources create mode 100644 x-crap/.xinitrc diff --git a/GNUmakefile b/GNUmakefile index 5037957..3231a25 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -81,7 +81,21 @@ $(HOME)/.sway/config: .sway/config $(HOME)/.vim/bundle/Vundle.vim: $(HOME)/.vim/bundle git clone https://github.com/VundleVim/Vundle.vim.git $@ || cd $@; git pull; exit 0 -.PHONY: aliases profileds README +$(HOME)/.Xmodcapslock: x-crap/.Xmodcapslock + cp $< $@ + +$(HOME)/.Xdefaults: x-crap/.Xdefaults + cp $< $@ + +$(HOME)/.Xresources: x-crap/.Xresources + cp $< $@ + +$(HOME)/.xinitrc: x-crap/.xinitrc + cp $< $@ + +x-crap: $(HOME)/.Xmodcapslock $(HOME)/.Xdefaults $(HOME)/.Xresources $(HOME)/.xinitrc + +.PHONY: aliases profileds README x-crap ### README ##################################################################### diff --git a/x-crap/.Xdefaults b/x-crap/.Xdefaults new file mode 100644 index 0000000..1a35717 --- /dev/null +++ b/x-crap/.Xdefaults @@ -0,0 +1,23 @@ +*xterm*background: #101010 +*xterm*foreground: #d0d0d0 + +!URxvt*background: #101010 +!URxvt*foreground: #d0d0d0 +URxvt*scrollBar: false +URxvt*font: xft:monofur for Powerline:pixelsize=16:antialias=true +!URxvt*font: xft:monofur for Powerline:pixelsize=15:antialias=true +!URxvt*font: xft:monofur for Powerline:pixelsize=13:antialias=true +!URxvt*font: xft:monofur for Powerline:pixelsize=14:antialias=true +!URxvt*font: xft:monofur for Powerline:pixelsize=11:antialias=true + +URxvt.perl-ext: default,resize-font,clipboard + +URxvt.keysym.Control-Up: \033[1;5A +URxvt.keysym.Control-Down: \033[1;5B +URxvt.keysym.Control-Left: \033[1;5D +URxvt.keysym.Control-Right: \033[1;5C + +!Transparency +urxvt*transparent: true +!urxvt*shading: 30 +urxvt*shading: 20 diff --git a/x-crap/.Xmodcapslock b/x-crap/.Xmodcapslock new file mode 100644 index 0000000..c59ec53 --- /dev/null +++ b/x-crap/.Xmodcapslock @@ -0,0 +1,4 @@ +clear lock +clear control +keycode 66 = Control_L NoSymbol Control_L +add control = Control_L Control_R diff --git a/x-crap/.Xresources b/x-crap/.Xresources new file mode 100644 index 0000000..27901d9 --- /dev/null +++ b/x-crap/.Xresources @@ -0,0 +1,120 @@ +*xterm*foreground: #d0d0d0 +*xterm*background: #101010 + +!Enable Perls +URxvt.perl-ext-common: default,resize-font +!URxvt.perl-ext-common: default,font-size +!URxvt.perl-ext-common: default,clipboard,url-select,keyboard-select +!URxvt.url-select.launcher: chromium +!URxvt.url-select.underline: true +!URxvt.keysym.M-u: perl:url-select:select_next +!URxvt.keysym.M-Escape: perl:keyboard-select:activate +!URxvt.keysym.M-s: perl:keyboard-select:search + +!Zoom commands +!URxvt.keysym.C-Up: font-size:increase +!URxvt.keysym.C-Down: font-size:decrease +!URxvt.keysym.C-equal: font-size:reset +URxvt.keysym.C-equal: resize-font:reset +!URxvt.keysym.C-slash: font-size:show + +!BLK Cursor +#define _color0 #000d18 +#define _color8 #000d18 +!RED Tag +#define _color1 #e89393 +#define _color9 #e89393 +!GRN SpecialKey +#define _color2 #9ece9e +#define _color10 #9ece9e +!YEL Keyword +#define _color3 #f0dfaf +#define _color11 #f0dfaf +!BLU Number +#define _color4 #8cd0d3 +#define _color12 #8cd0d3 +!MAG Precondit +#define _color5 #c0bed1 +#define _color13 #c0bed1 +!CYN Float +#define _color6 #dfaf8f +#define _color14 #dfaf8f +!WHT Search +#define _color7 #efefef +#define _color15 #efefef +!FMT Include, StatusLine, ErrorMsg +#define _colorBD #ffcfaf +#define _colorUL #ccdc90 +#define _colorIT #80d4aa +!TXT Normal, Normal, Cursor +#define _foreground #dcdccc +#define _background #1f1f1f +#define _cursorColor #8faf9f +URxvt*color0 : _color0 +URxvt*color1 : _color1 +URxvt*color2 : _color2 +URxvt*color3 : _color3 +URxvt*color4 : _color4 +URxvt*color5 : _color5 +URxvt*color6 : _color6 +URxvt*color7 : _color7 +URxvt*color8 : _color8 +URxvt*color9 : _color9 +URxvt*color10 : _color10 +URxvt*color11 : _color11 +URxvt*color12 : _color12 +URxvt*color13 : _color13 +URxvt*color14 : _color14 +URxvt*color15 : _color15 +URxvt*colorBD : _colorBD +URxvt*colorIT : _colorIT +URxvt*colorUL : _colorUL +URxvt*foreground : _foreground +URxvt*background : _background +URxvt*cursorColor : _cursorColor + +!URxvt*foreground: #d0d0d0 +!URxvt*background: #101010 +!URxvt*background: black +URxvt*scrollBar: false + + +!*background: #000000 +!*foreground: #d9e6f2 +! +!! special +!*.foreground: #d3ddd2 +!*.background: #050605 +!*.cursorColor: #d3ddd2 +! +!! black +!*.color0: #0a0b0a +!*.color8: #90bae7 +! +!! red +!*.color1: #161716 +!*.color9: #9fc4ee +! +!! green +!*.color2: #272927 +!*.color10: #e2ace9 +! +!! yellow +!*.color3: #3e423e +!*.color11: #e8c269 +! +!! blue +!*.color4: #5c615c +!*.color12: #b4985b +! +!! magenta +!*.color5: #818780 +!*.color13: #e7758a +! +!! cyan +!*.color6: #abb3aa +!*.color14: #d189d9 +! +!! white +!*.color7: #dce5db +!*.color15: #7ec46e diff --git a/x-crap/.xinitrc b/x-crap/.xinitrc new file mode 100644 index 0000000..d9d8cc9 --- /dev/null +++ b/x-crap/.xinitrc @@ -0,0 +1,18 @@ +nitrogen --restore + +xmodmap ~/.Xflippermap + +#export LIBGL_ALWAYS_SOFTWARE=1 + +xrdb ~/.Xresources +LC_ALL=en_US.utf8 +LANG=en_US.utf8 + +#xset -b # Disable the system bell + +#xrandr --dpi 96 & + +autocutsel & +#xscreensaver -no-splash & + +exec i3