diff options
author | Timmy Keller <tjk@tjkeller.xyz> | 2022-04-17 10:57:45 -0500 |
---|---|---|
committer | Timmy Keller <tjk@tjkeller.xyz> | 2022-04-17 10:57:45 -0500 |
commit | 51c91732f84707686e92f01d3d6387fba88675bd (patch) | |
tree | 07afd5b34f38d83ced837bb8e7dd66554defe9fc | |
parent | 06b0c7eb739fd430aacbb46f183cea4aaf17300a (diff) | |
download | dotconfig-51c91732f84707686e92f01d3d6387fba88675bd.tar.xz dotconfig-51c91732f84707686e92f01d3d6387fba88675bd.zip |
fixed gitignore file to not work recursively
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | git/config | 3 | ||||
-rw-r--r-- | nvim/syntax/tssg.vim | 46 | ||||
-rwxr-xr-x | x11/Xresources.G3N2 | 7 | ||||
-rwxr-xr-x | x11/xprofile | 8 | ||||
-rwxr-xr-x | zsh/zscripts/!rootcolors.zsh | 3 | ||||
-rwxr-xr-x | zsh/zscripts/hosts/aliasrc.G3N2.zsh | 6 | ||||
-rwxr-xr-x | zsh/zscripts/hosts/aliasrc.librex60.zsh | 7 | ||||
-rwxr-xr-x | zsh/zscripts/hosts/aliasrc.voidx250.zsh | 8 | ||||
-rwxr-xr-x | zsh/zscripts/hosts/colors.G3N2.zsh | 9 |
10 files changed, 98 insertions, 1 deletions
@@ -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 |