commit 0891d6e36410adafdfef9e3d0fb6a99834707e3b Author: James Whiteman Date: Mon Jan 10 18:43:31 2022 -0800 Initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..4038e56 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,25 @@ +The MIT License (MIT) +===================== + +Copyright © `2022` `James Whiteman` + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation +files (the “Software”), to deal in the Software without +restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..68551f4 --- /dev/null +++ b/README.md @@ -0,0 +1,9 @@ +# Xresources +Copy to ~/.Xresources +Change permissions to make executable + +# screenrc +Copy to ~/.screenrc + +# vimrc +Copy to ~/.vimrc diff --git a/Xresources b/Xresources new file mode 100755 index 0000000..0e8adff --- /dev/null +++ b/Xresources @@ -0,0 +1,31 @@ +! Dracula Xresources palette +*.foreground: #F8F8F2 +*.background: #282A36 +*.color0: #000000 +*.color8: #4D4D4D +*.color1: #FF5555 +*.color9: #FF6E67 +*.color2: #50FA7B +*.color10: #5AF78E +*.color3: #F1FA8C +*.color11: #F4F99D +*.color4: #BD93F9 +*.color12: #CAA9FA +*.color5: #FF79C6 +*.color13: #FF92D0 +*.color6: #8BE9FD +*.color14: #9AEDFE +*.color7: #BFBFBF +*.color15: #E6E6E6 + +! Use a truetype font and size. +xterm*faceName: Monospace +xterm*faceSize: 14 + +! Increase and decrease font size with CTRL+Plus or CTRL+Minus +! Copy with CTRL+SHIFT+C and paste with CTRL+SHIFT+V. +xterm*vt100.translations: #override \ + Ctrl minus: smaller-vt-font() \n\ + Ctrl plus: larger-vt-font() \n\ + Shift Ctrl C: copy-selection(CLIPBOARD) \n\ + Shift Ctrl V: insert-selection(CLIPBOARD) diff --git a/screenrc b/screenrc new file mode 100644 index 0000000..4faa92f --- /dev/null +++ b/screenrc @@ -0,0 +1,48 @@ +# Remap Ctrl+A to Ctrl+B +escape ^Bb + +# the following two lines give a two-line status, with the current window highlighted +hardstatus alwayslastline +#hardstatus string '%{= kG}[%{G}%H%? %1`%?%{g}][%= %{= kw}%-w%{+b yk} %n*%t%?(%u)%? %{-}%+w %=%{g}][%{B}%m/%d %{W}%C%A%{g}]' +hardstatus string '%{= kG}[%= %{= kw}%-w%{+b yk} %n*%t%?(%u)%? %{-}%+w %=%{g}]' + +# huge scrollback buffer +defscrollback 10000 + +# no welcome message +startup_message off + +# 256 colors +attrcolor b ".I" +termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm' +defbce on + +# Gray color for region borders +caption string "%{03} " + +# Get rid of vertical region borders +rendition so "=" + +# mouse tracking allows to switch region focus by clicking +mousetrack on + +# default windows +screen -t Shell1 1 bash +select 0 +bind c screen 1 # window numbering starts at 1 not 0 +bind 0 select 10 + +# get rid of silly xoff stuff +bind s split + +# navigating regions with Ctrl-arrows +bind h focus left +bind l focus right +bind k focus up +bind j focus down + +# use yuio keys to resize regions +bind y eval "resize -v 80%" +bind u eval "resize -v 20%" +bind i eval "resize -h 80%" +bind o eval "resize -h 20%" diff --git a/vimrc b/vimrc new file mode 100644 index 0000000..cda87c3 --- /dev/null +++ b/vimrc @@ -0,0 +1,2 @@ +set termguicolors +colorscheme desert