Compare commits

..

79 commits
master ... home

Author SHA1 Message Date
Second Stage Gnome 32 Giggy
fa7b1f6b76 Remove powerline; use smart mode line instead 2021-05-23 18:00:55 +03:00
Sir 2nd Stage Boss Garbagetruck
041afcbee3 3 things for running in sway. For i3, change? 2021-01-31 03:00:29 +02:00
Sir 2nd Stage Boss Garbagetruck
5dedfd1262 Sort fonts and a script to run foot (for sway) using it. 2021-01-31 03:00:09 +02:00
Sir 2nd Stage Boss Garbagetruck
23f4721ece Changes for some items.
- emacs config for fonts wasn't working without custom, for some
 reason.
2021-01-31 02:58:47 +02:00
Sir 2nd Stage Boss Garbagetruck
7ced498c15 Remove all the fonts and the unused old scripts.
- fonts got unwieldy in this repo.
 - Plus they got old,
 or at least the powerline patches needed to be changed...
2021-01-31 02:18:12 +02:00
377b414782 Merge branch 'emacco' of truck/mahbinstuff into home 2020-07-19 23:01:42 +00:00
ba00d46fb3 Correct various issues with starting from a blank emacs setup. 2020-07-19 22:58:41 +00:00
Howland Owl
adf457ae9c Add missing tmux plugin manager install note 2020-05-07 00:18:12 +03:00
Howland Owl
d8ff7238cc Need a picker for alacritty; needs alacritty and configs. 2020-05-06 04:25:51 +03:00
Howland Owl
3b2cf72a1c we really do want monoOne. Stop losing it. 2020-05-06 04:14:47 +03:00
Howland Owl
a129d4a661 not sure how this nflist change was not merged 2020-05-06 04:08:45 +03:00
Howland Owl
5538b31e40 Fonts! yes. more fonts. 2020-05-06 04:04:19 +03:00
Howland Owl
210d2f2288 Merge branch 'localhome' into home 2020-05-06 03:45:19 +03:00
Howland Owl
4d417ee8f9 nflist changes 2020-05-06 03:44:03 +03:00
Howland Owl
0774539bca Some font replacements 2020-05-06 03:35:58 +03:00
Howland Owl
997bd6440f Update tmux.conf 2020-05-06 03:33:10 +03:00
Howland Owl
198633e3b5 Merge branch 'home' into localhome 2020-05-06 03:32:09 +03:00
Howland Owl
231d4649e5 Remove codeface (again?)
-Trying to clean this up
2020-05-06 03:30:26 +03:00
Howland Owl
96f5f40339 Merge remote-tracking branch 'mistertee/home' into home 2020-05-06 03:23:19 +03:00
Howland Owl
9b4666b845 Remove the extra Amiga fonts from repo 2020-05-06 03:18:27 +03:00
Howland Owl
295616a6c3 tmux theme; have zgen point at master 2020-05-06 03:10:34 +03:00
Howland Owl
d944eb1293 Some additional launcher scripts 2020-05-06 03:09:23 +03:00
Sir Garbagetruck 🚚
9e61be69aa A small change (fix backtick to modern $( ) ) 2020-01-01 21:10:56 +02:00
Sir Garbagetruck 🚚
76816d7338 update zgen to latest 2020-01-01 21:10:48 +02:00
Sir Garbagetruck 🚚
9852289933 Remove codeface; we don't use these fonts basically 2020-01-01 21:10:24 +02:00
Sir Garbagetruck
de063e2ed0 Some changes for powerline10k, tmux plugin, emacs cleanup. 2020-01-01 21:09:23 +02:00
||::: 7r_c/
be572003d6 add giana and c64 related fonts 2018-09-02 11:55:47 +03:00
||::: 7r_c/
199fe20297 Add nice c64 related fonts (geos) 2018-09-02 11:54:26 +03:00
||::: 7r_c/
73ef134394 Various fonts from the arch box (c64, Geos, Earthbound...) 2018-09-02 11:34:25 +03:00
Howland Owl
2485b0d2d6 New tmux config.
- needs tmux plugins from https://github.com/tmux-plugins/tpm
2018-06-16 15:30:22 +03:00
Howland Owl
b88eb58d22 allow launching with python2 (from env) 2018-06-16 15:29:53 +03:00
Howland Owl
8f3148cf04 Better startup (and better terminal mode) 2018-06-16 13:52:48 +03:00
Sir GarbageTrUbwzck
3501226351 Changes to prompt (powerlevel9k) 2018-06-09 10:12:17 +03:00
Andrew Holland
eb82858d27 Merge branch 'home' of https://gitlabrador.amigadns.com/truck/mahbinstuff into home 2018-01-09 14:20:52 +02:00
Andrew Holland
255a2e9996 fix 'hang' issue with emacs tramp. 2018-01-09 14:19:42 +02:00
Howland Owl
ef5e689006 Better emacs init. (menubar "fix" and initial color bits.) 2017-11-17 12:12:57 +02:00
Howland Owl
e6ce109cb8 Add tramp-compatible startup. 2017-11-17 12:10:40 +02:00
Andrew Holland
9543987cd0 Include the unicode setup. 2017-10-23 10:50:15 +03:00
Andrew Holland
2b201b3152 some variables (helps i3 in some cases) 2017-10-23 10:49:45 +03:00
Andrew Holland
3cc408a8ec Quick terminal (random) 2017-10-23 10:49:23 +03:00
Andrew Holland
6e02b87a43 Quivira font (utf8 support, fairly complete.) 2017-10-20 19:36:43 +03:00
Andrew Holland
245211c6d8 remove too-explicit and retired; fix mktruckdir to be better 2017-10-06 10:59:43 +03:00
Andrew Holland
ba41a4e60a some more color themes to bring in 2017-10-06 10:33:59 +03:00
Andrew Holland
dc06d87a2e Remove the utf8 items that block startup 2017-10-06 10:33:31 +03:00
Andrew Holland
51537fbdd6 remove the utf8 bits that cause issues at each install 2017-10-05 14:06:02 +03:00
Andrew Holland
089dfe56f2 Remove unused/too specific aliases; make mktruckdir more useful 2017-10-05 14:05:24 +03:00
Andrew Holland
f6293286d4 cleanup, did NOT bournify (random) 2017-09-16 01:57:39 +03:00
Andrew Holland
e350a7bd20 more bournification 2017-09-16 01:51:32 +03:00
Andrew Holland
9ef1a8b186 bournified and added write option/default just shows 2017-09-16 01:43:31 +03:00
Andrew Holland
1372e2d20a bournified. Probably could make.. ah sure why not. 2017-09-16 01:31:31 +03:00
Andrew Holland
6ef5ca937a bourneified 2017-09-16 01:25:19 +03:00
Andrew Holland
a686f8631b bournify (yes, I believe the warning should be on the client side.) 2017-09-16 01:21:19 +03:00
Andrew Holland
ccb923d35c I don't use this, and it wasn't working. Seems very duplicated. 2017-09-16 01:19:45 +03:00
Andrew Holland
31d3300f45 bourneify; patch quotes up for echo; fix an unquoted bit.
- now is copy/pasteable for repetition
2017-09-16 01:10:47 +03:00
Andrew Holland
a7b3cb17ac borneify 2017-09-16 00:57:18 +03:00
Andrew Holland
df96d0e066 bourneify and find the directory 2017-09-16 00:46:31 +03:00
Andrew Holland
242c0a2049 works just fine with bourne shell 2017-09-16 00:39:31 +03:00
Andrew Holland
d0bf12961f added some other themes. 2017-09-16 00:38:29 +03:00
Andrew Holland
6a2520ed30 Added badscp and badrsync; and reformatted 2017-09-16 00:36:06 +03:00
Andrew Holland
743a808a48 Update readme 2017-09-15 22:42:32 +03:00
Andrew Holland
8cb8e39128 Emacs 25 has a new inhibit? (Not sure it's just 25.) 2017-09-15 22:42:02 +03:00
Andrew Holland
773ea1efa7 since we often start 'home' after 'server' default to that path 2017-09-15 22:10:21 +03:00
Howland Owl
d7b1e1abb7 Allow ligatures in emacs 2017-08-24 15:26:23 +03:00
Howland Owl
0082f114a3 Fira/Fura fonts for coding ligatures 2017-08-24 15:25:37 +03:00
Howland Owl
c9f139b3ed Add flycheck for on-the-fly syntax check 2017-08-21 17:29:08 +03:00
Howland Owl
3b93f96b74 be sure we actually install yasnippet and company 2017-08-18 18:46:44 +03:00
Howland Owl
32dd75c43d some additional useful emacs bits 2017-08-18 18:41:58 +03:00
Howland Owl
a95a11d2c0 new stuff for powerline 2017-08-18 16:19:03 +03:00
Howland Owl
f39a2ea6df Remove some binaries which are on some machines from being 'dirty' 2017-08-18 16:16:48 +03:00
Howland Owl
d9e70be674 some more sensible fonts for nflist 2017-07-22 19:01:06 +03:00
Howland Owl
554283f19e Merge branch 'home' of gitlabrador.amigadns.com:truck/mahbinstuff into home 2017-07-22 18:52:52 +03:00
Howland Owl
44bb9cbdc3 st-aardbei / st fallback 2017-07-22 18:51:49 +03:00
Howland Owl
34a0fc3ed5 modification for st-aardbei / st 2017-07-22 18:50:36 +03:00
Howland Owl
68f524365d emacs start. probably needs a few more bits. 2017-07-22 18:48:50 +03:00
Howland Owl
c4aa94a3fa modification to use st-aardbei if it exists 2017-07-22 18:46:47 +03:00
Andrew Holland
3528aac9cf some changes to nerd font picking (more fonts) 2017-05-30 12:00:57 +03:00
Andrew Holland
c38107601e Merge branch 'home' of http://gitlabrador.amigadns.com/truck/mahbinstuff into home 2017-05-30 11:47:49 +03:00
Andrew Holland
0c0a669071 3 patched nerdfonts 2017-05-30 11:47:19 +03:00
Sir Garbagetruck (systemd sucks)
58c10ddabd patch amigaterm2 to use nerd fonts 2017-05-27 08:29:47 +03:00
1054 changed files with 744 additions and 285 deletions

5
.gitignore vendored
View file

@ -1,3 +1,6 @@
*~
st
fixscreens.sh
st-*
run-sway.sh
*-local

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 +1,4 @@
#!/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'`
#!/bin/sh
F=$(dmenu -i -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,19 +1,33 @@
HOME version (not server)
---
Stuff.
## Stuff.
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.
DMG's fonts are here also ( http://www.trueschool.se ) - Powerline versions are just patched versions of these.
In the past year, I've used this in 2 different jobs, many different server setups, and tons of home setups. It's been very helpful to have it.
my "randterm" and "amigaterm2" term scripts (urxvt) + a few other term launches (awesome menu/keylaunch)
zshrc bits... now with zgen! \o/
- this generally gets put in ~/bin/ - some bits (like zshrc) needs to be moved to ~ . Fonts to .fonts obviously.
and as I add stuff I may comment...
I have a few scripts (ansible) that use this and set things up, and there are 2 versions:
# server
- includes emacs, git, tmux, and zsh setup things.
- probably need to move the banga-powerline bit in here as well, as I always install it.
- tmux setup will likely change soon to be a combination of mine and gpakosz's very good version.
-- I just can't use his version as is; it is optimized for vi keys, and I do emacs keys. Ctrl-a. (:
- zshrc bits... now with zgen! \o/
# home
The stuff from server, plus:
- X enabled stuff. Terminal launchers, fonts...
- DMG's fonts are here also ( http://www.trueschool.se ) - Powerline versions are just patched versions of these.
- my "randterm" and "amigaterm2" term scripts (urxvt) + a few other term launches (awesome menu/keylaunch)
- similar launchers for st (which I am using more.)

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 if=/dev/urandom bs=4096 count=1 2>/dev/null | sha1sum|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 if=/dev/urandom bs=4096 count=1 2>/dev/null | sha1sum| sed 's/^\(..\)\(..\)\(..\).*$/00:16:3E:\1:\2:\3'/
}

View file

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

View file

@ -1,10 +1,10 @@
#!/bin/zsh
#!/bin/sh
# help shit
if [[ $1 == '-h' ]]; then
echo Help: $0 fontsize tintcolor fadepercent fadecolor cursorcolor extrashit
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"
TP="xft:Topaza500a1000a2000 NF-${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}"
@ -14,21 +14,21 @@ else
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\" $@
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
-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" $@
-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

2
badssh
View file

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

6
bemenu-run-mine Executable file
View file

@ -0,0 +1,6 @@
#!/bin/sh
BEMENU_BACKEND=wayland bemenu-run \
-m -1 \
--fn 'Berkelium 64 16' \
$@

View file

@ -1,5 +1,8 @@
urxvtc -fn "xft:TopazPlus a600a1200a4000-:antialias=false" \
-fi "xft:P0T\-NOoDLE" -fb "xft:mOsOul" -fbi "xft:Microknight" \
+is -fg black \
-bg lightgrey \
-cr orange
#!/bin/sh
urxvtc -fn "xft:Topaza600a1200a400 NF:antialias=true" \
-fi "xft:P0T\-NOoDLE" -fb "xft:mOsOul" -fbi "xft:Microknight" \
+is -fg black \
-bg lightgrey \
-cr orange "$@"

View file

@ -1,5 +1,7 @@
urxvtc -fn "xft:TopazPlus a600a1200a4000-:antialias=false" \
-fi "xft:P0T\-NOoDLE" -fb "xft:mOsOul" -fbi "xft:Microknight" \
+is -fg yellow \
-bg navy \
-cr firebrick
#!/bin/sh
urxvtc -fn "xft:Topaza600a1200a400 NF:antialias=true" \
-fi "xft:P0T\-NOoDLE" -fb "xft:mOsOul" -fbi "xft:Microknight" \
+is -fg yellow \
-bg navy \
-cr firebrick "$@"

View file

@ -1,6 +1,9 @@
#!/bin/zsh
#!/bin/sh
DB=$(find ~/ -name DB-triple-7680x1600 2>>/dev/null);
echo $DB
echo ------
while true; do
# feh --bg-scale -z --no-xinerama ~/DB-triple-7680x1600
feh --bg-fill -z --no-xinerama ~/DB-triple-7680x1600
feh --bg-fill -z --no-xinerama $DB
sleep 1h
done

55
emacs-custom.el Normal file
View file

@ -0,0 +1,55 @@
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(ansi-color-faces-vector
[default default default italic underline success warning error])
'(ansi-color-names-vector
(vector "#c5c8c6" "#cc6666" "#b5bd68" "#f0c674" "#81a2be" "#b294bb" "#8abeb7" "#373b41"))
'(ansi-term-color-vector
[unspecified "#000000" "#ff6c60" "#a8ff60" "#ffffb6" "#96cbfe" "#ff73fd" "#96cbfe" "#b5b3aa"])
'(custom-safe-themes
'("8db4b03b9ae654d4a57804286eb3e332725c84d7cdab38463cb6b97d5762ad26" "50ff65ab3c92ce4758cc6cd10ebb3d6150a0e2da15b751d7fbee3d68bba35a94" "d5b121d69e48e0f2a84c8e4580f0ba230423391a78fcb4001ccb35d02494d79e" "5cd0afd0ca01648e1fff95a7a7f8abec925bd654915153fb39ee8e72a8b56a1f" default))
'(fci-rule-color "#373b41")
'(flycheck-color-mode-line-face-to-color 'mode-line-buffer-id)
'(frame-background-mode 'dark)
'(linum-format "%3i")
'(nrepl-message-colors
'("#336c6c" "#205070" "#0f2050" "#806080" "#401440" "#6c1f1c" "#6b400c" "#23733c"))
'(package-selected-packages
'(roguel-ike helm-unicode unicode-fonts color-theme-sanityinc-tomorrow color-theme-solarized distinguished-theme alect-themes bubbleberry-theme go-snippets company-go cyberpunk-theme dad-joke darkane-theme darkmine-theme helm-themes markdown-mode anti-zenburn-theme helm-tramp magit use-package powerline paradox helm))
'(paradox-github-token t)
'(pdf-view-midnight-colors '("#232333" . "#c7c7c7"))
'(powerline-color1 "#3d3d68")
'(powerline-color2 "#292945")
'(tool-bar-mode nil)
'(vc-annotate-background "#d4d4d4")
'(vc-annotate-color-map
'((20 . "#437c7c")
(40 . "#336c6c")
(60 . "#205070")
(80 . "#2f4070")
(100 . "#1f3060")
(120 . "#0f2050")
(140 . "#a080a0")
(160 . "#806080")
(180 . "#704d70")
(200 . "#603a60")
(220 . "#502750")
(240 . "#401440")
(260 . "#6c1f1c")
(280 . "#935f5c")
(300 . "#834744")
(320 . "#732f2c")
(340 . "#6b400c")
(360 . "#23733c")))
'(vc-annotate-very-old-color "#23733c")
'(warning-suppress-types '((use-package))))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(default ((t (:inherit nil :extend nil :stipple nil :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 164 :width normal :family "FantasqueSansMono NF"))))
'(fixed-pitch ((t (:family "Iosevka")))))

240
emacs-init.el Normal file
View file

@ -0,0 +1,240 @@
(require 'package)
(set-language-environment "UTF-8")
(set-default-coding-systems 'utf-8)
(setq package-enable-at-startup nil)
(setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3")
(add-to-list 'package-archives '("gnu" . "https://elpa.gnu.org/packages/"))
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/"))
(package-initialize)
(unless (package-installed-p 'use-package)
(package-refresh-contents)
(package-install 'gnu-elpa-keyring-update)
(package-install 'use-package))
(setq custom-file "~/.emacs.d/custom.el")
(load custom-file)
(use-package diminish
:ensure t)
(eval-when-compile
(require 'use-package))
(require 'diminish)
(require 'bind-key)
(use-package better-defaults
:ensure t)
;(use-package powerline
; :ensure t
; :config
; (powerline-default-theme)
; :init
; )
(use-package smart-line-mode
:ensure t
)
;; helm
(use-package helm
:ensure t
:bind (("M-x" . helm-M-x)
("C-x C-f" . helm-find-files)
("C-x b" . helm-mini)
("C-x C-d" . helm-browse-project)
)
)
(use-package helm-themes
:ensure t)
(use-package helm-tramp
:ensure t)
(use-package unicode-fonts
:ensure t
:init (unicode-fonts-setup)
)
(use-package company
:ensure t
:init (global-company-mode)
:config
(progn
;; use company for completion
(bind-key [remap completion-at-point] #'company-complete company-mode-map)
(setq company-tooltip-align-annotations t
;; Easy navigation to candidates with M-<n>
company-show-numbers t)
)
:diminish company-mode
)
(use-package company-quickhelp ; Documentation popups for Company
:ensure t
:defer t
:init (add-hook 'global-company-mode-hook #'company-quickhelp-mode))
(use-package flycheck
:ensure t
:defer t
:init (add-hook 'sh-mode-hook 'flycheck-mode)
)
(use-package yasnippet
:ensure t
:init (yas-global-mode 1)
)
(use-package markdown-mode
:ensure t)
(use-package magit
:ensure t
:bind (("C-x g" . magit-status)
)
)
(use-package projectile
:ensure t
:init (projectile-mode +1)
)
(use-package helm-projectile
:ensure t
:init (helm-projectile-on)
)
(use-package helm-ag
:ensure t
:defer t
)
(use-package paradox
:ensure t
:defer t)
(use-package helm-unicode
:ensure t
:defer t)
;; themes
(use-package subatomic256-theme
:ensure t
:defer t
)
(use-package anti-zenburn-theme
:ensure t
:defer t
)
(use-package django-theme
:ensure t
:defer t
)
(use-package paganini-theme
:ensure t
:defer t
)
(use-package cyberpunk-theme
:ensure t
:defer t
)
(use-package cyberpunk-2019-theme
:ensure t
:defer t
)
(use-package grandshell-theme
:ensure t
:defer t
)
(use-package darkmine-theme
:ensure t
:defer t
)
(use-package humanoid-themes
:ensure t
:defer t
)
(use-package birds-of-paradise-plus-theme
:ensure t
:defer t
)
(use-package minsk-theme
:ensure t
:defer t
)
(use-package lush-theme
:ensure t
:defer t
)
;; darkane:
;;https://raw.githubusercontent.com/FelixFortis/emacs-darkane-theme/master/darkane-theme.el
;; stick in ~/.emacs.d
(use-package solarized-theme
:ensure t
:defer t
)
(use-package tron-legacy-theme
:ensure t
:defer t
)
(use-package vs-dark-theme
:ensure t
:defer t
)
(use-package sublime-themes
:ensure t
:defer t
)
(use-package blackboard-theme
:ensure t
:defer t
)
(use-package abyss-theme
:ensure t
:defer t
)
;; rand-theme
(use-package rand-theme
:ensure t
)
(setq rand-theme-wanted '(abyss anti-zenburn birds-of-paradise-plus blackboard cyberpunk-2019 darkane darkmine django humanoid-dark lush minsk paganini subatomic256 fogus graham hickey odersky wilson vs-dark solarized solarized-wombat-dark solarized-gruvbox-dark spolsky ))
;; kill the damned gnu screen
(setq inhibit-startup-screen t)
(if window-system
(rand-theme)
(load-theme 'subatomic256 t)
)
(sml/setup)
; screen size is off for some reason uless this is toggled on and off
(menu-bar-mode)
(menu-bar-mode)

View file

@ -1,5 +1,9 @@
#!/bin/zsh
cd /tmp/
#!/bin/sh
cd /tmp/ || exit 'cd did not work'
curl -o resolv.conf -L "https://api.opennicproject.org/geoip/?resolv&ipv=4"
sudo mv resolv.conf /etc/
if [ "$1" = 'write' ]; then
sudo mv resolv.conf /etc/
else
less resolv.conf
fi

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