Changes for some items.
- emacs config for fonts wasn't working without custom, for some reason.
This commit is contained in:
parent
7ced498c15
commit
23f4721ece
5 changed files with 92 additions and 75 deletions
55
emacs-custom.el
Normal file
55
emacs-custom.el
Normal 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")))))
|
||||
|
|
@ -12,6 +12,9 @@
|
|||
(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)
|
||||
|
||||
|
|
@ -219,65 +222,6 @@
|
|||
;; kill the damned gnu screen
|
||||
(setq inhibit-startup-screen t)
|
||||
|
||||
(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
|
||||
(quote
|
||||
("8db4b03b9ae654d4a57804286eb3e332725c84d7cdab38463cb6b97d5762ad26" "50ff65ab3c92ce4758cc6cd10ebb3d6150a0e2da15b751d7fbee3d68bba35a94" "d5b121d69e48e0f2a84c8e4580f0ba230423391a78fcb4001ccb35d02494d79e" "5cd0afd0ca01648e1fff95a7a7f8abec925bd654915153fb39ee8e72a8b56a1f" default)))
|
||||
'(fci-rule-color "#373b41")
|
||||
'(flycheck-color-mode-line-face-to-color (quote mode-line-buffer-id))
|
||||
'(frame-background-mode (quote dark))
|
||||
'(linum-format "%3i")
|
||||
'(nrepl-message-colors
|
||||
(quote
|
||||
("#336c6c" "#205070" "#0f2050" "#806080" "#401440" "#6c1f1c" "#6b400c" "#23733c")))
|
||||
'(package-selected-packages
|
||||
(quote
|
||||
(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 (quote ("#232333" . "#c7c7c7")))
|
||||
'(powerline-color1 "#3d3d68")
|
||||
'(powerline-color2 "#292945")
|
||||
'(tool-bar-mode nil)
|
||||
'(vc-annotate-background "#d4d4d4")
|
||||
'(vc-annotate-color-map
|
||||
(quote
|
||||
((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"))
|
||||
(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 :stipple nil :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 142 :width normal :foundry "unci" :family "MonofurForPowerline Nerd Font"))))
|
||||
'(fixed-pitch ((t (:family "Iosevka")))))
|
||||
|
||||
|
||||
(if window-system
|
||||
; (load-theme 'anti-zenburn t)
|
||||
|
|
|
|||
|
|
@ -1,12 +1,11 @@
|
|||
#!/bin/sh
|
||||
|
||||
URL=`dmenu -fn 'mOsOul for Powerline-10' -nb navy -nf chartreuse -sb black -sf orange -p "Url>" -l 8 < ~/bin/urllist`
|
||||
URL=$(mybemenu < ~/bin/urllist)
|
||||
if [ $URL ]; then
|
||||
if [ "$URL" = "clipboard" ]; then
|
||||
URL=`xclip -o`
|
||||
URL=$(wl-paste)
|
||||
fi
|
||||
export http_proxy=192.168.42.5:8118
|
||||
tabbed -r2 surf -e -a@Aa -BDfg $URL
|
||||
badwolf ${URL}
|
||||
fi
|
||||
|
||||
|
||||
|
|
|
|||
14
urllist
14
urllist
|
|
@ -1,9 +1,9 @@
|
|||
https://startpage.com
|
||||
https://duckduckgo.com
|
||||
http://gitlabrador.amigadns.com
|
||||
https://search.fuckoffgoogle.net
|
||||
https://mistertee.amigadns.com
|
||||
http://gitea.amigadns.net:3000/
|
||||
https://brutaldon.online
|
||||
https://raining.amigadns.com/
|
||||
https://github.com
|
||||
http://eurasia.nu
|
||||
https://rockpapershotgun.com
|
||||
https://my.safaribooksonline.com
|
||||
http://192.168.42.2/mopidy
|
||||
clipboard
|
||||
http://192.168.42.10/
|
||||
|
||||
|
|
|
|||
29
zshrc
29
zshrc
|
|
@ -1,3 +1,10 @@
|
|||
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
|
||||
# Initialization code that may require console input (password prompts, [y/n]
|
||||
# confirmations, etc.) must go above this block; everything else may go below.
|
||||
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
||||
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||
fi
|
||||
|
||||
[[ $TERM == "dumb" ]] && unsetopt zle && PS1='$ ' && return
|
||||
|
||||
echo "Loading zgen..."
|
||||
|
|
@ -19,11 +26,14 @@ if [[ ${TERM} == st* ]]; then
|
|||
export TERM=xterm-256color
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ ${TERM} == foot ]]; then
|
||||
export TERM=xterm-256color
|
||||
fi
|
||||
|
||||
unsetopt beep
|
||||
bindkey -e
|
||||
export LESS="-X -R -F"
|
||||
alias http='python -m http.server'
|
||||
|
||||
export PATH=$HOME/bin:/usr/local/bin:$PATH
|
||||
export PAGER=most
|
||||
export EDITOR=mg
|
||||
|
|
@ -64,12 +74,9 @@ fi
|
|||
if [[ ${TERM} == linux ]]; then
|
||||
prompt pure
|
||||
else
|
||||
# . ~/bin/powerlevel_vars
|
||||
prompt powerlevel10k
|
||||
fi
|
||||
|
||||
#alias t=todo.sh
|
||||
|
||||
unalias rm
|
||||
unalias mv
|
||||
unalias cp
|
||||
|
|
@ -79,4 +86,16 @@ unalias cp
|
|||
setopt NO_SHARE_HISTORY
|
||||
setopt HIST_EXPIRE_DUPS_FIRST
|
||||
|
||||
cyan pyenv
|
||||
export PYENV_ROOT="$HOME/.pyenv"
|
||||
export PATH="$PYENV_ROOT/bin:$PATH"
|
||||
if command -v pyenv 1>/dev/null 2>&1; then
|
||||
eval "$(pyenv init -)"
|
||||
fi
|
||||
|
||||
|
||||
yellow All Done!
|
||||
|
||||
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue