From 26ec1fad5f1d9480594b46289d6edba42c3392da Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Sun, 11 Oct 2020 09:20:06 -0400 Subject: [PATCH] minor improvements --- .gitignore | 2 +- init.el | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index bd745b1..34f4cb8 100644 --- a/.gitignore +++ b/.gitignore @@ -41,7 +41,7 @@ mail *.SCORE marks -.*~ +*~ /agent/* # until i get submodules going diff --git a/init.el b/init.el index 66d28bb..6a3fb78 100644 --- a/init.el +++ b/init.el @@ -207,7 +207,8 @@ ;; from its README.md (eval-when-compile (require 'use-package)) - +(use-package use-package-ensure-system-package + :ensure t) ;; Ubiquitous Packages. these could go anywhere actually @@ -1354,6 +1355,7 @@ Go to the next directory based on where the cursor is." (defun variable-pitch-off () (variable-pitch-mode 0)) (add-hook 'yaml-mode-hook 'variable-pitch-off) +(add-hook 'dns-mode-hook 'variable-pitch-off) (defun my-org-face-init() @@ -1581,7 +1583,7 @@ indent yanked text (with prefix arg don't indent)." ;;; znc/erc (defun chirp() (interactive) - (setq vol 50) + (setq vol 20) (when (string= (system-name) "kd") (setq vol 80)) ;; speed is there so i can adjust and make it go slow so it plays long enough to adjust in pavucontrol (start-process-shell-command "ignoreme" nil (format "mpv --speed=1 --no-terminal --vo=null --volume=%d /a/bin/data/bird.mp3" vol))) -- 2.30.2