Compare commits

..

18 commits

Author SHA1 Message Date
Truck, Lime Version
82ae7c0747 Update tmux and zshrc to 2021 defaults 2021-04-18 16:50:19 +00:00
Andrew Holland
bf4c2c056b This config is for ancient ubuntu/debian/etc with tmux 1.8 2018-06-12 10:42:52 +00:00
Howland Owl
b890c26ec7 Update aliases; fix mktruckdir 2018-02-26 16:30:36 +02:00
Andrew Holland
90bc6fe551 Change to powerlevel-9k and set it up 2018-02-21 18:37:28 +00:00
Howland Owl
a8d6c1c7b8 Let's use _random_ data, not FIXED, for the random seed 2018-01-17 14:11:48 +02:00
Andrew Holland
1bee0c0491 fix emacs tramp hanging 2018-01-09 14:22:07 +02:00
Werky McWerkness
86c793d780 change the prompt so we don't have to change it everytime 2018-01-09 13:44:14 +02:00
HELLO I REQUIRE CHANGING
ad6acc0dc8 some changes to zgen, apparently. 2017-04-28 12:12:19 +03:00
HELLO I REQUIRE CHANGING
1c4a2f7527 init powerline with some useful additional options 2017-04-28 12:11:42 +03:00
HELLO I REQUIRE CHANGING
8b874e6e3e Alter the zshrc to load powerline from initscript 2017-04-28 12:11:10 +03:00
HELLO I REQUIRE CHANGING
a5e19b0898 git config, including the 'tree' commands I like 2017-04-28 12:10:42 +03:00
Andrew Holland
b00aa2ba0a A few useful alias additions 2017-04-28 12:10:34 +03:00
Andrew Holland
afe19f9172 banga-powerline init portions 2017-04-05 05:45:14 +03:00
Sir Garbagetruck
9381a0966c Add the .mg file with auto-fix for bs-del 2017-03-17 17:50:01 +02:00
Howland Owl
66166e0b1b check for st's terminfo if we're set to st and alter to xterm if missing 2016-10-25 09:10:20 +03:00
Howland Owl
4c60f54aa1 conditional xset - we won't really have this on a server (but leave option) 2016-10-23 13:48:08 +03:00
Howland Owl
7b777890c6 git config (for the tree) 2016-10-23 13:14:20 +03:00
Darth Joulupukki
f6a53409f2 Remove files that, in a server setup, make no sense. 2016-10-23 12:57:55 +03:00
1047 changed files with 120 additions and 631 deletions

3
.gitignore vendored
View file

@ -1,3 +0,0 @@
*~
st
fixscreens.sh

6
.gitmodules vendored
View file

@ -4,9 +4,3 @@
[submodule "tmuxcompose"]
path = tmuxcompose
url = https://github.com/truck/tmuxcompose
[submodule "fonts/codeface"]
path = fonts/codeface
url = https://github.com/chrissimpkins/codeface
[submodule "powerline-shell"]
path = powerline-shell
url = https://github.com/banga/powerline-shell.git

View file

@ -1,4 +0,0 @@
#!/bin/zsh
F=`dmenu -l 18 -fn 'Px437_ATI_SmallW_6x8 NF:style=Book:pixelsize=16:antialias=true' < ~/bin/nflist`
C=`ls ~/bin/st* |dmenu -l 8 -fn 'Px437_ATI_SmallW_6x8 NF:style=Book:pixelsize=16:antialias=true'`
${C} -f "${F}"

View file

@ -1,8 +1,5 @@
HOME version (not server)
---
Stuff.
Stuff I use, which I continue to update
Stuff I use, which I continue to update
* and then have to recreate on another box
* or have to copy from the work box
* or all sorts of similar loss of time/debugging.

25
aliases
View file

@ -1,30 +1,15 @@
ruler() { for s in '....^....|' '1234567890'; do w=${#s}; str=$( for (( i=1; $i<=$((($COLUMNS + $w) / $w )) ; i=$i+1 )); do echo -n $s; done ); str=$(echo $str | cut -c -$COLUMNS) ; echo $str; done; }
surftabbednoads() {
http_proxy=192.168.42.5:8118 tabbed -r2 surf -e -a@Aa -BDfg
}
surftabbed() {
tabbed -r2 surf -e -a@Aa -BDfg
}
mktruckdir() {
sudo mkdir ${1}
sudo chown truck:truck ${1}
}
shitwin() {
xfreerdp2 /u:"Andrew Holland" +clipboard /jpeg /size:1918x1044 /v:192.168.1.92 /bpp:32
}
firewall-ssh() {
badssh -oKexAlgorithms=+diffie-hellman-group1-sha1 ntcadmin@77.86.234.126
USER=$(whoami)
sudo mkdir ${1}
sudo chown ${USER}:${USER} ${1}
}
randmac() {
dd if=/dev/urandom bs=4096 count=1 2>/dev/null | sha1sum|sed 's/^\(..\)\(..\)\(..\)\(..\)\(..\).*$/02:\1:\2:\3:\4:\5/'
dd status=none if=/dev/urandom bs=1k count=42|md5sum|sed 's/^\(..\)\(..\)\(..\)\(..\)\(..\).*$/02:\1:\2:\3:\4:\5/'
}
randmacxen() {
dd if=/dev/urandom bs=4096 count=1 2>/dev/null | sha1sum| sed 's/^\(..\)\(..\)\(..\).*$/00:16:3E:\1:\2:\3'/
dd status=none if=/dev/urandom bs=1k count=42|md5sum|sed 's/^\(..\)\(..\)\(..\).*$/00:16:3E:\1:\2:\3'/
}

View file

@ -1,2 +0,0 @@
#!/bin/zsh
~/bin/amigaterm2.sh 10 navy 80 orange green $@

View file

@ -1,34 +0,0 @@
#!/bin/zsh
# help shit
if [[ $1 == '-h' ]]; then
echo Help: $0 fontsize tintcolor fadepercent fadecolor cursorcolor extrashit
else
#TP="TopazPlus a600a1200a4000 for Powerline-$1"
TP="xft:TopazPlus a500a1000a2000 for Powerline-${1}:antialias=false,xft:Symbola-${1}:antialias=false"
PN="xft:P0T\-NOoDLE for Powerline-${1}"
MS="xft:mOsOul for Powerline-${1}"
MK="xft:MicroKnightPlus for Powerline-${1}"
TINTCOLOR=$2
FADEPERCENT=$3
FADECOLOR=$4
CURSORCOLOR=$5
# get rid of these arguments so we can do the rest at the end
shift 5
echo urxvtc -fn \"${TP}\" -fi "${PN}" -fb \"${MS}\" -fbi \"${MK}\" \
-tint \"${TINTCOLOR}\" -fade \"${FADEPERCENT}\" \
-fadecolor \"${FADECOLOR}\" -cr \"${CURSORCOLOR}\" \
-rv -tr -sb -sr -g 80x24 +is -tn \"xterm-256color\" $@
urxvtc -fn "${TP}" -fi "${PN}" -fb "${MS}" -fbi "${MK}" \
-tint "${TINTCOLOR}" -fade "${FADEPERCENT}" \
-fadecolor "${FADECOLOR}" -cr "${CURSORCOLOR}" \
-rv -tr -sb -sr -g 80x24 +is -tn "xterm-256color" $@
if [[ $? != 0 ]]; then
urxvtd -f -o
urxvtc -fn "${TP}" -fi "${PN}" -fb "${MS}" -fbi "${MK}" \
-tint "${TINTCOLOR}" -fade "${FADEPERCENT}" \
-fadecolor "${FADECOLOR}" -cr "${CURSORCOLOR}" \
-rv -tr -sb -sr -g 80x24 +is -tn "xterm-256color" $@
fi
fi

View file

@ -1,34 +0,0 @@
#!/bin/zsh
# help shit
if [[ $1 == '-h' ]]; then
echo Help: $0 fontsize tintcolor fadepercent fadecolor cursorcolor extrashit
else
#TP="xft:TopazPlus a600a1200a4000-$1"
TP="xft:TopazPlus a600a1200a4000-$1:antialias=false"
PN="xft:P0T\-NOoDLE-$1"
MS="xft:mOsOul-$1"
MK="xft:Microknight-$1"
TINTCOLOR=$2
FADEPERCENT=$3
FADECOLOR=$4
CURSORCOLOR=$5
# get rid of these arguments so we can do the rest at the end
shift 5
echo urxvtc -fn "$TP" -fi "$PN" -fb "$MS" -fbi "$MK" \
-tint "$TINTCOLOR" -fade "$FADEPERCENT" \
-fadecolor "$FADECOLOR" -cr "$CURSORCOLOR" \
-rv -tr -sb -sr -g 80x24 +is -tn "xterm-256color" $@
urxvtc -fn "$TP" -fi "$PN" -fb "$MS" -fbi "$MK" \
-tint "$TINTCOLOR" -fade "$FADEPERCENT" \
-fadecolor "$FADECOLOR" -cr "$CURSORCOLOR" \
-rv -tr -sb -sr -g 80x24 +is -tn "xterm-256color" $@
if [[ $? != 0 ]]; then
urxvtd -f -o
urxvtc -fn "$TP" -fi "$PN" -fb "$MS" -fbi "$MK" \
-tint "$TINTCOLOR" -fade "$FADEPERCENT" \
-fadecolor "$FADECOLOR" -cr "$CURSORCOLOR" \
-rv -tr -sb -sr -g 80x24 +is -tn "xterm-256color" $@
fi
fi

3
badssh
View file

@ -1,3 +0,0 @@
#!/bin/zsh
ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no "${@}"

View file

@ -1,5 +0,0 @@
urxvtc -fn "xft:TopazPlus a600a1200a4000-:antialias=false" \
-fi "xft:P0T\-NOoDLE" -fb "xft:mOsOul" -fbi "xft:Microknight" \
+is -fg black \
-bg lightgrey \
-cr orange

View file

@ -1,5 +0,0 @@
urxvtc -fn "xft:TopazPlus a600a1200a4000-:antialias=false" \
-fi "xft:P0T\-NOoDLE" -fb "xft:mOsOul" -fbi "xft:Microknight" \
+is -fg yellow \
-bg navy \
-cr firebrick

View file

@ -1,6 +0,0 @@
#!/bin/zsh
while true; do
# feh --bg-scale -z --no-xinerama ~/DB-triple-7680x1600
feh --bg-fill -z --no-xinerama ~/DB-triple-7680x1600
sleep 1h
done

View file

@ -1,5 +0,0 @@
#!/bin/zsh
cd /tmp/
curl -o resolv.conf -L "https://api.opennicproject.org/geoip/?resolv&ipv=4"
sudo mv resolv.conf /etc/

Binary file not shown.

View file

@ -1,16 +0,0 @@
Envy Code R (coding font) preview #7.2
======================================
Envy Code R is a fully-scalable monospaced font designed for programming and command prompts.
There are three variants including in the archive - Regular, Bold and Italic. A large number of additional symbols outside the ASCII range and provided which covers most of the Windows/ISO 1252 codepage, MacOS Roman and a number of other Central European pages.
This archive also contains a folder named 'Visual Studio Italics-as-bold' which contains the Regular and Italic fonts again with an alternate name of 'Envy Code R VS' and with the Italic variant set to identify itself as bold. This allows you to utilise italics within Visual Studio's syntax highlighter by choosing bold everywhere you want italics - great for comments or strings!
If you wish to use Envy Code R as a font for your Windows Command Prompt run the included .reg registry file and reboot, then choose Properties from the Command Prompt to set it.
Please send feedback to damien@envytech.co.uk and be sure to visit http://damieng.com/fonts/envy-code-r for updates and more information.
[)amien
Damien Guard, May 2008.
Copyright © 2006-2008 Envy Technologies Ltd. Free to use but redistribution prohibited.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show more