From 5dfaee4cfda9940ddc3509ca696364495d064d3d Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Tue, 31 Mar 2020 12:42:54 -0400 Subject: [PATCH 1/1] scattered updates --- .config/getmail/getmailrc | 2 +- .config/git/config | 2 +- .config/guix/channels.scm | 6 +++--- .config/sway/darrud | 6 +++--- .emacs.d/etc/custom.el | 16 ++++++++-------- .../etc/yasnippet/snippets/latex-mode/subsection | 2 +- .emacs.d/init.el | 5 +++-- .gnupg/gpg-agent.conf | 2 +- 8 files changed, 21 insertions(+), 20 deletions(-) diff --git a/.config/getmail/getmailrc b/.config/getmail/getmailrc index ded16de..363f354 100644 --- a/.config/getmail/getmailrc +++ b/.config/getmail/getmailrc @@ -2,7 +2,7 @@ type = SimplePOP3SSLRetriever server = fencepost.gnu.org username = bandali -password_command = ("gpg", "--no-tty", "-q", "-d", "/home/mab/.passwd/gnu.gpg") +password_command = ("gpg", "--no-tty", "-q", "-d", "/home/bandali/.passwd/gnu.gpg") port = 995 use_apop = True diff --git a/.config/git/config b/.config/git/config index 0277f3e..f9be27e 100644 --- a/.config/git/config +++ b/.config/git/config @@ -53,7 +53,7 @@ # branch=true [github] - user = mabgnu + user = notbandali [sendemail] smtpuser = mab diff --git a/.config/guix/channels.scm b/.config/guix/channels.scm index 1094122..6495ee2 100644 --- a/.config/guix/channels.scm +++ b/.config/guix/channels.scm @@ -1,6 +1,6 @@ (list (channel (name 'guix) ; https://git.savannah.gnu.org/git/guix.git - (url "file:///home/mab/src/git/guix")) + (url "file:///home/bandali/src/git/guix")) (channel - (name 'guix-mab) ; https://git.sr.ht/~bandali/guix-mab - (url "file:///home/mab/src/git/guix-mab"))) + (name 'guix-bandali) ; https://git.sr.ht/~bandali/guix-bandali + (url "file:///home/bandali/src/git/guix-bandali"))) diff --git a/.config/sway/darrud b/.config/sway/darrud index e1fc33c..4821860 100644 --- a/.config/sway/darrud +++ b/.config/sway/darrud @@ -1,7 +1,7 @@ -output HDMI-A-1 res 2560x1440 pos 1920,0 -output eDP-1 pos 0,550 +output HDMI-A-1 res 2560x1440 pos 0,0 +output eDP-1 pos 2560,750 -focus output HDMI-A-1 +# focus output HDMI-A-1 input "1739:31251:DLL07BE:01_06CB:7A13_Touchpad" { dwt enabled diff --git a/.emacs.d/etc/custom.el b/.emacs.d/etc/custom.el index 50e364c..a831542 100644 --- a/.emacs.d/etc/custom.el +++ b/.emacs.d/etc/custom.el @@ -3,11 +3,11 @@ ;; 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. - '(abbrev-file-name "/home/mab/.emacs.d/var/abbrev.el") + '(abbrev-file-name "/home/bandali/.emacs.d/var/abbrev.el") '(auth-sources '("~/.authinfo.gpg")) '(authinfo-hidden "\\(?:client-secret\\|password\\|token\\)") '(auto-revert-verbose nil) - '(auto-save-file-name-transforms '((".*" "/home/mab/.emacs.d/var/auto-save/" t))) + '(auto-save-file-name-transforms '((".*" "/home/bandali/.emacs.d/var/auto-save/" t))) '(backup-by-copying t) '(company-dabbrev-char-regexp "\\sw\\|\\s_\\|[-_]" t) '(company-dabbrev-downcase nil t) @@ -19,7 +19,7 @@ '(display-battery-mode t) '(display-time-mode t) '(dmenu-prompt-string "run: " t) - '(dmenu-save-file "/home/mab/.emacs.d/var/dmenu-items" t) + '(dmenu-save-file "/home/bandali/.emacs.d/var/dmenu-items" t) '(ebdb-gnus-window-configuration '(article (vertical 1.0 @@ -32,7 +32,7 @@ '(ediff-split-window-function 'split-window-horizontally t) '(ediff-window-setup-function 'ediff-setup-windows-plain t) '(epa-pinentry-mode 'loopback) - '(epg-gpg-program "/home/mab/.guix-profile/bin/gpg") + '(epg-gpg-program "/home/bandali/.guix-profile/bin/gpg") '(epg-pinentry-mode 'loopback) '(erc-fill-column 77) '(erc-fill-function 'erc-fill-static) @@ -51,7 +51,7 @@ '(erc-track-position-in-mode-line t) '(erc-track-priority-faces-only 'all) '(erc-track-shorten-function nil) - '(eshell-directory-name "/home/mab/.emacs.d/var/eshell/") + '(eshell-directory-name "/home/bandali/.emacs.d/var/eshell/") '(eshell-hist-ignoredups t) '(eshell-input-filter 'eshell-input-filter-initial-space) '(fci-rule-color "#5B6268") @@ -159,7 +159,7 @@ '(projectile-completion-system 'ivy) '(projectile-mode-line-prefix " proj") '(recentf-max-saved-items 2000) - '(recentf-save-file "/home/mab/.emacs.d/var/recentf-save.el") + '(recentf-save-file "/home/bandali/.emacs.d/var/recentf-save.el") '(require-final-newline t) '(safe-local-variable-values '((tex-main-file . "../thesis.tex") @@ -177,8 +177,8 @@ (eval setq org-latex-prefer-user-labels t) (eval add-hook 'after-save-hook 'org-latex-export-to-latex t t))) '(save-interprogram-paste-before-kill t) - '(save-place-file "/home/mab/.emacs.d/var/save-place.el" t) - '(savehist-file "/home/mab/.emacs.d/var/savehist.el") + '(save-place-file "/home/bandali/.emacs.d/var/save-place.el" t) + '(savehist-file "/home/bandali/.emacs.d/var/savehist.el") '(search-default-mode 'char-fold-to-regexp) '(split-width-threshold 150) '(text-scale-mode-step 1.05) diff --git a/.emacs.d/etc/yasnippet/snippets/latex-mode/subsection b/.emacs.d/etc/yasnippet/snippets/latex-mode/subsection index 043f322..ddfa13d 100644 --- a/.emacs.d/etc/yasnippet/snippets/latex-mode/subsection +++ b/.emacs.d/etc/yasnippet/snippets/latex-mode/subsection @@ -3,6 +3,6 @@ # key: ss # -- \subsection{${1:name}} -\label{subsec:${2:label}} +\label{sec:${2:label}} $0 \ No newline at end of file diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 221a054..1fd13f9 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -891,8 +891,9 @@ around if needed." (bind-keys ("C-c f ." . find-file) + ("C-c f d" . find-name-dired) ("C-c f l" . find-library) - ("C-c f r" . recentf-open-files) + ;; ("C-c f r" . recentf-open-files) ("C-c x" . execute-extended-command)) (comment @@ -1430,7 +1431,7 @@ This function is intended for use with `ivy-ignore-buffers'." (use-package sgml-mode :config - (setq sgml-basic-offset 2)) + (setq sgml-basic-offset 0)) (use-package css-mode :config diff --git a/.gnupg/gpg-agent.conf b/.gnupg/gpg-agent.conf index 477b69e..ba418db 100644 --- a/.gnupg/gpg-agent.conf +++ b/.gnupg/gpg-agent.conf @@ -4,6 +4,6 @@ max-cache-ttl 86400 default-cache-ttl-ssh 43200 max-cache-ttl-ssh 86400 -pinentry-program /home/mab/.guix-profile/bin/pinentry-emacs +pinentry-program /home/bandali/.guix-profile/bin/pinentry-emacs allow-emacs-pinentry allow-loopback-pinentry -- 2.20.1