From f882c9b2acbe5ebd0cf48f76813554950e45ae5e Mon Sep 17 00:00:00 2001 From: josiah Date: Wed, 28 Apr 2021 16:56:49 -0500 Subject: [PATCH 1/4] Add pypirc. --- .pypirc | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .pypirc diff --git a/.pypirc b/.pypirc new file mode 100644 index 0000000..1e3ea5a --- /dev/null +++ b/.pypirc @@ -0,0 +1,11 @@ +[distutils] +index-servers = + pypi + pypitest + +[pypi] +username: jowj # replace with your PyPI username + +[pypitest] +repository: https://test.pypi.org/legacy/ +username: jowj # replace with your TestPyPI username From a3535ee74c89e47ba4fd5b638aea3dd59883eedd Mon Sep 17 00:00:00 2001 From: josiah Date: Thu, 29 Apr 2021 20:21:26 -0500 Subject: [PATCH 2/4] Update. --- .emacs.d/jlj-org.el | 2 +- .emacs.d/jlj-python.el | 3 +++ .pypirc | 7 ++++--- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.emacs.d/jlj-org.el b/.emacs.d/jlj-org.el index 8795ed7..c61b022 100644 --- a/.emacs.d/jlj-org.el +++ b/.emacs.d/jlj-org.el @@ -108,7 +108,7 @@ ("b" "Book - capture a book you've read" entry (file+olp "~/Sync/Documents/org/webwiki.org" "books") "* %^{TITLE} \n :PROPERTIES:\n:AUTHOR: %^{AUTHOR}\n:GENRE: %^{GENRE}\n:FINISHED: %U \n:END:\n " :empty-lines 1 :prepend t) ("c" "Context-include Todo" entry (file "~/Sync/Documents/org/refile-beorg.org") - "* TODO %?\n%U \n '%a'" :empty-lines 1 :prepend t) + * TODO %?\n%U \n '%a'" :empty-lines 1 :prepend t) ("q" "quotes" entry (file+olp "~/Sync/Documents/org/webwiki.org" "quotes") "* %?\n%U \n " :empty-lines 1 :prepend t) ("t" "Todo" entry (file "~/Sync/Documents/org/refile-beorg.org") diff --git a/.emacs.d/jlj-python.el b/.emacs.d/jlj-python.el index b819051..7d48e7b 100644 --- a/.emacs.d/jlj-python.el +++ b/.emacs.d/jlj-python.el @@ -21,6 +21,9 @@ (use-package flycheck :ensure t) +; helps with LSP, generally. +(yas-global-mode 1) + ; Let's set up company! perhaps not necessary but this is what i like to use (use-package company :ensure t diff --git a/.pypirc b/.pypirc index 1e3ea5a..001a2d5 100644 --- a/.pypirc +++ b/.pypirc @@ -4,8 +4,9 @@ index-servers = pypitest [pypi] -username: jowj # replace with your PyPI username +username = jowj [pypitest] -repository: https://test.pypi.org/legacy/ -username: jowj # replace with your TestPyPI username +repository = https://test.pypi.org/legacy/ +username = jowj + From 27b74286116018a0772e4c73e45a6a0bd1339df7 Mon Sep 17 00:00:00 2001 From: josiah Date: Wed, 5 May 2021 09:40:01 -0500 Subject: [PATCH 3/4] Revert typo. --- .emacs.d/jlj-org.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.emacs.d/jlj-org.el b/.emacs.d/jlj-org.el index c61b022..8795ed7 100644 --- a/.emacs.d/jlj-org.el +++ b/.emacs.d/jlj-org.el @@ -108,7 +108,7 @@ ("b" "Book - capture a book you've read" entry (file+olp "~/Sync/Documents/org/webwiki.org" "books") "* %^{TITLE} \n :PROPERTIES:\n:AUTHOR: %^{AUTHOR}\n:GENRE: %^{GENRE}\n:FINISHED: %U \n:END:\n " :empty-lines 1 :prepend t) ("c" "Context-include Todo" entry (file "~/Sync/Documents/org/refile-beorg.org") - * TODO %?\n%U \n '%a'" :empty-lines 1 :prepend t) + "* TODO %?\n%U \n '%a'" :empty-lines 1 :prepend t) ("q" "quotes" entry (file+olp "~/Sync/Documents/org/webwiki.org" "quotes") "* %?\n%U \n " :empty-lines 1 :prepend t) ("t" "Todo" entry (file "~/Sync/Documents/org/refile-beorg.org") From 921b72bc87427a098fdf1d81a11a0072a3569056 Mon Sep 17 00:00:00 2001 From: josiah Date: Wed, 12 May 2021 11:26:00 -0500 Subject: [PATCH 4/4] setup scrot under stumpwm --- .stumpwm.d/init.lisp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.stumpwm.d/init.lisp b/.stumpwm.d/init.lisp index 9d1bfcc..8cfb232 100644 --- a/.stumpwm.d/init.lisp +++ b/.stumpwm.d/init.lisp @@ -40,8 +40,13 @@ "Start Emacs or switch to it, if it is already running." (run-shell-command "rofi -combi-modi window,drun,ssh -theme purple -font 'hack 10' -show combi")) +(defcommand jlj/scrot () () + "Run scrot!" + (run-shell-command "sleep 0.2 && scrot -s -e 'mv $f ~/Pictures/screenshots/'")) + (define-key *root-map* (kbd "R") "restart-hard") (define-key *top-map* (kbd "M-SPC") "jlj/rofi") +(define-key *top-map* (kbd "C-M-s-S") "jlj/scrot") ;; group management ;;;; note that this is still the hyper key, its just that shift + 1 = !, etc.