summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorCullum Smith <cullum@sacredheartsc.com>2024-08-02 22:13:57 -0400
committerCullum Smith <cullum@sacredheartsc.com>2024-08-02 22:13:57 -0400
commit3bad8f5d64170ab0ed582a37838e120bec87fb90 (patch)
treeaebe3af0b9f2020533f2e8b7e9d1607923ee400c /x11
parent9df360b86c31398348e66ef9c3dc77b2d84ff3bd (diff)
downloaddotfiles-3bad8f5d64170ab0ed582a37838e120bec87fb90.tar.gz
add x11 and i3 stuff
Diffstat (limited to 'x11')
-rw-r--r--x11/.Xresources66
-rw-r--r--x11/.xinitrc24
-rw-r--r--x11/.xsession4
3 files changed, 94 insertions, 0 deletions
diff --git a/x11/.Xresources b/x11/.Xresources
new file mode 100644
index 0000000..bfac7a0
--- /dev/null
+++ b/x11/.Xresources
@@ -0,0 +1,66 @@
+#ifndef FONT
+#define FONT -xos4-terminus-medium-r-normal-*-12-*-*-*-*-*-iso10646-*
+#endif
+
+#ifndef XFT_FONT
+#define XFT_FONT Terminus:pixelsize=12:encoding=iso10646
+#endif
+
+#ifndef DPI
+#define DPI 96
+#endif
+
+Xft.dpi: DPI
+Xft.autohint: 0
+Xft.lcdfilter: lcddefault
+Xft.hintstyle: hintslight
+Xft.hinting: 1
+Xft.antialias: 1
+Xft.rgba: rgb
+
+*font: FONT
+i3wm.xft_font: XFT_FONT
+
+! zenburn
+XTerm*background: #3a3a3a
+XTerm*foreground: #dcdccc
+XTerm*cursorColor: #ffffff
+XTerm*colorUL: #366060
+XTerm*underlineColor: #dfaf8f
+XTerm*color0: #1e2320
+XTerm*color1: #d78787
+XTerm*color2: #60b48a
+XTerm*color3: #dfaf8f
+XTerm*color4: #506070
+XTerm*color5: #dc8cc3
+XTerm*color6: #8cd0d3
+XTerm*color7: #dcdccc
+XTerm*color8: #709080
+XTerm*color9: #dca3a3
+XTerm*color10: #c3bf9f
+XTerm*color11: #f0dfaf
+XTerm*color12: #94bff3
+XTerm*color13: #ec93d3
+XTerm*color14: #93e0e3
+XTerm*color15: #ffffff
+XTerm*borderWidth: 0
+XTerm*internalBorder: 2
+XTerm*termName: xterm-256color
+XTerm*utf8: true
+XTerm*vt100.utf8: true
+XTerm*vt100.locale: false
+XTerm*vt100.metaSendsEscape: true
+XTerm*vt100.saveLines: 10240
+XTerm*vt100.scrollBar: false
+XTerm*vt100.bellIsUrgent: true
+XTerm*vt100.translations: #override \
+ Ctrl Shift <Key>V: insert-selection(CLIPBOARD) \n\
+ Ctrl Shift <Key>C: copy-selection(CLIPBOARD)
+XTerm*allowBoldFonts: false
+XTerm*scrollKey: true
+XTerm*scrollTtyOutput: false
+XTerm*fullscreen: never
+XTerm*cutToBeginningOfLine: false
+XTerm*charClass: 33:48,36-47:48,58-59:48,61:48,63-64:48,95:48,126:48
+XTerm*on2Clicks: word
+XTerm*on3Clicks: line
diff --git a/x11/.xinitrc b/x11/.xinitrc
new file mode 100644
index 0000000..5a1c4fc
--- /dev/null
+++ b/x11/.xinitrc
@@ -0,0 +1,24 @@
+#!/bin/sh
+
+dpi=96
+bg_color=696969
+font_size=12
+xidle_timeout=900
+
+case $(hostname -s) in
+ rlaptop1)
+ font_size=16
+ ;;
+esac
+
+font="-xos4-terminus-medium-r-normal-*-${font_size}-*-*-*-*-*-iso10646-*"
+xft_font="Terminus:pixelslize=${font_size}:encoding=iso10646"
+
+xrdb -DDPI="$dpi" -DFONT="$font" -DXFT_FONT="$xft_font" -merge "${HOME}/.Xresources"
+xsetroot -solid "#${bg_color}"
+xset b off
+setxkbmap -option ctrl:nocaps
+xidle -program "$(which i3lock) -e -c ${bg_color}" -timeout "$xidle_timeout" &
+sudo -n networkmgr &
+
+exec i3
diff --git a/x11/.xsession b/x11/.xsession
new file mode 100644
index 0000000..25bc758
--- /dev/null
+++ b/x11/.xsession
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+. "${HOME}/.profile"
+. "${HOME}/.xinitrc"