aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustine Smithies <justine@smithies.me.uk>2025-11-04 20:30:36 +0000
committerJustine Smithies <justine@smithies.me.uk>2025-11-04 20:30:36 +0000
commitc4a8fcba38698e4924e9e654e56f37de71e2353b (patch)
treed2265f502d994b20282406205fa75dbe48a48de1
parentde28f72dc70e9f0ce45a4836c9e97a2e94c64862 (diff)
Initial commit
-rw-r--r--.Xresources61
-rw-r--r--.mbsyncrc48
-rw-r--r--.msmtprc20
-rw-r--r--.xinitrc59
4 files changed, 188 insertions, 0 deletions
diff --git a/.Xresources b/.Xresources
new file mode 100644
index 0000000..8d7d029
--- /dev/null
+++ b/.Xresources
@@ -0,0 +1,61 @@
+XTerm*termName: xterm-256color
+XTerm*locale: true
+XTerm*highlightSelection: true
+XTerm*trimSelection: true
+XTerm*saveLinew: 4096
+XTerm*scrollBar: false
+XTerm*cursorBlink: true
+XTerm.VT100.utf8: true
+XTerm*allowScrollLock: true
+
+! Xcursor theme
+Xcursor.theme: Adwaita
+Xcursor.size: 24
+
+! Font
+XTerm*faceName: Go Mono Nerd Font Mono
+XTerm*renderFont: true
+XTerm*faceSize: 10
+
+Xft.dpi: 96
+
+!XTerm*keepClipboard: true
+XTerm*selectToClipboard: true
+XTerm*VT100.Translations: #override \n\
+ Ctrl Shift <KeyPress>C: copy-selection(CLIPBOARD) \n\
+ Ctrl Shift <KeyPress>V: insert-selection(CLIPBOARD)
+
+! Clicking a line selects only from the current word forward
+XTerm*cutToBeginningOfLine : false
+! and dont include a trailing newline in the selection!
+XTerm*cutNewline : false
+! Some black magic to change what characters XTerm considers "word delimiters"
+XTerm*charClass : 33:48,36-47:48,58-59:48,61:48,63-64:48,95:48,126:48
+! Select word on two clicks
+XTerm*on2Clicks : word
+! Select whole line on three clicks
+XTerm*on3Clicks : line
+! Select whole group on four clicks
+XTerm*on4Clicks: group
+! Select whole page on five clicks
+XTerm*on5Clicks: page
+
+! Gruvbox theme
+XTerm*background: #262626
+XTerm*foreground: #ebdbb2
+XTerm*color0: #262628
+XTerm*color8: #928374
+XTerm*color1: #CC241D
+XTerm*color9: #fb4934
+XTerm*color2: #98971a
+XTerm*color10: #b8bb26
+XTerm*color3: #FF8F15
+XTerm*color11: #FFAF00
+XTerm*color4: #458588
+XTerm*color12: #83a598
+XTerm*color5: #b16286
+XTerm*color13: #d3869b
+XTerm*color6: #689d6a
+XTerm*color14: #8ec07c
+XTerm*color7: #a89984
+XTerm*color15: #ebdbb2
diff --git a/.mbsyncrc b/.mbsyncrc
new file mode 100644
index 0000000..b36cc0f
--- /dev/null
+++ b/.mbsyncrc
@@ -0,0 +1,48 @@
+IMAPStore gmail-remote
+Host imap.gmail.com
+AuthMechs LOGIN
+User justinesmithies@gmail.com
+PassCmd "pass Email/justinesmithies@gmail.com/app-password"
+TLSType IMAPS
+TLSVersions +1.2
+#SSLType IMAPS
+#SSLVersions TLSv1.2
+
+MaildirStore gmail-local
+Path ~/.mail/gmail/
+Inbox ~/.mail/gmail/INBOX
+Subfolders Verbatim
+
+Channel gmail
+Far :gmail-remote:
+Near :gmail-local:
+Expunge Both
+Create Both
+Remove Both
+Patterns * !"[Gmail]/All Mail" !"[Gmail]/Important" !"[Gmail]/Starred"
+SyncState *
+
+IMAPStore fastmail-remote
+Host imap.fastmail.com
+Port 993
+AuthMechs LOGIN
+User justine@smithies.me.uk
+PassCmd "pass Email/Smithies/app-password"
+TLSType IMAPS
+TLSVersions +1.2
+#SSLType IMAPS
+#SSLVersions TLSv1.2
+
+MaildirStore fastmail-local
+Path ~/.mail/Fastmail/
+Inbox ~/.mail/Fastmail/Inbox
+SubFolders Verbatim
+
+Channel fastmail
+Far :fastmail-remote:
+Near :fastmail-local:
+Patterns *
+Expunge Both
+Create Both
+Remove Both
+SyncState *
diff --git a/.msmtprc b/.msmtprc
new file mode 100644
index 0000000..088b113
--- /dev/null
+++ b/.msmtprc
@@ -0,0 +1,20 @@
+defaults
+tls on
+
+account gmail
+auth on
+host smtp.gmail.com
+port 587
+user justinesmithies@gmail.com
+from justinesmithies@gmail.com
+passwordeval "pass Email/justinesmithies@gmail.com/app-password"
+
+account fastmail
+auth on
+host smtp.fastmail.com
+port 587
+user justine@smithies.me.uk
+from justine@smithies.me.uk
+passwordeval "pass Email/Smithies/app-password"
+
+account default: fastmail
diff --git a/.xinitrc b/.xinitrc
new file mode 100644
index 0000000..18e7773
--- /dev/null
+++ b/.xinitrc
@@ -0,0 +1,59 @@
+#!/bin/sh
+# $OpenBSD: xinitrc.cpp,v 1.14 2022/07/01 20:42:06 naddy Exp $
+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
+
+# Disable console bell
+xset b off
+
+# Setup cursor
+xsetroot -cursor_name left_ptr
+
+autorandr --change
+# xrandr --output HDMI-1 --primary --mode 1920x1080 --output eDP-1 --mode 1920x1080 --right-of HDMI-1
+
+# Load wallpaper
+$HOME/.fehbg &
+
+# If we have private ssh key(s), start ssh-agent and add the key(s)
+if [ -z "$SSH_AGENT_PID" ] && [ -x /usr/bin/ssh-agent ]
+then
+ for k in id_rsa id_ecdsa id_ecdsa_sk id_ed25519 id_ed25519_sk id_dsa
+ do
+ if [ -f "$HOME/.ssh/$k" ]; then
+ eval `ssh-agent -s`
+ ssh-add < /dev/null
+ break
+ fi
+ done
+fi
+
+# Setup keyboard type and languages
+setxkbmap -model pc105 -layout us,gb -option grp:win_space_toggle
+
+# Start picom
+picom -b
+
+# Start herbstluftwm
+# herbstluftwm
+bspwm
+
+if [ "$SSH_AGENT_PID" ]; then
+ ssh-add -D < /dev/null
+ eval `ssh-agent -s -k`
+fi