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 new file mode 100644 index 0000000..001a2d5 --- /dev/null +++ b/.pypirc @@ -0,0 +1,12 @@ +[distutils] +index-servers = + pypi + pypitest + +[pypi] +username = jowj + +[pypitest] +repository = https://test.pypi.org/legacy/ +username = jowj + 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.