summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xautorandr/.config/autorandr/postswitch2
-rw-r--r--emacs/.emacs.d/main.el24
-rw-r--r--msmtp/.msmtprc2
-rw-r--r--xresources/.xresources/main10
4 files changed, 25 insertions, 13 deletions
diff --git a/autorandr/.config/autorandr/postswitch b/autorandr/.config/autorandr/postswitch
index ae9f7f8e..97e4217c 100755
--- a/autorandr/.config/autorandr/postswitch
+++ b/autorandr/.config/autorandr/postswitch
@@ -2,7 +2,7 @@
 DPI=96
 case $AUTORANDR_CURRENT_PROFILE in
   ("laptop")
-    DPI=144
+    DPI=157
     nmcli radio wifi on
     ;;
   ("docked")
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index b749a106..619bff2c 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -531,6 +531,7 @@
 ;; ones.
 
 ;; #+BEGIN_SRC emacs-lisp
+(add-to-list 'byte-compile-not-obsolete-funcs #'projectile-global-mode)
 (use-package projectile
   :bind (("s-p" . projectile-switch-project)
          ("C-c C-f" . projectile-find-file)
@@ -593,7 +594,6 @@
 
 (use-package counsel-projectile
   :after (counsel projectile)
-  :bind (("C-c p s s" . counsel-projectile-rg))
   :config (progn
             (counsel-projectile-on)
             (def-projectile-commander-method ?A
@@ -880,7 +880,10 @@
 
 ;; #+BEGIN_SRC emacs-lisp
 (use-package editorconfig
-  :diminish "EC"
+  :diminish editorconfig-mode
+  :init (progn
+          (unless (executable-find "editorconfig")
+            (warn "Missing `editorconfig' executable.")))
   :config (editorconfig-mode 1))
 ;; #+END_SRC
 
@@ -1118,7 +1121,7 @@
 ;; #+BEGIN_SRC emacs-lisp
 (use-package company
   :commands (company-mode)
-  :diminish "Cmpl"
+  :diminish " C"
   :bind* (("C-<tab>" . company-complete))
   :bind  (("TAB" . company-indent-or-complete-common))
   :init (progn
@@ -1933,6 +1936,11 @@ With prefix TO-CURRENT-BUFFER, insert command output into buffer."
 
 
 ;;;;; Programming
+
+(define-hook-helper prog-mode ()
+  :name long-lines
+  (setq-local truncate-lines t))
+
 ;;;;;; flycheck
 
 ;; On-the-fly error checking in programming modes?  Yes please.
@@ -2071,7 +2079,7 @@ With prefix TO-CURRENT-BUFFER, insert command output into buffer."
 ;; let bindings.
 ;; #+BEGIN_SRC emacs-lisp
 (use-package redshank
-  :diminish " Λ"
+  :diminish redshank-mode
   :after (paredit)
   :config (progn
             (add-hook 'lisp-mode-common-hook #'turn-on-redshank-mode)))
@@ -2274,6 +2282,7 @@ With prefix TO-CURRENT-BUFFER, insert command output into buffer."
 ;; #+BEGIN_SRC emacs-lisp
 (use-package js2-refactor
   :after js2-mode
+  :diminish js2-refactor-mode
   :config (progn
             (bind-key "C-k" #'js2r-kill js2-mode-map)
             (add-hook 'js2-mode-hook #'js2-refactor-mode)
@@ -2634,7 +2643,7 @@ Pass ARG to `comint-delchar-or-maybe-eof'."
 (put 'downcase-region 'disabled nil)
 (setq sentence-end-double-space t
       line-move-visual nil)
-(setq-default truncate-lines t)
+(setq-default truncate-lines nil)
 ;; #+END_SRC
 
 ;;;;;; align
@@ -2751,7 +2760,10 @@ Pass ARG to `comint-delchar-or-maybe-eof'."
 ;; #+BEGIN_SRC emacs-lisp
 (use-package beginend
   :config (progn
-            (beginend-setup-all)))
+            (beginend-setup-all)
+            (seq-do (lambda (modepair)
+                      (diminish (cdr modepair)))
+                    beginend-modes)))
 ;; #+END_SRC
 
 ;;;;;; fontawesome
diff --git a/msmtp/.msmtprc b/msmtp/.msmtprc
index 8e55b097..bf67ed1e 100644
--- a/msmtp/.msmtprc
+++ b/msmtp/.msmtprc
@@ -31,7 +31,7 @@ from           alan@satoshipay.io
 user           alan@satoshipay.io
 port           465
 tls_starttls   off
-passwordeval   pass satoshipay/google
+passwordeval   pass satoshipay/google/app-mail
 
 # Set a default account
 account default : personal
diff --git a/xresources/.xresources/main b/xresources/.xresources/main
index a2640f9c..8cbf2683 100644
--- a/xresources/.xresources/main
+++ b/xresources/.xresources/main
@@ -23,17 +23,17 @@ URxvt.scrollTtyKeypress:  true
 URxvt.saveLines:          16384
 URxvt.secondaryScroll:    false
 
-URxvt.font:               xft:monospace:size=10
-URxvt.boldFont:           xft:monospace:bold:size=10
+URxvt.font:               xft:monospace:size=11
+URxvt.boldFont:           xft:monospace:bold:size=11
 URxvt.intensityStyles:    true
 
 URxvt.pointerBlank:       true
 URxvt.pointerBlankDelay:  987654321
 URxvt.letterSpace:        0
 
-Emacs.Font:                         monospace-10
-Emacs.fixed-pitch.attributeFont:    monospace-10
-Emacs.variable-pitch.attributeFont: sans-10
+Emacs.Font:                         monospace-11
+Emacs.fixed-pitch.attributeFont:    monospace-11
+Emacs.variable-pitch.attributeFont: sans-11
 
 ! Local Variables:
 ! compile-command: (concat "xrdb -merge " (shell-quote-argument buffer-file-name))