소스 검색

Merge with prometheus

Colin Powell 3 년 전
부모
커밋
55e856146b

+ 9 - 0
emacs/.config/doom/config.org

@@ -134,6 +134,14 @@ Here we’re going to use Miniflux as a back-end store for our RSS feeds.
 (run-at-time 300 300
              (lambda () (when (= elfeed-curl-queue-active 0)
                           (elfeed-update))))
+;;;;; Database auto-save
+
+  ;; Save elfeed db automatically, because if Emacs crashes or is killed (which happens to me
+  ;; occasionally, especially since I develop packages in a single instance), we'd lose the db
+  ;; updates not saved.
+(unless (cl-loop for timer in timer-idle-list
+                 thereis (equal (aref timer 5) #'elfeed-db-save))
+  (run-with-idle-timer 400 'repeat #'elfeed-db-save))
 #+END_SRC
 
 
@@ -228,6 +236,7 @@ a serif font when I’m writing a lot of words.
            "* TODO %a\n %?\n %i"))
         org-todo-keywords
         '((sequence "TODO(t)" "NEXT(n)" "WAITING(w)" "|" "DONE(d)"))
+        org-fancy-priorities-list '("🅰" "🅱" "🅲" "🅳" "🅴")
         org-modules '(ol-eshell
                       ol-notmuch
                       ob-eval

+ 8 - 1
emacs/.config/doom/custom.el

@@ -9,7 +9,14 @@
  ;; 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.
- '(package-selected-packages '(selectrum)))
+ '(package-selected-packages '(org-fancy-priorities hackernews selectrum))
+ '(when
+      (or
+       (not
+        (boundp 'ansi-term-color-vector))
+       (not
+        (facep
+         (aref ansi-term-color-vector 0))))))
 (custom-set-faces
  ;; custom-set-faces was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.

+ 1 - 0
emacs/.config/doom/packages.el

@@ -22,6 +22,7 @@
 (package! org-web-tools)
 (package! org-snooze)
 (package! org-alert)
+(package! org-fancy-priorities)
 
 ;; handy tools
 (package! w3m)

+ 1 - 1
fish/.config/fish/functions/dj.fish

@@ -1,3 +1,3 @@
 function dj
-	django-admin $argv
+	python manage.py $argv
 end

+ 1 - 1
fish/.config/fish/functions/djsh.fish

@@ -1,4 +1,4 @@
 #!/usr/bin/env fish
 function djsh
-	django-admin shell_plus
+	python manage.py shell_plus
 end

+ 1 - 0
gtk/.config/gtk-3.0/bookmarks

@@ -1,3 +1,4 @@
+file:///media/photos/webcams/weather
 file:///home/powellc/Documents
 file:///home/powellc/Music
 file:///home/powellc/Pictures

+ 1 - 1
gtk/.config/gtk-3.0/settings.ini

@@ -1,5 +1,5 @@
 [Settings]
-gtk-theme-name=Yaru-dark
+gtk-theme-name=Arc
 gtk-icon-theme-name=Yaru
 gtk-font-name=Ubuntu Condensed, 11
 gtk-cursor-theme-name=DMZ-Black

+ 2 - 0
qutebrowser/.config/qutebrowser/autoconfig.yml

@@ -33,6 +33,8 @@ settings:
   content.notifications:
     https://15five.lightning.force.com: true
     https://app.slack.com: true
+    https://askinglot.com: false
+    https://jelly.unbl.ink: true
     https://mailhog.unbl.ink: true
     https://media.unbl.ink: true
   content.register_protocol_handler:

+ 0 - 2
ssh/.ssh/config

@@ -38,8 +38,6 @@ Host tilde.club
   User secstate
   IdentityFile ~/.ssh/powellc
 
-Host bastion0.local
-  User powellc
 Host bastion1.local
   User powellc