Merge branch 'master' of git.unbl.ink:secstate/dotfiles
This commit is contained in:
@ -33,11 +33,9 @@ hsetroot -cover $BASEDIR/$date.jpg
|
||||
|
||||
#link slim background to new image
|
||||
SLIM_BG_FILE=/usr/share/slim/themes/default/background.jpg
|
||||
if test -f "$SLIM_BG_FILE"; then
|
||||
echo "Setting Slim background image"
|
||||
rm $SLIM_BG_FILE
|
||||
ln -s $BASEDIR/$date.jpg $SLIM_BG_FILE
|
||||
fi
|
||||
echo "Setting Slim background image"
|
||||
rm $SLIM_BG_FILE
|
||||
cp $BASEDIR/$date.jpg $SLIM_BG_FILE
|
||||
|
||||
SEARX_BG_FILE=/usr/local/lib/python2.7/site-packages/searx/static/themes/courgette/img/bg-body-index.jpg
|
||||
echo "Setting Searx background image"
|
||||
|
||||
16
bin/.bin/nyt
Executable file
16
bin/.bin/nyt
Executable file
@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
BASEDIR="$HOME/var/media/nyt"
|
||||
DATE=$(date +"%Y-%m-%d")
|
||||
TMPFILE=/tmp/nyt.pdf
|
||||
OUTFILE=$BASEDIR/$DATE.jpg
|
||||
|
||||
if test -f "$OUTFILE"; then
|
||||
echo "NYT front page already found. Not downloading."
|
||||
else
|
||||
DATEPATH=$(date +"%Y/%m/%d")
|
||||
curl -o /tmp/nyt.pdf -L https://static01.nyt.com/images/$DATEPATH/nytfrontpage/scan.pdf
|
||||
convert -density 150 -quality 100 $TMPFILE $OUTFILE
|
||||
rm $TMPFILE
|
||||
fi
|
||||
|
||||
sxiv $OUTFILE &
|
||||
@ -1,3 +1,2 @@
|
||||
#!/bin/sh
|
||||
OUTPUT=$(script -c "muchsync mail.local > $(tty)")
|
||||
notify-send "New mail" "$OUTPUT"
|
||||
muchsync mail.local
|
||||
|
||||
@ -182,6 +182,14 @@
|
||||
(find-file +todo-file))
|
||||
|
||||
(setq org-roam-directory "~/var/org/")
|
||||
(setq org-roam-dailies-directory "")
|
||||
|
||||
(setq org-roam-dailies-capture-templates
|
||||
'(("d" "default" entry
|
||||
#'org-roam-capture--get-point
|
||||
"* %?"
|
||||
:file-name "%<%Y-%m-%d>"
|
||||
:head "#+title: %<%Y-%m-%d>\n\n")))
|
||||
|
||||
(setq org-fc-directories "~/var/org/")
|
||||
(require 'org-fc-hydra)
|
||||
@ -268,8 +276,6 @@
|
||||
"gs" "magit-status"
|
||||
"gc" "magit-commit"))
|
||||
|
||||
;(add-hook 'python-mode-hook 'eglot-ensure)
|
||||
|
||||
(after! lsp
|
||||
(setq lsp-file-watch-threshold nil))
|
||||
|
||||
|
||||
@ -251,7 +251,19 @@ I add only two custom mappings to the default org mode maps, a shortcut to my In
|
||||
I am absolutely in love with [[https://org-roam.readthedocs.io/en/develop/][Org-roam]]. Everything about it makes taking notes easier. I just need to level up with Zettels and web publishing of my notes.
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(setq org-roam-directory "~/var/org/")
|
||||
(setq org-roam-dailies-directory "")
|
||||
|
||||
(setq org-roam-dailies-capture-templates
|
||||
'(("d" "default" entry
|
||||
#'org-roam-capture--get-point
|
||||
"* %?"
|
||||
:file-name "%<%Y-%m-%d>"
|
||||
:head "#+title: %<%Y-%m-%d>\n\n")))
|
||||
#+END_SRC
|
||||
|
||||
#+RESULTS:
|
||||
: /
|
||||
|
||||
** Org-fc
|
||||
Trying a new space-repetition framework.
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
@ -359,11 +371,8 @@ Handful of fun aliases to make working in Eshell almost like a /real/ shell :smi
|
||||
"gc" "magit-commit"))
|
||||
#+END_SRC
|
||||
* Coding
|
||||
I once used LSP, but Emacs lsp-mode is flaky as hell. It works sometimes, but other times causes pyls to thrash the CPU. I don't need that, not when Eglot exists. This just makes sure Eglot runs in `python-mode`
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
;(add-hook 'python-mode-hook 'eglot-ensure)
|
||||
#+END_SRC
|
||||
|
||||
LSP doesn't like big projects and I can't blame it. This forces it to index huge
|
||||
projects without warning us everytime.
|
||||
#+begin_src emacs-lisp
|
||||
(after! lsp
|
||||
(setq lsp-file-watch-threshold nil))
|
||||
|
||||
@ -24,6 +24,7 @@
|
||||
;;helm ; the *other* search engine for love and life
|
||||
;;ido ; the other *other* search engine...
|
||||
(ivy ; a search engine for love and life
|
||||
+childframe
|
||||
+fuzzy
|
||||
+icons)
|
||||
|
||||
@ -32,12 +33,13 @@
|
||||
doom ; what makes DOOM look the way it does
|
||||
doom-dashboard ; a nifty splash screen for Emacs
|
||||
doom-quit ; DOOM quit-message prompts when you quit Emacs
|
||||
(emoji +unicode) ;
|
||||
;;fill-column ; a `fill-column' indicator
|
||||
hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW
|
||||
;;hydra
|
||||
;;indent-guides ; highlighted indent columns
|
||||
ligatures ;
|
||||
;minimap ; show a map of the code on the side
|
||||
minimap ; show a map of the code on the side
|
||||
modeline ; snazzy, Atom-inspired modeline, plus API
|
||||
nav-flash ; blink cursor line after big motions
|
||||
;;neotree ; a project drawer, like NERDTree for vim
|
||||
@ -83,7 +85,7 @@
|
||||
|
||||
:checkers
|
||||
syntax ; tasing you for every semicolon you forget
|
||||
spell ; tasing you for misspelling mispelling
|
||||
(spell +flyspell +aspell) ; tasing you for misspelling mispelling
|
||||
grammar ; tasing grammar mistake every you make
|
||||
|
||||
:tools
|
||||
@ -99,10 +101,10 @@
|
||||
+dictionary
|
||||
+docsets)
|
||||
lsp
|
||||
magit ; a git porcelain for Emacs
|
||||
make ; run make tasks from Emacs
|
||||
pass ; password manager for nerds
|
||||
pdf ; pdf enhancements
|
||||
magit ; a git porcelain for Emacs
|
||||
make ; run make tasks from Emacs
|
||||
(pass +auth) ; password manager for nerds
|
||||
pdf ; pdf enhancements
|
||||
;;prodigy ; FIXME managing external services & code builders
|
||||
;;rgb ; creating color strings
|
||||
;;taskrunner ; taskrunner for all your projects
|
||||
@ -120,7 +122,7 @@
|
||||
;;csharp ; unity, .NET, and mono shenanigans
|
||||
data ; config/data formats
|
||||
;;(dart +flutter) ; paint ui and not much else
|
||||
;;elixir ; erlang done right
|
||||
(elixir +lsp) ; erlang done right
|
||||
;;elm ; care for a cup of TEA?
|
||||
emacs-lisp ; drown in parentheses
|
||||
;;erlang ; an elegant language for a more civilized age
|
||||
|
||||
@ -27,14 +27,8 @@
|
||||
:recipe(:host github
|
||||
:repo "alphapapa/matrix-client.el"))
|
||||
|
||||
;(package! eglot)
|
||||
|
||||
;; python stuffs
|
||||
(package! blacken)
|
||||
;;(package! pylint)
|
||||
;;(package! py-isort)
|
||||
;;(package! importmagic)
|
||||
|
||||
|
||||
;; org stuffs
|
||||
(package! ob-http)
|
||||
@ -67,4 +61,3 @@
|
||||
(package! srcery-theme)
|
||||
(package! kaolin-themes)
|
||||
(package! nyan-mode)
|
||||
(package! emojify)
|
||||
|
||||
BIN
fonts/.fonts/scientifica/ttf/scientifica.ttf
Normal file
BIN
fonts/.fonts/scientifica/ttf/scientifica.ttf
Normal file
Binary file not shown.
BIN
fonts/.fonts/scientifica/ttf/scientificaBold.ttf
Normal file
BIN
fonts/.fonts/scientifica/ttf/scientificaBold.ttf
Normal file
Binary file not shown.
BIN
fonts/.fonts/scientifica/ttf/scientificaItalic.ttf
Normal file
BIN
fonts/.fonts/scientifica/ttf/scientificaItalic.ttf
Normal file
Binary file not shown.
@ -68,3 +68,6 @@ Host *.cloud10
|
||||
IdentityFile ~/.ssh/ff_cloud10_rsa
|
||||
ProxyJump bastion.cloud10.15five.com
|
||||
Port 155
|
||||
|
||||
Host penobscotbaypress.com
|
||||
User root
|
||||
|
||||
Reference in New Issue
Block a user