summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--git/config3
-rw-r--r--nvim/syntax/tssg.vim46
-rwxr-xr-xx11/Xresources.G3N27
-rwxr-xr-xx11/xprofile8
-rwxr-xr-xzsh/zscripts/!rootcolors.zsh3
-rwxr-xr-xzsh/zscripts/hosts/aliasrc.G3N2.zsh6
-rwxr-xr-xzsh/zscripts/hosts/aliasrc.librex60.zsh7
-rwxr-xr-xzsh/zscripts/hosts/aliasrc.voidx250.zsh8
-rwxr-xr-xzsh/zscripts/hosts/colors.G3N2.zsh9
10 files changed, 98 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index f9af640..a142a36 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,4 @@
-*
+/*
!.gitignore
!dunst
!git
diff --git a/git/config b/git/config
new file mode 100644
index 0000000..c9e5139
--- /dev/null
+++ b/git/config
@@ -0,0 +1,3 @@
+[user]
+ email = tjk@tjkeller.xyz
+ name = Timmy Keller
diff --git a/nvim/syntax/tssg.vim b/nvim/syntax/tssg.vim
new file mode 100644
index 0000000..3e17bf3
--- /dev/null
+++ b/nvim/syntax/tssg.vim
@@ -0,0 +1,46 @@
+" Vim syntax file
+" Language: Timmy Static Site Generator Markdown Language
+" Maintainer: tjk@tjkeller.xyz
+" Latest Revision: 27 October 2021
+
+if exists("b:current_syntax")
+ finish
+endif
+
+" Keywords
+syn keyword subCommands href= class= id=
+
+" Matches
+syn match escaped '\\\\\\>'
+syn match escaped '\\\#\>'
+"syn match escaped '\\\{\+'
+"syn match escaped '\\\}\+'
+"syn match braces "\{\>\|\}\>"
+syn match headerStartEnd "\\starthead\>\|\\endhead\>"
+syn match headerElement "\\stylesheet\>\|\\tags\>\|\\title\>\|\\author\>"
+syn match specialCommands "\\n\>\|\\code\>"
+syn match headerCommands "\\h1\>\|\\h2\>\|\\h3\>\|\\h4\>\|\\h5\>\|\\h6\>"
+syn match paragraphCommands "\\p\>"
+syn match linkCommands "\\a\>\|\\img\>"
+syn match listCommands "\\snl\>\|\\sul\>\|\\enl\>\|\\eul\>"
+syn match listitemCommands "\\li\>"
+syn match comments "\#.*\>"
+
+" Regions
+" syn region
+
+" Hightlight Keywords
+let b:current_syntax = "tssg"
+
+hi def link headerStartEnd Type
+hi def link headerElement Type
+hi def link specialCommands Statement
+hi def link headerCommands Statement
+hi def link paragraphCommands Statement
+hi def link linkCommands Statement
+hi def link listCommands Statement
+hi def link listitemCommands Statement
+hi def link subCommands Constant
+hi def link escaped Constant
+hi def link braces Statement
+hi def link comments Comment
diff --git a/x11/Xresources.G3N2 b/x11/Xresources.G3N2
new file mode 100755
index 0000000..3b8a9fe
--- /dev/null
+++ b/x11/Xresources.G3N2
@@ -0,0 +1,7 @@
+Xft.dpi: 144
+
+Xcursor.theme: default
+Xcursor.size: 36
+
+Sxiv.foreground: #bbbbbb
+Sxiv.background: #222222
diff --git a/x11/xprofile b/x11/xprofile
new file mode 100755
index 0000000..9856eaf
--- /dev/null
+++ b/x11/xprofile
@@ -0,0 +1,8 @@
+#!/bin/sh
+xrdb -merge ${XDG_CONFIG_HOME:-$HOME/.config}/x11/Xresources.$(hostname) 2>/dev/null & xrdbpid=$!
+redshift &
+seasonalwallpaper &
+unclutter -noevents &
+xkeyconf &
+xvsync &
+wait $xrdbpid # Wait for xrdb to ensure the WM starts using the correct DPI settings
diff --git a/zsh/zscripts/!rootcolors.zsh b/zsh/zscripts/!rootcolors.zsh
new file mode 100755
index 0000000..6ad30a7
--- /dev/null
+++ b/zsh/zscripts/!rootcolors.zsh
@@ -0,0 +1,3 @@
+#!/usr/bin/env zsh
+
+[ $(id -u) = 0 ] && declare col{br,name,at,host,dir}=red && clear # Clear to get rid of last login message
diff --git a/zsh/zscripts/hosts/aliasrc.G3N2.zsh b/zsh/zscripts/hosts/aliasrc.G3N2.zsh
new file mode 100755
index 0000000..8e8d2a5
--- /dev/null
+++ b/zsh/zscripts/hosts/aliasrc.G3N2.zsh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+# Package Management
+alias \
+ e="sudo emerge" \
+
diff --git a/zsh/zscripts/hosts/aliasrc.librex60.zsh b/zsh/zscripts/hosts/aliasrc.librex60.zsh
new file mode 100755
index 0000000..87f7e08
--- /dev/null
+++ b/zsh/zscripts/hosts/aliasrc.librex60.zsh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+# Package Management
+alias \
+ p="sudo pacman" \
+ pq="sudo pacman -Ss" \
+
diff --git a/zsh/zscripts/hosts/aliasrc.voidx250.zsh b/zsh/zscripts/hosts/aliasrc.voidx250.zsh
new file mode 100755
index 0000000..4681ace
--- /dev/null
+++ b/zsh/zscripts/hosts/aliasrc.voidx250.zsh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+# Replacement programs
+alias \
+ xi="sudo xbps-install" \
+ xq="xbps-query -R --search" \
+ xr="sudo xbps-remove" \
+
diff --git a/zsh/zscripts/hosts/colors.G3N2.zsh b/zsh/zscripts/hosts/colors.G3N2.zsh
new file mode 100755
index 0000000..dee7ed3
--- /dev/null
+++ b/zsh/zscripts/hosts/colors.G3N2.zsh
@@ -0,0 +1,9 @@
+#!/usr/bin/env zsh
+
+if [ -n "$DISPLAY" ]; then
+ declare col{br,at}=57
+ declare col{name,host}=13
+ coldir=129
+else
+ declare col{br,name,at,host,dir}=magenta
+fi